You are not logged in.

#1 2008-05-15 23:59:31

halcor
Member
Registered: 2008-05-15
Posts: 71

Xorg xkb variant trouble

I install arch with the guide.

And i can't put áéíóú´because I've activated deadkeys.

I type xorgcfg

Go to keyboard and:

Xkb rules: xorg
Keyboard model: HP omnibook XE3 GC (my laptop)
Keyboard layout: Spain
Xkb variant: be: Eliminate dead keys
Xkb options: --

I want to put: es: eliminate dead keys

I think that it'd solve my trouble but when i changed terminal says: Couldn't get keyboard and put be:

What can i do?

Thanks

Offline

#2 2008-05-16 04:25:26

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: Xorg xkb variant trouble

Perhaps you could post the relevant section (keyboard) of your xorg.conf file?

Offline

#3 2008-05-16 14:35:32

halcor
Member
Registered: 2008-05-15
Posts: 71

Re: Xorg xkb variant trouble

Ok

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Touchpad"  "SendCoreEvents"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
       Option          "XkbLayout"     "es"
       Option          "XkbVariant"    "nodeadkeys"
EndSection

I want that I can write with ´

Offline

#4 2008-05-16 21:17:00

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: Xorg xkb variant trouble

halcor wrote:

Ok

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Touchpad"  "SendCoreEvents"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
       Option          "XkbLayout"     "es"
       Option          "XkbVariant"    "nodeadkeys"
EndSection

I want that I can write with ´

Your configuration looks OK except for the nodeadkeys line. I'm not sure exactly how you want your accents to work. I use Latin American and Brazilian layouts and to get accents I first hit the accent key ('[' on a us keyboard, it may be different if you have a Spanish keyboard) and then the letter I want accented. Hitting the accent key twice will give just an accent with no character like this ´. If this is what you want something like the following should do the trick.

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "latitude"
        Option      "XkbLayout" "us,latam,br"
        Option      "XkbOptions" "grp:shifts_toggle"
EndSection

Just replace the layouts "us, latam, br" with your layout "es". The XkbOptions line lets me change layouts by hitting both shift keys at the same time. You won't need this if you only use one layout.

If you want to use an AltGr or Compose key, then I'm not sure how that works. I tried to set it up like you did, but I couldn't get it to work either. AltGr with anything else gave symbols but not áéíóúü.

Good luck and regards,
j

Offline

#5 2008-05-17 00:10:41

halcor
Member
Registered: 2008-05-15
Posts: 71

Re: Xorg xkb variant trouble

But my problem is that i can't put

es: eliminated dead keys

I use xorgcfg because it has every options, all options, but when I try to put es, it changes to be:

I think that I have not installed something important, but i Don't know what is.



I get to that i can write á and not ´a
But no when i try to put ^2 the computer puts ²
When you work with programs like Derive or wxmaxima, it bothers me.

Someone know how can i configure in order to put á (and not ´a) and ^2 (and not ²)? (Windows like)

Thanks

Offline

Board footer

Powered by FluxBB