yarons - Overview

1

ACTION=="add|remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="XXXX", RUN+="/usr/bin/su YOUR_USER_NAME /path/to/refresh-genmon-udev.sh"

2

# replace YOUR_USER_NAME with your actual user name (hardcoded, this is ran by root, it's possible to determin your user name

3

# by finding out who is the owner of xfce4-panel

4

# You'll also have to replace XXXX with the output from lsusb

5

# for example: