Skip to content

Commit c18f85a

Browse files
Copilotjens-maus
andauthored
Enable XKB dead keys by default (#100)
* Enable dead keys by default Co-authored-by: jens-maus <5887769+jens-maus@users.noreply.github.com>
1 parent 4f8741f commit c18f85a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

buildroot-external/rootfs-overlay/etc/X11/xorg.conf.d/00-keyboard.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Section "InputClass"
22
Identifier "Keyboard Defaults"
33
MatchIsKeyboard "on"
44
Option "XkbModel" "pc105"
5-
Option "XkbVariant" "nodeadkeys"
5+
Option "XkbVariant" ""
66
Option "XkbLayout" "de,us"
77
Option "XkbOptions" "grp:sclk_toggle,grp_led:scroll"
88
Option "AutoRepeat" "500 30"

buildroot-external/rootfs-overlay/etc/init.d/S42LoadNetFiles

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ setup_xconf() {
185185
if [[ -n "${XKBMODEL}" ]]; then
186186
sed -i "/Option .*XkbModel/c\\\tOption \"XkbModel\" \"${XKBMODEL}\"" /etc/X11/xorg.conf.d/00-keyboard.conf
187187
fi
188-
if [[ -n "${XKBVARIANT}" ]]; then
188+
if [[ ${XKBVARIANT+x} ]]; then
189189
sed -i "/Option .*XkbVariant/c\\\tOption \"XkbVariant\" \"${XKBVARIANT}\"" /etc/X11/xorg.conf.d/00-keyboard.conf
190190
fi
191191
if [[ -n "${XKBOPTIONS}" ]]; then

0 commit comments

Comments
 (0)