Tag: yktools

Touchpad toggle script for Ubuntu

Post image

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:

Read on »

My scripts on GitHub

Finally I got to create a public repository on GitHub for all my public domain utility tools (I had to fiddle quite a while with git filter-branch to extract all the ‘safe for public’ stuff from my home repo).

At the moment the following four scripts are available:

Read on »

Ubuntu/GNOME 3 XML wallpaper creation

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).

Read on »

Ubuntu/GNOME 3 random wallpaper script

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.

Read on »

Watermarking pictures for Picasa Web Albums

Post image

Preface

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.

Read on »

Share