[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs

[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.

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
Next revision
Previous 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 [2024/08/09 11:50 (UTC)] (current) – Fixed incorrect paths, thanks to maew. alienbob
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 /usr/share/X11/xorg.conf.d/90-keyboard-layout-evdev.conf /etc/X11/xorg.conf.d/</code>
 +and
 +<code>cp /usr/share/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.
QR Code
QR Code howtos:window_managers:keyboard_layout (generated for current page)