LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   (Gentoo) Alt Gr on Swedish Keyboard with X.org (https://www.linuxquestions.org/questions/linux-distributions-5/gentoo-alt-gr-on-swedish-keyboard-with-x-org-442035/)

anon187 05-05-2006 06:59 PM

(Gentoo) Alt Gr on Swedish Keyboard with X.org
 
I've been searching for quite a while now, browsing forums, posting on IRC. Nothing have helped so far. I have a Swedish keyboard (guess why =P) on a laptop (IBM R40) dual booting with WinXP/Gentoo. I'm running KDE 3.5 as my desktop environment with x.org.

My problem is that I cannot get the Alt Gr-key to work, so I have for example big problems with typing e-mail addresses and using the tilde-symbol. All this works outside X though. Thank you for any help that you can provide. =)

Output of X -version:
Code:

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.16-gentoo-r3 i686

Extract of xorg.conf:
Code:

    Option "XkbRules"  "xorg"
    Option "XkbModel"  "pc105"
    Option "XkbLayout"  "se"
    Option "XkbVariant" "nodeadkeys"

Xev output on Alt Gr:
Code:

KeyPress event, serial 31, synthetic NO, window 0x2200001,
    root 0x3d, subw 0x0, time 117344618, (639,341), root:(642,366),
    state 0x0, keycode 113 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2200001,
    root 0x3d, subw 0x0, time 117344676, (639,341), root:(642,366),
    state 0x8, keycode 113 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes:

Any more info? Please ask! =)
//Nicholas, from Sweden

slackie1000 05-10-2006 04:34 AM

hi there,
maybe this link can help you.
regards,
slackie1000


All times are GMT -5. The time now is 07:55 PM.