You are not logged in.

#1 2007-02-15 12:35:00

kuratkull
Member
Registered: 2007-02-04
Posts: 26

Alt Gr not working(google didn't help)

Hello,

Since I installed arch I haven't been able to use the Alt Gr key.
I have googled it and tried tutorials others have written, but nothing has helped.
I even tried the tutorial in Arch Wiki.

rc.conf:

LOCALE="eesti"
HARDWARECLOCK="localtime"
TIMEZONE="Estonia/Europe"
KEYMAP="et.map.gz"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes

xorg.conf:

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "et"
    Option         "XkbVariant" "et"
EndSection

Offline

#2 2007-02-15 15:01:16

gentlemanfinn
Member
From: Kingdom of Denmark
Registered: 2006-10-13
Posts: 16

Re: Alt Gr not working(google didn't help)

if your are running XGL you could try http://wiki.archlinux.org/index.php/Xgl … _keyboards
it worked for me.

Offline

#3 2007-02-15 15:28:23

kuratkull
Member
Registered: 2007-02-04
Posts: 26

Re: Alt Gr not working(google didn't help)

I am not using XGL.
Ordinary Xorg7 with XFCE.

Offline

#4 2007-02-15 16:30:11

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: Alt Gr not working(google didn't help)

Do you have an error at the end of /var/log/Xorg.0.log file related to xkbcomp not found ?
If so I got the same error after I installed Arch on my machine.
I searched the web with Google and I finally found a work-around solution :
1) install the package  xorg-xkb-utils, if it is not yet  installed
pacman -S xorg-xkb-utils
2) run as root
cp /usr/bin/xkbcomp /usr/lib/X11/xkb

This works for me, and I've got the AltGr key working again.

Edit: after looking at the accesses of the xkb copy of  xkbcomp, it seems that it is not used,
so the point 2) is not necessary. Only the xkbcomp binary was missing for me.

Last edited by berbae (2007-02-16 21:47:24)

Offline

#5 2007-02-15 16:50:20

kuratkull
Member
Registered: 2007-02-04
Posts: 26

Re: Alt Gr not working(google didn't help)

I didn't have the xkbcomp error hmm

Offline

#6 2007-02-15 17:25:44

Linteg
Member
From: Sweden
Registered: 2006-03-11
Posts: 54

Re: Alt Gr not working(google didn't help)

I don't know if this has got anything to do with it, but there is no "eesti" locale, "et_EE.utf8" or something like similar would probably be what you want to have there, check /etc/locale.gen.

Offline

#7 2007-02-15 19:13:24

kuratkull
Member
Registered: 2007-02-04
Posts: 26

Re: Alt Gr not working(google didn't help)

The tool which displayed available locales displayed "eesti" as an option. SO i used this. Anyway, changes to et_EE.utf8 to give it a try. Didn't work hmm

Offline

#8 2007-02-15 19:33:26

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Alt Gr not working(google didn't help)

Try commenting out:
   Option         "XkbVariant" "et"

Offline

#9 2007-02-15 20:17:00

saintshakajin
Member
Registered: 2005-04-13
Posts: 32

Re: Alt Gr not working(google didn't help)

I don't know if there's an importance but there isn't any problem with these lines:

TIMEZONE="Estonia/Europe"
KEYMAP="et.map.gz"

For me it's:

TIMEZONE="Europe/Brussels"
KEYMAP="be-latin1"

Timezone= Continent/City
KEYMAP=xxx which xxx is the same name as the command loadkeys.

I had a problem with Alt Gr and Beryl and I solve it with: xfce menu - settings - software on boot/startup (my XFCE is in French) and I put this:

setxkbmap -model pc105 -layout be -variant basic

If you adapt it, your problem should be solved...

Last edited by saintshakajin (2007-02-15 20:20:48)

Offline

#10 2007-02-15 21:16:58

kuratkull
Member
Registered: 2007-02-04
Posts: 26

Re: Alt Gr not working(google didn't help)

setxkbmap -model pc105 -layout [b]ee[/b] -variant basic

If you adapt it, your problem should be solved...

This helped smile
Thank you very much big_smile

Offline

#11 2007-02-16 06:15:31

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: Alt Gr not working(google didn't help)

I had a problem with Alt Gr and Beryl and I solve it with: xfce menu - settings - software on boot/startup (my XFCE is in French) and I put this:

setxkbmap -model pc105 -layout be -variant basic

The DE agnostic way for setting XKB is to write that command in ~/.xprofile.

I use:

setxkbmap gb,mk -option grp:switch -option grp:menu_toggle \
        -option compose:rwin -option grp_led:scroll

That is:
gb,mk - great britain primary, macedonian secondary layout
grp:switch - right Alt switches
grp:menu_toggle - the menu button toggles
compose:rwin - right windows button is compose (press rwin then O then C to get ©, etc)
grp_led:scroll - the scroll led is light when I'm in the mk layout (very helpfull when I need to enter the screensaver password)

Offline

Board footer

Powered by FluxBB