Devilspie2 in dom0 on Qubes 4.3 revisions

Go back to topic: Devilspie2 in dom0 on Qubes 4.3

  1. v3 anchor; v3 full version
  2. v2 anchor; v2 full version

Revision #3

Edited on
2026-01-12
Edited by user
Euwiiwueir
## Simplest way to get `devilspie2` in dom0: ## (a) Simplest way to get `devilspie2` in dom0:
I tried the one for fc38 it worked in dom0's fc41. But the source of these RPMs is 3+ years old and there have been a fair number of changes to `devilspie2` in the meantime. I tried the one for fc38 and it worked in dom0's fc41. But the source of these RPMs is 3+ years old and there have been a fair number of changes to `devilspie2` in the meantime.
## Harder way, up-to-date `devilspie2` in dom0: ## (b) Harder way, up-to-date `devilspie2` in dom0:
Transfer the binary to dom0 (caveat emptor), put it somewhere in your path, and do with it what you will. Transfer the binary to dom0 (caveat emptor), put it somewhere that makes sense.
``` ``` --- ## Autostart at login: Create an entry for it in System Settings -> Session and Startup -> Application Autostart. Or create a file like this: **`/home/user/.config/autostart/devilspie2.desktop`:** ``` [Desktop Entry] Encoding=UTF-8 Version=0.9.4 Type=Application Name=devilspie2 Comment= Exec=/PATH/TO/devilspie2 OnlyShowIn=XFCE; RunHook=0 StartupNotify=false Terminal=false Hidden=false ``` (Remember to fix the path)

Revision #2

Edited on
2026-01-11
Edited by user
Euwiiwueir
Probably best to build the binary in Fedora 41, as dom0 runs Fedora 41 and I want to sidestep any runtime library/linking issues. And maybe it would be useful into the future to have available a build/test template that roughly matches dom0. The `fedora-41` templates are obsolete and unavailable in 4.3, but still installable in 4.2. Probably best to build the binary in Fedora 41, as dom0 runs Fedora 41 and I want to sidestep any runtime library/linking issues.**[^1]** And maybe it would be useful into the future to have available a build/test template that roughly matches dom0. The `fedora-41` templates are obsolete and unavailable in 4.3, but still installable in 4.2.
`````` [^1]: But see the post below by @renehoj; no Fedora 41 required.