You are not logged in.

#1 2008-01-14 12:25:33

raroman
Member
From: Sweden
Registered: 2008-01-05
Posts: 29

[Solved] xorg xfce xkblayout: getting ALT_R to work

After 8 hours on installing and tuning Archlinux for swedish friends of mine, I give up on the following problem:

In XY, the keyboard works perfect with the locale se_SE and keymap sv-latin1
But under xfce, I can't get the Alt_R button working. Even with  http://wiki.archlinux.org/index.php/Xor … d_Settings

I can't get to the core of the problem. This guy seems to have had a similar problem, but the text is in swedish:
http://bbs.linux.se/viewtopic.php?p=178 … 79211b5e5e

My Keyboard is a Logitech Y-SQ33 (SK-2910)
Tried the following from xorg.config

Section "InputDevice"
        Identifier  "Logitech Y-SQ33"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "logiik"
        Option "XkbLayout" "se"
        Option "XkbVariant" "qwerty"
EndSection

Also tried out with XkbLayout pc105 and logiinkse. Nothing works

xev says my ALT_R is

keycode 113 (keysym 0xffea, Alt_R)

How hard can it be to set up a swedish keyboard?  hmm

---
The edit is changing the subject to include "solved"

Last edited by raroman (2008-01-20 18:16:36)

Offline

#2 2008-01-14 15:14:18

kraluz
Member
From: Aveiro, Portugal
Registered: 2008-01-01
Posts: 30

Re: [Solved] xorg xfce xkblayout: getting ALT_R to work

See if this helps:

Option      "XkbOptions" "compose:ralt"

Offline

#3 2008-01-14 20:54:16

wyvern
Member
From: 'Old' Scottish/English border.
Registered: 2008-01-06
Posts: 70

Re: [Solved] xorg xfce xkblayout: getting ALT_R to work

If you're wanting to use the right Alt key to be able to use things like (on my UK keyboard) the € sign, try this in your xorg.conf:

Option      "XkbOptions" " lv3:ralt_switch"

Or try the above posters method if you want it to act as a Compose key smile

Offline

#4 2008-01-14 21:13:41

raroman
Member
From: Sweden
Registered: 2008-01-05
Posts: 29

Re: [Solved] xorg xfce xkblayout: getting ALT_R to work

Thank you both for your inputs.
I read http://wiki.archlinux.org/index.php/Xor … g_properly when trying to solve the problem. I can remember trying out what kraluz suggests. But it was somewhere around three o'clock in the morning, and I have a snapshot of one of my xorg.conf tries, where I had a typo in exactly that part. As I don't have access to the computer for another week, I can't test to make sure the mis-spelling was the cause of all my troubles. In a way, I hope so.
On the other hand, that's a rather sad way to end my post.

I will continue this thread next weekend, when I know more. I will try out both your methods and make sure.
Regards

Offline

#5 2008-01-20 18:15:16

raroman
Member
From: Sweden
Registered: 2008-01-05
Posts: 29

Re: [Solved] xorg xfce xkblayout: getting ALT_R to work

Ok, I'm back.
My typo was not the cause of it not working. Thank you wyvern, for giving me the lv3 instead of compose!!!
This is how it finally works out:

  Option "XkbLayout" "se"
  Option "XkbVariant" "nodeadkeys"
  Option "XkbOptions" "lv3:ralt_switch"

I completed the wiki article http://wiki.archlinux.org/index.php/Xor … g_properly for this swedish problem.

The complete block for the sake of completion (and boy would I have been glad for this when looking for how to set up the swedish keyboard):

Section "InputDevice"
  Identifier  "Logitech Y-SQ33"
  Driver      "keyboard"
  Option      "CoreKeyboard"
  Option "XkbRules" "xorg"
  Option "XkbModel" "logiik"
  Option "XkbLayout" "se"
  Option "XkbVariant" "nodeadkeys"
  Option "XkbOptions" "lv3:ralt_switch"
EndSection

So, the status of this could be changed to "solved".  smile

Offline

#6 2008-01-20 18:19:12

wyvern
Member
From: 'Old' Scottish/English border.
Registered: 2008-01-06
Posts: 70

Re: [Solved] xorg xfce xkblayout: getting ALT_R to work

Glad to help smile And by editing the wiki, you've helped us all wink

(I should have thought of that...)

Offline

Board footer

Powered by FluxBB