Recently I’ve been busy learning the esoteric editor called Vim and figured out my laptop’s touchpad is causing nuisance when you’re working with the keyboard only—which is the whole point of using Vim. At the same time, some programs are nearly unusable without the mouse. In other words, I wanted to be able to switch the touchpad on and off—with the keyboard, of course.
Some laptops have a special key combination for it, but my Dell XPS 13" doesn’t. Ubuntu also provides a switch in the Control Center, but it’s hardly reachable without the mouse:
It’s been a while since I posted about replacing an iMac’s HDD with a solid-state drive (SSD) Samsung 840 EVO, and also about tuning your Ubuntu for it. Once done, you can enjoy the awesome overall responsiveness of your system and instantaneous application startup. And all that at an affordable price.
I already published a script that sets a random image file as desktop wallpaper. It has only one downside: you have to run it every time you want to rotate your wallpaper.
However GNOME since 2.28 allows assigning a slide show as wallpaper by providing an image list in XML format. There you can specify the order and duration for each image. Moreover, you can even define a transition from one image to another.
So I decided to create a simple script that generates an XML file for a given set of images and, optionally, sets that as the current wallpaper. It requires GNOME 3+ or Ubuntu (11.10 or later).
This bash script picks up a random image file (.jpg, .jpeg or .png) from the predefined directory and sets it as wallpaper.
The previous version of the script worked fine with GNOME 2 and Ubuntu 11.04 (and earlier), but after
GConf backend was changed to
dconf in GNOME 3, it stopped working.
Those of you who happen to author pictures and publish them on the Internet, must have thought about being able to claim your authorship for them.
One of the most obvious ways to do that is watermarking pictures by adding your URL, name, copyright and/or copyleft. An average Joe would open his favourite image editor, click the Text tool and write a magnificent message for the generations to come.