udev_usb-1.0_8.0.sfs

This found originally here. A Hungarian video about this:




From the re-thought solution I made an sfs.

Placing the 90-sonidos_usb.rules file in /etc/udev/rules.d



 


select 90-sonidos_usb.rules

DRIVER=="usb", ACTION=="add", RUN+="/usr/bin/aplay /usr/share/sounds/inserted.wav"

SUBSYSTEM=="usb", ACTION=="remove", RUN+="/usr/bin/aplay /usr/share/sounds/removed.wav"





This article was updated on May 15, 2020

Hobby Developer from Hungary