HowTo: GDM/KDM/LXDM doesn't support my keyboard/touchpad

Installer Issues via Installer -- Not for global upgrades or upgrading individual packages -- ONLY ISSUES WITH INSTALLATION OF THE OS -- Can't get Sabayon installed, than post here, otherwise use correct forums

Moderator: Moderators

Post Reply
k4ph
Simple Hen
Posts: 55
Joined: Mon Nov 01, 2010 0:52
Location: Germany
Contact:

HowTo: GDM/KDM/LXDM doesn't support my keyboard/touchpad

Post by k4ph » Thu Jan 27, 2011 16:12

I just installed Sabayon 5.5 GDM and KDM for testing purposes and found out, GDM/KDM/LXDM support only the american keyboard layout. That behaviour can be changed very easily:

Login to a normal text terminal as root, after pressing CTRL-ALT-F2.
Now enter the following commands:

Code: Select all

mkdir /etc/X11/xorg.conf.d
nano /etc/X11/xorg.conf.d/10-keyboard.conf

Enter the following lines in the 10-keyboard.conf:

Code: Select all

Section "InputClass"
       Identifier "keyboard"
       MatchIsKeyboard "yes"
       Option "XkbLayout" "de"
       Option "XkbVariant" "nodeadkeys"
       Option  "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Please modify the Layout and Variant to match your keyboard.

You can also setup a touchpad the same way:

Code: Select all

nano /etc/X11/xorg.conf.d/10-touchpad.conf

Enter the following lines in the 10-touchpad.conf:

Code: Select all

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
              Option "TapButton1" "1"
              Option "TapButton2" "2"
              Option "TapButton3" "3"
              Option "VertEdgeScroll" "on"
              Option "HorizEdgeScroll" "on"
EndSection

Those few lines will enable your touchpad in most of all cases.
After those changes, please do a reboot to enable the changes (or restart your GDM/KDM/LXDM).

Have fun,

Karl
[email protected] | [email protected] | http://c4ph.tumblr.com

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: HowTo: GDM/KDM/LXDM doesn't support my keyboard/touchpad

Post by lxnay » Thu Jan 27, 2011 19:43

Thanks, I'm integrating it into the new keyboard-configuration-helpers.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: HowTo: GDM/KDM/LXDM doesn't support my keyboard/touchpad

Post by lxnay » Thu Jan 27, 2011 20:12

Fixed by rewriting keyboard-setup completely ;)
http://gitweb.sabayon.org/?p=overlay.gi ... 124c64e1a8
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: HowTo: GDM/KDM/LXDM doesn't support my keyboard/touchpad

Post by lxnay » Thu Jan 27, 2011 20:35

..and the touchpad part will be fixed by just updating app-misc/sabayonlive-tools to 2.3-r3 (once it will be available).
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

k4ph
Simple Hen
Posts: 55
Joined: Mon Nov 01, 2010 0:52
Location: Germany
Contact:

Re: HowTo: GDM/KDM/LXDM doesn't support my keyboard/touchpad

Post by k4ph » Thu Jan 27, 2011 21:45

Good to hear that, lxnay, thanks for doing the changes ... and of cause for the nice new version 5.5 from today. Very nice work!
[email protected] | [email protected] | http://c4ph.tumblr.com

Post Reply