Devil's Pie is for window matching & acting just like the KDE window actions, except heinously difficult to configure.
You probably want to try wmctrl instead.
The author has apparently abandoned the project.
You can also use xprop to display properties.
- The author seems to have abandoned the project. It isn't on his GitHub.
- Devil's Pie 2
2007-03-04 - 0.14 on (distribution not recorded)
2007-03-04 - 0.14 ∞
Checking out the earlier version because of the dependancy on
glib-2.0 >= 2.9.1
apt-get install libwnck-1_16-devel
Installed and working "fine". Too bad about the stupid Scheme programming.
--debugswitch doesn't seem to work properly.
Configuration is awfully stupid. There should be a sensible language used which is parsed to be turned into that awful Scheme crap. Brackets and quotes really aren't needed for human-readable configuration.
Configuration and testing ∞
To learn about your current-loaded windows, make a file called
~/.devilspie/debug.ds and add:
Window Title: ' RXVT (en_US)'; Application Name: ' RXVT (en_US)'; Geometry: 743x364+588+427
Then I made a
~/.devilspie/rxvt.ds with this text:
(if (is (window_name) " RXVT (en_US)") (maximize))
I kill and then restart devilspie. Then I launch rxvt again. It's maximized automatically.
Other commands I've tried:
(if (is (application_name) " RXVT (en_US)") (begin (set_workspace 2) (maximize) ) )
- x position from the top-left. A larger number moves the window to the right.
y position from the top-left. A larger number moves the window down.
Or you could just set either one or the other. Note that you cannot actually use these one after the other in the
.ds configuration file.
(geometry "100x200") (geometry "+0+50")
- crazy exceptions:
Certain types of windows won't work..
kdialog won't work with devilspie. Something to do with "wintype" except I can't get that to do anything.