Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173105 > unrolled thread
| Started by | Florian Weimer <fw@deneb.enyo.de> |
|---|---|
| First post | 2016-10-02 10:30 +0200 |
| Last post | 2016-10-02 11:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
Xfce: Apply keyboard settings on USB plug Florian Weimer <fw@deneb.enyo.de> - 2016-10-02 10:30 +0200
Re: Xfce: Apply keyboard settings on USB plug Nicolas George <george@nsup.org> - 2016-10-02 11:00 +0200
| From | Florian Weimer <fw@deneb.enyo.de> |
|---|---|
| Date | 2016-10-02 10:30 +0200 |
| Subject | Xfce: Apply keyboard settings on USB plug |
| Message-ID | <snKjM-4o3-5@gated-at.bofh.it> |
I'm using the Xfce desktop environment on Debian jessie. The keyboard is plugged into a KVM switch which issues a USB disconnect if I switch to another machine. Once I switch back, the USB connection comes back again, but the keyboard settings are gone. This affects both the changes in keyboard repeat/delay I configured within Xfce, and the modmap I set with Xmodmap on session start. Is there are simple solution to restore the keyboard settings, one which is less hackish than watching for USB-related messages in dmesg?
[toc] | [next] | [standalone]
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2016-10-02 11:00 +0200 |
| Message-ID | <snKMN-4yU-9@gated-at.bofh.it> |
| In reply to | #173105 |
Le primidi 11 vendémiaire, an CCXXV, Florian Weimer a écrit : > I'm using the Xfce desktop environment on Debian jessie. The keyboard > is plugged into a KVM switch which issues a USB disconnect if I switch > to another machine. Once I switch back, the USB connection comes back > again, but the keyboard settings are gone. This affects both the > changes in keyboard repeat/delay I configured within Xfce, and the > modmap I set with Xmodmap on session start. > > Is there are simple solution to restore the keyboard settings, one > which is less hackish than watching for USB-related messages in dmesg? I had the same problem with the keyboard on the sleeve of a hybrid laptop/tablet, and I wrote the following program: http://nsup.org/~george/comp/misc/xi2watch.c It watches for XInput 2 events and executes a given command with the events details in the environment. Regards, -- Nicolas George
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web