4
2
Let's say I have a program open on another virtual desktop. Is there a way I can bring that program to the current desktop through a script?
The following command is the closest I can get:
wmctrl -a program
This will switch to the desktop where the program is open and make it the foremost window. However, instead of going to the desktop where the program is, I want to bring the program to the current desktop. There is also this command:
wmctrl -R program
The documentation says that this will do what I want, but it just does the same thing as the former command.
Are you using Gnome as your window manager? (It is the default one for Ubuntu) – Jarvin – 2010-08-02T15:43:34.223
Yes, that's what I'm using. – tony_sid – 2010-08-02T21:52:23.663