1
vote
1answer
695 views

determining the desktop or window ID of a given terminal emulator window from a PID

I want to know which desktop a given process is running in. I can get this from the window ID using wmctrl. I can also find out which terminal emulator process a given process is running in by ...