How can I start a program on a specific virtual desktop?

Hi Community,
I have configured three virtual desktops on my system and would now like kontact to always start on the third virtual desktop via the desktop icon (or alternatively via the command line), regardless of which desktop I am currently on.

Greetings
Michael

I have a very similar setup using KWin window rules.

Essentially you right click on the window decoration then under “more actions” you’ll find “configure special window settings” or “configure special application settings”.

Since Kontact is a single instance application the difference probably doesn’t matter.

The rule configuration comes up with options for KWin to identify the window, perhaps just leave the defaults for now.

Click on “add property” to and add “virtual desktop”.
Then you can configure this new entry to apply the desktop you want.

I use this for several applications to have them on all activities by default.

1 Like

Hi krake,
Thanks for the tip. It works exactly as I wanted it to.

Greetings
Michael