Skip to content

Commit

Permalink
Prevent xfsettingsd re-enabling key auto-repeat feature
Browse files Browse the repository at this point in the history
qubes-gui-agent specifically disables key repeat (using XAutoRepeatOff()
call) because it interferes with auto-repeat happening on the gui-daemon
side, and may lead to spurious events. xfsettings re-enables it by
default. Configure it to not do it, before starting xfsettingsd.
  • Loading branch information
marmarek committed Jul 28, 2024
1 parent 8f5f47d commit c8e4877
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions appvm-scripts/etc/X11/Xsession.d/60xfce-desktop
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,13 @@ fi

export QT_QPA_PLATFORMTHEME=qt5ct

if [ "$XDG_CURRENT_DESKTOP" = "X-QUBES" ]; then
# key repeat is handled on the gui-daemon side, do not duplicate the effort
# on the gui-agent side, as that leads to spurious key events
# xfsettingsd defaults to enable key repeat, unless it's disabled via a
# setting not present in default xml description files...
xfconf-query -c keyboards -p /Default/KeyRepeat -n -t bool -s false
fi

xfsettingsd --replace&
fi

0 comments on commit c8e4877

Please sign in to comment.