Mathematics, philosophy, programming, in-line skating and everything in between. More about me…

My Blog

My Latest Tweets

Follow me on Twitter…
English | Czech
Choose your language. I write in English, but I translate most of my articles to Czech as well. Zvolte si jazyk. Píšu anglicky, ale většinu svých článků překládám i do češtiny.

significātiō: keyboard layout indication done differently

I am used to the US keyboard layout. It’s very convenient for normal work (programming…), but from time to time I write something in Czech and have to switch to the Czech layout. And disasters start happening. With the Czech layout, I am able to produce typos and other mistakes at enviable rate. Most of them happen when I forget which layout is active at the moment. The small text indicator on the GNOME panel can be overlooked too easily.

So I have written a small tool that continuously reminds me of the active layout. significātiō is a small daemon that changes the color of window shadows whenever the keyboard layout is switched. The US layout looks normal…

Windows with the US layout active

…whereas the Czech layout is indicated by eerie red glow :-)

Windows with the Czech layout active

I don’t regard significātiō as a project in its own right; rather as a simple hack. It isn’t very configurable and it expects working D-Bus and Compiz with Window Decoration plug-in. If you decide to use the program, you might need to tinker with the code a little. However, significātiō isn’t limited to indicating Czech layout; you can monitor any layout you want simply by passing an appropriate argument.

Available at my projects website, MIT license.

April 18, MMX — Linux and Projects.

Speak your mind

Allowed HTML tags are a, blockquote, em, code, li, ol, p, pre, strong, ul. Links to other comments in the form “[IV]” or “[4]” are detected automatically.