[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
howtos:window_managers:keyboard_layout [2012/11/09 09:25 (UTC)] – [Setting the Layout System-wide] Updated to include Slackware 14 sycamorexhowtos:window_managers:keyboard_layout [2023/07/24 22:24 (UTC)] (current) tonus
Line 61: Line 61:
         Option "XkbOptions" "terminate:ctrl_alt_bksp"         Option "XkbOptions" "terminate:ctrl_alt_bksp"
 EndSection</code> EndSection</code>
 +
 +You also need to restart X for the change to take effect.
 +
 +===Slackware 15.0===
 +
 +From Slackware 15.0 on, since ''libinput'' can be used as well, there's two files you can edit:
 +
 +<code>cp /etc/X11/xorg.conf.d/90-keyboard-layout-evdev.conf /etc/X11/xorg.conf.d/</code>
 +and
 +<code>cp /etc/X11/xorg.conf.d/91-keyboard-layout-libinput.conf /etc/X11/xorg.conf.d/</code>
 +
 +Edit these files specifying the layout (eg. ''gb''):
 +
 +<code>nano /etc/X11/xorg.conf.d/90-keyboard-layout-evdev.conf</code>
 +
 +<code>Section "InputClass"
 +        Identifier "keyboard-all"
 +        MatchIsKeyboard "on"
 +        MatchDevicePath "/dev/input/event*"
 +        Driver "evdev"
 +        Option "XkbLayout" "gb"
 +        #Option "XkbVariant" ""
 +        Option "XkbOptions" "terminate:ctrl_alt_bksp"
 +EndSection</code>
 +
 +And same with:
 +
 +<code>nano /etc/X11/xorg.conf.d/91-keyboard-layout-libinput.conf</code>
  
 You also need to restart X for the change to take effect. You also need to restart X for the change to take effect.
 howtos:window_managers:keyboard_layout ()