choosing the desktop for an application
I have shell script which starts several xterm windows. I carefully size and place them from the shell script commands. Unfortunately, they are all created in the same desktop, where the script runs. How can I specify in which desktop each xterm should appear?
I played with the -geometry option (of xterm command) a bit by giving them very large x and y coordinates, but it did not work. There must be another way.
Thank you for your help.
PS: I run RHEL 6.10 Workstation and Gnome desktop.
Responses
This isn't possible just from the xterm command, however wmctrl from EPEL, or gdevilspie from Nux Dextop repos can do this. You could integrate them into your scripts.
Here's an example for wmctrl: https://unix.stackexchange.com/questions/27050/how-to-start-an-application-on-a-different-workspace
Here's an example for devilspie with a GUI: https://askubuntu.com/questions/431086/initialize-start-up-applications-in-certain-workspaces
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
