I know there are some 3rd party scripts to do that allready, but all of them suck.
Reproducible: Didn't try
OS: Linux (i686) release 2.6.31-18-generic
I suspect this might be a dupe of bug 206249 which I reported a while ago. No dev response on the matter so far I am afraid though...
Indeed, this is a duplicate.
*** This bug has been marked as a duplicate of bug 206249 ***