[ltp] Re: Those dumb forward/backward keys on X220

Yves-Alexis Perez linux-thinkpad@linux-thinkpad.org
Thu, 29 Sep 2011 22:25:59 +0200


--=-HdaIwPIlIYZY47sTSOdi
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On jeu., 2011-09-22 at 18:32 +0300, Michael Livshin wrote:
> > I usually bind them to next/prev desktop and I really like it :)
>=20
> That's a great idea too.  The question is, really, *how* does one do
> such a thing on a modern distribution (which means: Xkb, no HAL, the
> user's mind switches off by way of blowing a safety fuse after reading 2
> paragraphs of any text involving the word "setxkbmap", user's Google fu
> is otherwise apparently useless), as it looks like my mastery of xmodmap
> (whatever is left thereof, anyway) is no longer relevant.
>=20
> It's a 2-line recipe, right?=20

Sure:

xfconf-query -c xfce4-keyboard-shortcuts -p /xfwm4/custom/XF86Back -n -t
string -s prev_workspace_key
xfconf-query -c xfce4-keyboard-shortcuts -p /xfwm4/custom/XF86Forward -n
-t string -s next_workspace_key

ymmv though.
--=20
Yves-Alexis

--=-HdaIwPIlIYZY47sTSOdi
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAABCAAGBQJOhNRXAAoJEDBVD3hx7wuoWLIQAKG5GhxzsnXqJGd20G4sz7ff
cyMlEbCOj12DzPw9GM+tU7u/lwt2RbdcYp8RjZJ+Ld4iJ02yzXBhZXIRlBvxQvYr
H48gA8r4T/u/BooF49bVg1PoFo95aRwl1BjNtX90TSY5lLhvvk1FmTVNKoGAclb+
+tzC4COrZjBVkglw8f6zLGO6b8WNLoR1Ej2giQs9t1HgNB8Ox8EiXfy8uJo1mwPS
gynJMTzlkXK7ff0P2650eCqKMTXWIAJOTvMAOXy4/w0g0376mDPsC2qSXL1NFTzO
C6Fv+klXhxUGq5a03W9Q5fCURolURwXKuc/gImR/BkOmle5A3rHo+apMXF4R+f70
EyIlLa+BqA8Y6BNE5dwlpunY7az66c8+yJbGKs/yHnsLrfGrPBTw7C5uqhoaQhoU
IkjVHSZrp3yMc7Od5Sm1YwDP4QXIDjMdmHcnXtu7PcyKvJeK1bn4VAdzYZbIkSGg
u5rursT7rxGbE0s9dGuZU2F0Ev4xMQhfoBnK5cBcOCGUVHRW/UBEJa4izDP3fy+l
mjDiJEmzQJOp6w3ziYa7MqDmGCyIDH62v8Ov0gqQnGM6HWO72Q6JYKWybFijDnpH
5PtmUmEzeefe/SCb5NsPUlNGSeY7ev+Js7CExSGZ5ddNkpXRpuU0PFx/O3W8MUSY
EsPYksX2+R/14u1wLf/x
=hMIO
-----END PGP SIGNATURE-----

--=-HdaIwPIlIYZY47sTSOdi--