[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Curious behaviour with multiple desktops in F9 KDE



On Tue, Jun 10, 2008 at 6:00 PM, Timothy Murphy <gayleard eircom net> wrote:
> Sjoerd Mullender wrote:
>
>>>> Is there incidentally, a way of ensuring that
>>>> an application will always open in a particular desktop?>>>

>> wmctrl.x86_64           1.07-3.fc9             installed
>
> But how do you use it?
> I yum-installed it, and tried
> ----------------------------------
tim elizabeth ~]$ wmctrl -r 7 ssh alfred
[tim elizabeth ~]$ sudo wmctrl -r 7 ssh alfred

wmctrl will switch the active workspace for you, but will not exec programs:
here is an example of how to start an ssh session on workspace 2
this uses gnome, so you will have to modify for kde

#!/bin/sh
wmctrl -s 2
gnome-terminal --geometry 120x25+0-28 --title=ssh_win  --command='ssh alfred'&

Mike


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]