[PATCH] Reapply settings when external keyboard connects

Martin Kelly martin at martingkelly.com
Thu May 29 05:02:50 CEST 2014

Martin Kelly wrote:
> This patch fixes a longstanding frustration I've had with XFCE, which is that
> every time I unplug an external keyboard and then plug it in again, my keyboard
> repeat settings get lost. It is 100% reproducible and has a fairly simple
> explanation, which is that xfsettingsd does not listen for the device being
> added, so X11 sets the keyboard repeat rate instead. Thus my patch is for
> xfsettingsd to listen for keyboards being added and apply the keyboard settings
> when the event fires.
> You can pull this patch from Github at:
> https://github.com/aomighty/xfsettingsd-stash/tree/martin-kelly/external-keyboard-notify-X11
> Martin Kelly (1):
>    Reapply settings when external keyboard connects
>   xfsettingsd/keyboards.c | 115 +++++++++++++++++++++++++++++++++++++++++++++---
>   xfsettingsd/keyboards.h |  12 +++++
>   2 files changed, 122 insertions(+), 5 deletions(-)

(friendly ping)

More information about the Xfce4-dev mailing list