Software >
(on Wikipedia)
https://www.burtonini.com/blog/tag/devilspie.html [ 1 ]
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.
-
See https://www.nongnu.org/devilspie2/ [ 2 ]
-
You can also use xprop to display properties.
--
- The author seems to have abandoned the project. It isn't on his GitHub.
- https://web.archive.org/web/20070704084903/http://wiki.foosel.net/linux/devilspie
-
https://wiki.gnome.org/Projects(2f)DevilsPie.html [ 3 ] [ 4 ]
- Devil's Pie 2
--
-
2007-03-04 - 0.14 on (distribution not recorded)
2007-03-04 - 0.14 ∞
https://www.burtonini.com/computing/devilspie-0.14.tar.gz
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.
- The
--debug
switch 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:
(debug)
Launch devilspie
in a terminal emulator (like xterm). Then run a program to see what happens. When I ran rxvt I could see this text output by devilspie:
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) ) )
- geometry:
(geometry "1x2+3+4")
- width
- height
- 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.
Example:
(geometry "100x200+0+50")
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.
Resources ∞
-
using devilspie to create a background terminal [ 6 ]
- Doesn't work for me, but I get the point.
Last updated 2024-12-25 at 17:09:29
Footnotes
- was http://www.burtonini.com/blog/computers/devilspie [ ↩ ]
- was https://www.gusnan.se/devilspie2/ [ ↩ ]
- was https://wiki.gnome.org/action/show/Projects/DevilsPie [ ↩ ]
- was http://live.gnome.org/DevilsPie [ ↩ ]
- was http://www.gusnan.se/devilspie2/ [ ↩ ]
- was http://doc.gwos.org/index.php/Background_Terminal [ ↩ ]
ported