[ltp] tpb: switching between gnome workspaces

Roland Knöpfli linux-thinkpad@linux-thinkpad.org
Mon, 29 Aug 2005 15:28:16 +0200


hi,

i played around with tpb on my a31p. in the config file at /etc/tpbrc i 
can set an action for every special-key like the home button. for 
example: if i press the home button /usr/bin/firefox will start.

as my a31p has special forward and backward keys near the common arrow 
keys, i wanted to give them a function too. my idea is this:

if i press "ctrl-alt-arrowleft/right" (i'm using gnome 2.10) i can 
switch between the four virtual workspaces. it would be nice to 
configure the forward/backward button to do this instead of using a 
combination of three buttons.

my question: is there a command i can execute to do the workspace 
switching? if not, is there a possibility to simulate the 
"ctrl-alt-arrowleft"-keystroke by executing a command?

sorry for my bad english, but i hope you understand what i want.

thanks,
roland