Re: There has gotta be an easy answer - binding commands to keys ??
- From: Neil Bird <neil@xxxxxxxxxx>
- Date: Mon, 29 Jan 2007 12:23:03 +0000
Around about 26/01/07 21:39, William Case typed ...
1) Through MetaCity or any other GTK mechanism, create a command that is
equivalent to <Ctrl><Shift>U2714 and then bind that command to Super_L +
y.
You may want to investigate xmodmap; I'm not sure there's a way to
specify any old unicode char (I think I've seen one) but if you create a
~/.xmodmaprc with something like (this is from mine, defining <AltGr+'> to
give the nicer ’ char):
keycode 0x30 = apostrophe at rightsinglequotemark dead_circumflex
rightsinglequotemark dead_circumflex
All the keys by default have an AltGr ('ISO Shift Level 3') mapping, Y's
is '←' (¥ with <Shift> as well). Pick one you don't fancy using any more,
and change its mapping. The full list of codes currently on a key can be
shown with xkeycaps (which is really showing its age now; any alternatives
anyone?) but I wouldn't recommend making it save a full xmodmaprc (unless
you then edit out all but the one you want).
--
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list
- References:
- There has gotta be an easy answer - binding commands to keys ??
- From: William Case
- Re: There has gotta be an easy answer - binding commands to keys ??
- From: Sven Arvidsson
- Re: There has gotta be an easy answer - binding commands to keys ??
- From: William Case
- There has gotta be an easy answer - binding commands to keys ??
- Prev by Date: Re: There has gotta be an easy answer - binding commands to keys ??
- Previous by thread: Re: There has gotta be an easy answer - binding commands to keys ??
- Index(es):
Relevant Pages
|
|