Trivial desktop customization
I'm currently playing with Devil's Pie, a utility that matches windows and window events to a set of rules similar to Emacs' (yikes! :P) S-expressions.
I installed Devil's Pie on my work desktop (running FC6), thus:
(I have previously organized my desktop with four workspaces: for browsing, remote SSH sessions, remote desktop sessions, and other tasks.) I then created a configuration file:
and invoked Devil's Pie:
Seems pretty straightforward, though there isn't much functionality that I can use. (Then again, my requirement is minimal: I just want to group apps to different workspaces to avoid clutter.) I can then drop Devil's Pie in my X startup script, along with the other startup apps.
I installed Devil's Pie on my work desktop (running FC6), thus:
$ sudo yum install devilspie(I have previously organized my desktop with four workspaces: for browsing, remote SSH sessions, remote desktop sessions, and other tasks.) I then created a configuration file:
$ mkdir .devilspie && vi ~/.devilspie/workspaces.ds
(debug)
(if (is (application_name) "Firefox") (begin maximize (undecorate (set_workspace 1))))
(if (is (application_name) "Terminal") (begin maximize (undecorate (set_workspace 2))))
(if (matches (application_name) "^rdesktop.+") (begin center (maximize (set_workspace 3))))and invoked Devil's Pie:
devilspie -d ~/.devilspie/workspaces.ds &. The (debug) line in the configuration is, heh, for debugging purposes so Devil's Pie will print out events and other information, which I can then later use. Seems pretty straightforward, though there isn't much functionality that I can use. (Then again, my requirement is minimal: I just want to group apps to different workspaces to avoid clutter.) I can then drop Devil's Pie in my X startup script, along with the other startup apps.
Comments
Post a Comment