Dj YB 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 Thanks for the response. Unfortunately, my Fedora-13 KDE system does not seem to have this command. Actually, I'm trying to set up a menu item which runs ssh -Y <RemoteMachine> This works perfectly on my main laptop, but for some reason it acts in a random way on the laptop I'm using now. In particular it opens in a random desktop, despite the fact that I have asked it (by right-clicking in the title-bar) to open in a specified desktop. (More annoyingly, it opens in white-on-black on this laptop, and I have found no way of stopping this.) I'm not quite sure how I could use the above command in this script, even if the command was available. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland _______________________________________________ kde mailing list kde@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kde New to KDE4? - get help from http://userbase.kde.org