[ltp] tpb: switching between gnome workspaces

Noah Dain linux-thinkpad@linux-thinkpad.org
Mon, 29 Aug 2005 21:16:07 -0400


On 8/29/05, Roland Kn=F6pfli <roland.knoepfli@gmx.ch> wrote:
> hi,
>=20
> 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.
>=20
> 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:
>=20
> 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.
>=20
> 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?
>=20
> sorry for my bad english, but i hope you understand what i want.
>=20
> thanks,
> roland

you need wmctrl

http://sweb.cz/tripie/utils/wmctrl/

--=20
Noah Dain
noahdain@gmail.com