You are not logged in.
Pages: 1
Hello community,
I just released a small tool to trigger a command when a USB device is plugged or unplugged.
The main use case is to change my keyboard layout and revert back to default when I plug/unplug my keyboard.
Recently, I made configuration more flexible so that one can match any udev device: you could trigger a backup when a disk is connected for example.
I know you can achieve the same feature with udev rules, but I wanted a non-privileged user solution.
This is mainly a "scratch your own itch" kind of tool, but it might be useful to others.
The code is on github
There is also an AUR package
Let me know if it is of some use to you. Feedback is welcome.
Offline
Nice! I'm going to give this a go to attach/detach USB disk to one of my KVM guests.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1