How to open a program on a particular desktop.

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
Astrodan

How to open a program on a particular desktop.

Post by Astrodan »

Hello,

I would like to know how to open an application on a specific desktop from the command line. What I am trying to do is write a script which would automatically open program A on say, the first desktop, then open program B on the second desktop, and so forth.

Thanks in advance for any help.

Dan
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29607
Joined: Wed Jul 06, 2011 3:58 am

Re: How to open a program on a particular desktop.

Post by xenopeek »

Which desktop environment are you using? On GNOME 2, and possibly MATE, there are various tools to do this. On GNOME 3 and probably Cinnamon, I'm not sure. KDE, like anything else you can think of to want to configure of course has this built in :)
Image
riffraff

Re: How to open a program on a particular desktop.

Post by riffraff »

A time ago I used devilspie for these things to do:

http://ubuntu-tutorials.com/2007/07/25/ ... -in-gnome/
Locked

Return to “Scripts & Bash”