You are not logged in.

#1 2009-04-24 13:53:58

Alberto Ferreira
Member
Registered: 2008-10-08
Posts: 41

Keyboard layout in Xorg [SOLVED]

Hi I use the pt_PT.utf8 locale in the terminal and the keyboard layout is fine but in the GUI mode I've set the keyboard layout to this and it isn't right. I have also seen the alternatives at /usr/share/X11/xkb/symbols and set this parameter to pt, however it isn't working either. Can someone help me please _question mark_

Last edited by Alberto Ferreira (2009-04-25 09:25:28)

Offline

#2 2009-04-24 14:29:03

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Keyboard layout in Xorg [SOLVED]

If the layout you appear to be using in X is a plain en_US one, did you see this?

http://wiki.archlinux.org/index.php/Xor … server_1.5


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-04-24 15:29:22

Alberto Ferreira
Member
Registered: 2008-10-08
Posts: 41

Re: Keyboard layout in Xorg [SOLVED]

Yes, I had seen the link, thanks.

Here is the log of startx:

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/share/fonts/Type1, removing from list!
which: no hsetroot in (/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core)
which: no esetroot in (/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core)
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".

(firefox:8079): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "mist",

(firefox:8079): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "mist",
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".

(scite:8089): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "mist",

(scite:8089): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "mist",

The

(firefox:8079): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "mist",

(firefox:8079): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "mist",
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".

part happens when I open any GUI window

I disabled the line in the xorg.conf that says:

Option "XkbVariant" ""

It still gives those xkbcomp errors but it solved it !

Thanks

Last edited by Alberto Ferreira (2009-04-24 15:30:09)

Offline

#4 2009-04-24 19:51:59

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Keyboard layout in Xorg [SOLVED]

Try without an Xorg configuration, then add the bits you need, easier to work that way smile. There's a big chance your setup will just work fine without, and your keyboard gets defined in a hal config file, so you won't break too much smile.

As for the Xlib errors: make sure to do a full sync with pacman, and a reboot of X should make those Xlib errors go away wink.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2009-04-25 08:49:47

Alberto Ferreira
Member
Registered: 2008-10-08
Posts: 41

Re: Keyboard layout in Xorg [SOLVED]

Thanks B

Ok , I don-t know why but the layout is again screwed and I haven-t done anything in the meantime.

EDIT: Now it's working again :s

Last edited by Alberto Ferreira (2009-04-25 08:53:48)

Offline

Board footer

Powered by FluxBB