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

Re: Keyboard : setup AltGr+e to produce é



Have you tried using xmodmap? This is my ~/.keybconf (name it as you like):

keysym 0xfe03 = Mode_switch
!keysym 0xff7e = Mode_switch <- that's a comment
keysym 0x0075 = u U ubreve Ubreve
keysym 0x0073 = s S scircumflex Scircumflex
keysym 0x0067 = g G gcircumflex Gcircumflex
keysym 0x0068 = h H hcircumflex Hcircumflex
keysym 0x006a = j J jcircumflex Jcircumflex
keysym 0x0063 = c C ccircumflex Ccircumflex
keysym 0x0074 = t T trademark trademark

And i use it with AltGr. To find out the codes for your keys, use xev.
For the names of the symbols you want try this:
http://wiki.linuxquestions.org/wiki/List_of_Keysyms_Recognised_by_Xmodmap

Mode_switch is your AltGr key. To enable this you run "xmodmap
~/.keybconf" in a shell. Your keycodes might be different - and most
likely are - than mine, so fiddle around with Xev. Once it works put
it in your ~/.Xsession:
exec xmodmap ~/.keybconf &

Note: keysyms are, however, more "cross-keyboard" than keycodes, so
try using those.
HTH

-- 
Nuno Magalhães

Reply to: