Autostart program in specific workspace

In dom0:

  • sudo qubes-dom0-update devilspie2
  • add devilspie2 under “Application Autostart | Session and Startup” in the XFCE Settings app
  • put the .lua file under ~/.config/devilspie2
  • make sure the .lua file contains the code you need, what I posted was just an example how to make sure a window of a specific qube shows on a specific workspace

You would create a .desktop file for it and locate it under ~/.config/autostart in that qube.

1 Like