Archive for May 29th, 2007

May
29
iled Under (Window Manager, GNOME) by Οὐρανός on 29-05-2007

In the hope of being simple, the window manager for GNOME leaves out many features, and one among those left out is window matching, which was present in its predecessor in GNOME, Sawfish. So, to perform the window matching functions, we need another program, Devil’s Pie.

Devil’s Pie uses s-expressions to Match windows and perform Actions on them. You put the s-expressions in files with names like filename.ds in your ~/.devilspie folder.

Examples:
1. Move GkrellM to the fourth workspace, above all other windows, remove window decorations and skip both the workspace pager and the tasklist.
(if
(matches (application_name) "gkrellm")
(begin
(set_workspace 4)
(above)
(undecorate)
(skip_pager)
(skip_tasklist)
)
)

2. Put the OpenOffice.org splash at the bottom of everything. I like looking at it when the desktop’s blank, but otherwise it’s annoying.

(if
(matches (application_name) "OpenOffice.org")
(begin
(below)
)
)

Those are just examples. Devil’s Pie can do a lot of stuff and just gets better with each release.

Links: