Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] XDM (or xorg ?) keyboard layout bug

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
alex6
Apprentice
Apprentice
Posts: 176
Joined: Mon Jul 18, 2011 12:27 am

[SOLVED] XDM (or xorg ?) keyboard layout bug

  • Quote

Post by alex6 » Thu Jul 21, 2011 1:18 am

I tried to set my keyboard to the layout "fr" like this :
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
# Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
# Option "XkbVariant" ",multi"
EndSection
...But when I login with gdm or any other logging manager my keyboard is in qwerty...My other tty don't have this problem...
My locales are set to "fr_FR ISO-8859-1"

Does someone understand what's happening ?
Last edited by alex6 on Sat Jul 23, 2011 12:22 am, edited 1 time in total.
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Thu Jul 21, 2011 10:10 am

oui

you're using old style xorg.conf to configure your keyboard, this won't work, you need use the new style explain here : http://www.gentoo.org/proj/en/desktop/x/x11/ (lookout for xorg server version you use upgrade guide)

or add this file to your system & it should work (as /etc/X11/xorg.conf.d/97-evdev.conf)

Code: Select all

Section "InputClass"
   Identifier "mouse-all"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "AutoServerLayout" "on"
EndSection

Section "InputClass"
        Identifier "keyboard-all"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "XkbLayout" "fr"
        Option "XkbRules"  "xorg"
        Option "XkbModel"  "pc105"
        Option "AutoServerLayout" "on"
EndSection
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Thu Jul 21, 2011 10:40 am

:roll: Once again, setting XkbRules has no point as evdev driver hardcodes it to 'evdev' anyway.
Top
alex6
Apprentice
Apprentice
Posts: 176
Joined: Mon Jul 18, 2011 12:27 am

  • Quote

Post by alex6 » Thu Jul 21, 2011 1:14 pm

Thanks, your config file works :)
I had to create the directory xorg.conf and create the config file which didn't exist...

I love xorg new way : no config file, you have to create it and create several in hidden places that doesn't exist with a new syntax !

I'm a bit melancholic when I remember some years ago when we only had to use a single xorg.conf file which DID exist :D
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Thu Jul 21, 2011 3:10 pm

VoidMage wrote::roll: Once again, setting XkbRules has no point as evdev driver hardcodes it to 'evdev' anyway.
well, it work, and no bad effect, you're too perfectionist VoidMage :)
Top
cazort
Guru
Guru
User avatar
Posts: 343
Joined: Sun Sep 19, 2004 4:02 pm
Location: Lancaster, PA
Contact:
Contact cazort
Website

  • Quote

Post by cazort » Sat Dec 08, 2012 5:03 pm

I just found this solution and it also worked for me (I was trying to change to dvorak), but I agree with alex6's comment (incidentally, my name is also Alex). It seems a bit counter-intuitive to have to create a new config file in a directory that does not exist, to do something as basic as changing the keyboard layout for xdm.

While I like the new configuration-free xorg overall, the old setup had the advantage that if you needed to change something that required manual configuration, there were examples to work from!
Alex Zorach | Teacology | RateTea | Why This Way
Top
Post Reply

6 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic