Skip to navigation

Archive for the 'Linux' Category

XEmacs and umlauts — setting the character encoding to UTF-8

Tuesday, May 29th, 2007

XEmacs didn’t display umlauts correctly. I guessed this has something to do with the file encoding (the file displayed correctly in a terminal window with nano or “xemacs -nw”). The grey horizontal bar that separates the main buffer from the minibuffer shows the encoding of the current buffer at the very left. The text in […]

Firefox smart keywords

Friday, May 25th, 2007

A really neat feature, probably unknown to many Firefox users: You can create “smart keywords”. For example, I have defined a smart keyword for a Wikipedia search, so now, when I type into the location bar: wiki: cycle path it searches Wikipedia for that term (and I end up on the Wikpedia entry for segregated […]

How to manually mount a USB stick

Sunday, May 20th, 2007

So far, all USB sticks I plugged into the laptop just automatically got mounted. That is, they just show up on the Xubuntu desktop. Today, for the first time one didn’t. The following line solved this problem: sudo mount -t vfat /dev/sdb1 /mnt (The /dev/sdb1 may be different for your system.) The drive is then […]

Sed example 1

Tuesday, May 1st, 2007

Many things are easiest to learn by looking at examples. I find this to be especially true for sed. Sed stands for “stream editor”, and it is very handy to perform bulk editing of text files. To get started, I refer you to this very nice tutorial. I’m planning to archive some of the small […]

How to use emacs key bindings in Abiword

Thursday, April 26th, 2007

In ~/.AbiSuite/AbiWord.Profile, in the section that describes the scheme you are using (see top of that file for which one that is), add the line: KeyBindings=”emacs”. C-a and C-e seem to work fine, but killing and yanking are a bit off (C-k to end of line does not mean you can yank it back. You […]