Position active window using xwininfo and wmctrl

Here’s a Python script that attempts to replicate the functionality of the Compiz ‘Put’ plugin (well, the numpad positioning part of it) which allows you to put any active window in any position using keypad bindings. Create a set of commands for each 3×3 grid position with a corresponding keybinding to execute the command. I’m using the Metacity keybinding_commands (use gconf-editor to edit /apps/metacity/keybinding_commands/) and global_keybindings (/apps/metacity/global_keybindings/).

Posted at 8am on 22/09/08 | Filed Under: linux read on

Linux is for…

…geeks, developers, networking, everyone, nerds, losers and bitches, according to Google. Seems about right.

Taking a break from the commercial world and returning to academia means that out goes “Solitaire for Grandmas” and in comes Linux in the shape of Ubuntu.

First off: the hardware in my Thinkpad X60 was all detected correctly, which was nice; the SD card reader worked, as did wireless. I don’t know about Bluetooth or IR as I don’t use either.

Posted at 12pm on 01/10/07 | Filed Under: linux read on

RNA gets curtain call

In what might be the understatement of the year, the scientific director of NHGRI has said of the machinery of the human genome “oh my gosh, this is really complicated”.

Quite! I finally had some time to read the ENCODE report published this month in Nature, along with the updated definition of a gene proposed by Gerstein et al. The project, which has been running for 3 ½ years, has analysed and reported in detail on 1% of the human genome (around 30 Mb), particularly its functional aspects.

Posted at 6am on 05/07/07 | Filed Under: bioinformatics read on

Save your Motorola phonebook to a text file

I can’t imagine many are fans of Motorola’s slow and bloated Mobile PhoneTools. Looking at the functionality offered, it makes using a mobile phone simply for making calls seem an anachronism.

Why can’t we quickly backup the phonebook: name & number? A text file would be fine. Yes, I will type them in again if I lose the phone. No, that doesn’t fill me with dread.

Thankfully, there is a way.

Posted at 11pm on 11/06/07 | Filed Under: mobile, windows read on


Categories