Skip to navigation

Archive for the 'Linux' Category

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 […]

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: […]

Ubuntu/ Linux: How to permanently turn off the annoying system bell (beep)

Thursday, December 4th, 2008

You know what I mean … that loud loud beep that almost knocks you out whenever you type a non-available keyboard shortcut in Emacs. For immediate relief (this will not persist through a reboot): sudo modprobe -r pcspkr For permanent relief, edit the file /etc/modprobe.d/blacklist and add the line: blacklist pcspkr Addendum On my Lenovo […]

“trash-cli” lets you move files to the trash from the command line (and shell scripts)

Friday, November 28th, 2008

I know hardcore Linuxers use rm for everything and think the trash on a computer is for babies who also like such poo-poo things like the mouse and GUIs. However, I’ve just deleted one too many files using rm from a shell script, especially since I like doing rm -rf on directories … confirming every […]

How to add a custom welcome message to your Xubuntu or Ubuntu login screen

Friday, November 28th, 2008

I like the graphical login screen on my laptop to display my e-mail address. In case I lose the laptop and an honest person finds it, they should at least have the possibility to return it. In the latest versions of Ubuntu or Xubuntu, you can change the welcome message via the settings menu for […]