You are not logged in.
Pages: 1
I had only Xorg running on my laptop before and the alt-gr button was working ok. I recently installed xgl and now the button is not working:( . I saw lots of posts of this problem but no solution.
My xmodmap output is:
xmodmap: up to 3 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x7f), Hyper_L (0x80)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x71), ISO_Level3_Shift (0x7c)
As xev tells me when i press the alt-gr button is recognized as ISO_Level3_Shift:
KeyPress event, serial 31, synthetic NO, window 0x2000001,
root 0x52, subw 0x0, time 612349931, (171,-10), root:(176,41),
state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
And the output from xmodmap -pke is:
[url]
http://pastebin.ca/194346
[/url]
Does anyone know the sollution to this problem?
Offline
echo 'keycode 113 = Mode_switch' >> ~/.Xmodmap
and a
xmodmap ~/.Xmodmap
If you use GNOME it will ask you to load your ~/.Xmodmap on start and there you can activate it to load it everytime you start your gnome-session
Offline
it works !!!!!
thanks a lot!
just a few more questions:
i have gdm and xfce4. is it possible to set this rule when gdm starts? will the xfce4 lookup at the ~.Xmodmap file when it is started?
Offline
As far as i know Xfce4 doesn't have such a feature but you can easily add an autostart. Look in your xfce menu. THere must be an option (if you use -svn version).
Offline
The Alt Gr is not working in Gnome for me. I'm using 3 different layout and this is my Xorg section. The 3 layouts work and I can change keyboard layout with CTRL+Shift as well...
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "ca,es,us"
Option "XkbVariant" "fr,basic,basic"
Option "XkbOptions" "grp:ctrl_shift_toggle"
EndSection
Last edited by philefou (2008-04-14 00:53:04)
Offline
Pages: 1