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

Re: gnome: switch workspaces via command line?



Ron Johnson wrote:
On Mon, 2006-04-10 at 18:01 -0400, Rick Reynolds wrote:

Ron Johnson wrote:

On Mon, 2006-04-10 at 16:11 -0400, Rick Reynolds wrote:

More of a gnome question, but I've seen those posted to the list before...

Is there a way to control the workspace switcher from the command line? I'd like to have a tool that would essentially let me do:

gnome-switching-tool --switch-to-right-workspace

and

gnome-switching-tool --switch-to-left-workspace

I'm aware of 3ddesk and use it in this fashion. I'd like to find a gnome-only alternative tool.

There already are keyboard shortcuts to do this.

Desktop->Preferences->"Keyboard Shortcuts"


Yes.  I'm aware of that also.  Still wanting a command-line tool.


"<shift><ctrl><alt><LftArr>" is 4 keystrokes.

"gnome-switching-tool --switch-to-left-workspace\n" is 49 keystrokes.

Me, I'll stick with the keyboard shortcuts.


But a shortcut cannot be built into a shell script or C program.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!



Reply to: