Archive for the ‘OS’ Category

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 →

Hadoop - Keys and Values

So Keys as well as Values in Hadoop seem a little tricky. Values need to implement the Writable interface Keys need to implement the ComparableWritable not just the Writable interface, otherwise a ClassCastException is thrown Each Key needs to specify the Comparable.compare(...) method carefully, as this is used by Hadoop to group Key-Value-Pairs for the Continue reading →

AS400 Printing Din4 Format

So, here are the settings I am using right now for printing stuff in ignorance of a better solution using a printer emulation (sorry this is German as I do not have an English Client Access version): Datei->Druckerkonfiguration: PDT: nein Datei->Seite einrichten->Ausrichtung: Oberer Rand: 0 (wird auf 1,27 gesetzt sobald man den Dialog neu aufruft; Continue reading →

Ubuntu: Mouse Buttons

Here is a nice tutorial how to bind mouse buttons to keys. I used this on my V220 Logitech mouse. It works seamlessly. http://gaarai.com/2009/02/13/navigate-in-ubuntu-nautilus-using-the-mouse/ For more information about mappings look for the "-text" section in the "man xvkbd" manual pages

AS400 Codepages

OK, as I am from Germany I had trouble finding the right code page when using the iSeries Client Access printer emulation. It turned out that 1252 was the right one. Also the code page for the 5250 emulation would we

Fix Master Boot Record (Win 7)

See this little page: http://www.wintotal.de/tipparchiv/?id=1695 It links to a German web page, sorry

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