Re: FVWM: Restoring keyboard/mouse settings on USB plug

2021-07-26 Thread Dominique Michel
Le Mon, 26 Jul 2021 10:15:08 +0100 (BST), Mark Hills a écrit : > My keyboard and mouse are on a USB hub, powered on/off separately. > I'm tired of having to manually re-run a script every time I return > to work. > > Searching gives suggestions to add scripts to Linux udev; that seems >

Re: FVWM: Restoring keyboard/mouse settings on USB plug

2021-07-26 Thread Tom Horsley
On Mon, 26 Jul 2021 10:15:08 +0100 (BST) Mark Hills wrote: > Is there some kind of X event that fvwm can respond to when a new USB > input device is plugged in? You could check out the silly program I wrote to handle this exact situation. It listens for udev events.

FVWM: Restoring keyboard/mouse settings on USB plug

2021-07-26 Thread Mark Hills
Is there some kind of X event that fvwm can respond to when a new USB input device is plugged in? Because I recently switched from using CorePointer/CoreKeyboard in the xorg.conf, to the 'modern' hot plugging of X devices. However, now the settings of keyboard and mouse return to the default