udev_desktop_notifications
1.0.0
Get a desktop notification on udev events.
The files *.rules contains the udev rule to filter udev events: when a match is found the script *-notify.sh is executed.
*-notify.sh uses notify-send to send a notification via dbus.
The desktop notification daemon (like dunst for example) will then catch the notification and display a message with the given informations.
see READMEs in subfolders.
If you use dunst as a notification daemon, you can append the content of dunst.append to its config file:
cat ./dunstrc.append >> ~/.config/dunst/dunstrc
killall dunst # reloads the configArch wiki: udev
man udev$> lsusb -D /dev/bus/usb/xxx/yyy
$> dbus-monitor
$> udevadm control --reload-rules && udevadm trigger # reloads udev rules
$> udevadm info --attribute-walk --name=/dev/bus/usb/xxx/yyy