Skip to navigation

Archive for the 'Linux' Category

How to get Emacs key bindings in Ubuntu

Tuesday, February 16th, 2010

To get the Emacs key bindings (especially, Ctrl-a to go to beginning of line, Ctrl-e to end of line) systemwide, e.g. in Firefox, you use:
gconf-editor
and change the setting desktop → gnome → interface → gtk_key_theme from “Default” to “Emacs”.

Disable pop-up system notification messages in Ubuntu

Thursday, June 11th, 2009

I found the little pop-ups really annoying that show up when I get an icon in the system tray anyway, such as for available software updates.
sudo chmod -x /usr/lib/notification-daemon/notification-daemon

Installing Digikam with fewer dependencies in Xubuntu/ Ubuntu Intrepid

Thursday, February 5th, 2009

If you do
sudo aptitude install digikam
on Intrepid, you will see that aptitude would install loads of KDE packages (Dolphin and Konqueror, yikes). Apparently, this is because aptitude now by default also installs recommended packages as “dependencies”. To avoid this, use the -R flag to aptitude (see also man aptitude):
sudo aptitude install -R digikam
If you prefer [...]

Edimax EW-7318USg and switch to wicd

Sunday, January 11th, 2009

I’ve just bought the Edimax EW-7318USg wireless USB dongle, mainly to use it in corners of the house where the wireless signal is weak. It works fine and does seem to boost the signal.
With network-manager, I found no way to quickly switch between the built-in wireless card and the Edimax. I installed wicd, which uninstalls [...]

Running X apps (like zenity) from crontab (solving “cannot open display” problem)

Friday, January 2nd, 2009

I’ve written a small script that checks whether I have queued mail and that displays a notification icon via “zenity –notification” in case I do. I wanted to run it using ~/.crontab but it wouldn’t run. First, I got error messages from the cron daemon that looked like this:
(zenity:22981): Gtk-WARNING **: cannot open display:
Sure, I [...]