Archive for the ‘Linux’ Category

Ubuntu: Audio Editing

Just a quick note on audio editing under Ubuntu. I just wanted to cut and reassemble different songs. At first I tried Audiacity. Maybe I did not give it enough process priority or I missed some settings, but it kind of lagged and the playback was somewhat indeterministic.  A very well working alternative is Ardour. At Continue reading →

Ubuntu: ASCII Codes

This is how to input ASCII codes in Ubuntu: http://wiki.ubuntuusers.de/Sonderzeichen. Basically use the Alt Gr and Alt Gr + Shift with some keys

Recursively removing .svn folders

I was trying to get rid of all .svn folders in some project of mine. Here is how its done: $ rm -rf `find . -type d -name .svn` Source: http://www.anyexample.com/linux_bsd/bash/recursively_delete__svn_directories.xml

Ubuntu: RDP - Copy & Paste

I was trying to use Ubuntu's build-in RDP client rdesktop to connect to a Windows machine. The login password of the user contained a ASCII code sign. This I was not able to produce. Copy-paste did not work. The a AltGr-key-combinations did not produce the ASCII sign in the client as it did using plain Continue reading →

yes | nohup

I had a script querying me for input (simple returns). It turned out the yes utility was the answer. I used it this way: (yes '' | nohup python install.py > out 2> err) &amp

Compiz: Switch Screens / Outout Shortcut

So, I like to use my keyboard. And one problem I was fighting with was how to set a shortcut to move windows between physical screens (not viewports) quickly. I finally found the setting myself as there seems to be different names to this options in different Compiz versions: http://ubuntuforums.org/showthread.php?t=1588821 http://ubuntuforums.org/showthread.php?t=1140244 For the Ubuntu 11.04 Continue reading →

Ubuntu and NTFS

I installed Ubuntu 11.04 (Natty Narwhal) and I was not able to run binaries from the NTFS partition. The solution was adding information about the mounting to the /etc/fstab manually. After creating the directory /media/data sudo mkdir /media/data I added to following entry to the /etc/fstab: /dev/sda7 /media/data ntfs user,exec,rw 0 0 and everything works Continue reading →

Linux: PDF

A nice tool for playing with PDF files using Linux is the PDF toolkit Pdftk: Pdftk - The PDF Toolkit &nbsp

Linux: SED and GREP and RegEx

Just a little note. When using real regular expressions with grep and sed, meaning some expression using i.e. ? or +, one needs be aware to use the right options: GREP egrep SED sed -r There are other switches and options, but those are enough for me at the moment

Linux commands

I am very forgettable, so I will collect some Linux commands that are useful to me. This is by no means a complete documentation of each command. ls Lists contents of a folder. Example: martin@darkcloud:~$ ls Desktop hs_err_pid2413.log Programs scripts workspace Documents Music Public Templates Downloads Pictures resources Videos Nicer output can be achieved by Continue reading →

Return top
 

Warning: array_filter() [function.array-filter]: The first argument should be an array in /var/www/web41/html/hp_fstyle/wordpress/wp-content/plugins/wordpress-tweaks/tweaks.php on line 650