Sudo insult mode

Insult mode is a funny sudo feature:  Whenever you enter a wrong password sudo insults you.

For enabling the insult mode open the /etc/sudoers file as root and type “insults” at the end of the ‘Defaults’ line. The tags in the ‘Defaults’ line are comma separated. If there is no ‘Defaults’ in your config just write “Defaults insults” to your /etc/sudoers.

Just enter a wrong password when using sudo and see what happens.

Gnome 3 – Change the message notification duration

Recently at work I updated my box to Ubuntu 11.04. I really couldn’t handle Unity – so I installed Gnome 3… It took some time but now I like it.

I have pidgin installed and every chat message I get shows me a Gnome message notification for a couple of seconds. A nice, useful helper I would say. But I’m at work and some friends of mine have the terrible habit to write a new message for every single word they use. 🙂 When someone is starring at your screen at this time it’s quite uncomfortable…

After googling a bit I couldn’t find any solution to change the duration time of the notification. So I’ve found a solution on my own. I tested this on Ubuntu 11.04 and on my Arch Linux computer at home. Continue reading