Screenshot Blog

crontab -e 10,30,50 8-17 * * 1-5 import -window root -display :0 ~/screen-`date +%Y-%m-%d-%H-%M`.jpg

Explanation: I read somewhere, some time ago, about the idea to track of what you have done, through screenshots. For this, you can use ImageMagick’s import and a cronjob. In the above cronjob you take a screenshot every 20 minutes, from 8 to 17, Monday to Friday. At the end of the day, you can make yourself a quick review.

Note: if you are planning to publish these images, do not forget to delete the ones with the plans for world domination.

How to start 100 xeyes :).

It’s useful to make practical jokes to work fellows.

sh$ for ((i=0;i<101;i++)); do xeyes & done

Later edit: As the computers are more powerful every year, maybe 1000 xeyes would be more appropiate nowadays.

Changing keyboard layout

Use Romanian layout, with ã mapped to alt_gr + a, â mapped to alt_gr + q, …

sh$ setxkbmap -layout ro us_ro

or, on newer versions of X, try this:

sh$ setxkbmap -layout ro