Command-line desktop specification

Dj YB yehielb at mail.ru
Wed Aug 25 18:23:52 UTC 2010


On Wednesday August 25 2010 20:45:35 Timothy Murphy wrote:
> Is there a command-line way of asking for
> an application, eg ssh, to open in a specified desktop?

wmctrl -r <WIN> -t <DESK>   Move the window to the specified desktop.

note: you should check the number of desktops before using: wmctrl -d
if it just one then you can add by using: wmctrl -n 2 (or more)
to switch to another desktop use: wmctrl -s 1 (or another)

for more info see: man wmctrl

hope that helped,
YB.


More information about the kde mailing list