Android Gallery app – Pictures order

A few weeks ago I bought a new Android phone, the Samsung Galaxy S2 to be precise. On my old cell I took a lot of pictures and I wanted to transfer them to the new phone. In order to do so, I backed up the camera folder /mnt/sdcard/DCIM/Camera to my computer and afterwards I copied it to the new phone. So far so good.

However, as soon as I looked at the pictures in the Gallery app it occurred to me that they were not chronologically ordered anymore. I found out that the Gallery app is sorting the pictures by the time stamps of the files. During the copy process all the timestamps of the photos have been lost. Continue reading

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.

# vi /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