У меня lubuntu, и не флешка а модем, и при разрешённом автомонтировании флешек файл-менеджер не запускается.
71-seat.rules: RUN+="/bin/udevadm trigger --parent-match=%p/.."
71-seat.rules:SUBSYSTEM=="input", ATTR{name}=="Wiebetech LLC Wiebetech", RUN+="/bin/loginctl lock-sessions"
40-usb_modeswitch.rules:ATTR{bInterfaceClass}=="ff", ATTR{bInterfaceNumber}=="00", ATTRS{bNumConfigurations}=="*", RUN+="usb_modeswitch --driver-bind %p %s{idVendor} %s{idProduct} %E{PRODUCT}"
90-alsa-ucm.rules:ATTRS{id}=="PandaBoard", RUN+="/usr/bin/alsaucm -c PandaBoard set _verb HiFi"
90-alsa-ucm.rules:ATTRS{id}=="PandaBoard", RUN+="/usr/bin/alsaucm -c PandaBoard set _verb Record"
90-alsa-ucm.rules:ATTRS{id}=="PandaBoardES", RUN+="/usr/bin/alsaucm -c PandaBoardES set _verb HiFi"
90-alsa-ucm.rules:ATTRS{id}=="PandaBoardES", RUN+="/usr/bin/alsaucm -c PandaBoardES set _verb Record"
90-alsa-ucm.rules:ATTRS{id}=="SDP4430", RUN+="/usr/bin/alsaucm -c SDP4430 set _verb HiFi"
90-alsa-ucm.rules:ATTRS{id}=="SDP4430", RUN+="/usr/bin/alsaucm -c SDP4430 set _verb Record"
90-alsa-ucm.rules:ATTRS{id}=="tegraalc5632", RUN+="/usr/bin/alsaucm -c tegraalc5632"
90-alsa-ucm.rules:ATTRS{id}=="DAISY-I2S", RUN+="/usr/bin/alsaucm -c DAISY-I2S set _verb HiFi"
85-keyboard-configuration.rules:SUBSYSTEM=="tty", KERNEL=="tty[1-6]", RUN+="console-setup-tty /dev/%k"
85-keyboard-configuration.rules:SUBSYSTEM=="graphics", KERNEL=="fbcon", RUN+="console-setup-tty fbcon"
40-crda.rules:SUBSYSTEM=="ieee80211", ACTION=="add", RUN+="/lib/crda/setregdomain"
85-hdparm.rules: RUN+="/lib/udev/hdparm"
85-hplj10xx.rules: SYMLINK+="hplj1000-%n", RUN+="hplj1000"
85-hplj10xx.rules: SYMLINK+="hplj1005-%n", RUN+="hplj1005"
85-hplj10xx.rules: SYMLINK+="hplj1018-%n", RUN+="hplj1018"
85-hplj10xx.rules: SYMLINK+="hplj1020-%n", RUN+="hplj1020"
85-hplj10xx.rules: SYMLINK+="hpljP1005-%n", RUN+="hpljP1005"
85-hplj10xx.rules: SYMLINK+="hpljP1006-%n", RUN+="hpljP1006"
85-hplj10xx.rules: SYMLINK+="hpljP1007-%n", RUN+="hpljP1007"
85-hplj10xx.rules: SYMLINK+="hpljP1008-%n", RUN+="hpljP1008"
85-hplj10xx.rules: SYMLINK+="hpljP1505-%n", RUN+="hpljP1505"
85-hplj10xx.rules: SYMLINK+="hpljP1505n-%n", RUN+="hpljP1505n"
60-keyboard.rules: RUN{builtin}+="keyboard", GOTO="keyboard_end"
60-keyboard.rules: RUN{builtin}+="keyboard", GOTO="keyboard_end"
60-keyboard.rules: RUN{builtin}+="keyboard", GOTO="keyboard_end"
40-libsane.rules:# To run a script when your device is plugged in, add RUN+="/path/to/script"
40-libsane.rules:# Canon imageRUNNER 1020/1024/1025
40-libsane.rules:ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo on > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo on > /sys/$env{DEVPATH}/power/level; fi'"
40-libsane.rules:ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"
60-cdrom_id.rules:ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $devnode", GOTO="cdrom_end"
56-hpmud.rules:ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@$env{BUSNUM}:$env{DEVNUM}.service; else /usr/bin/nohup /usr/bin/python /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} ; fi &'"
56-hpmud.rules:ENV{sane_hpaio}=="yes", RUN+="/bin/sh -c 'grep -q ^#hpaio /etc/sane.d/dll.conf;if [ $$? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ /etc/sane.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $$? -ne 0 ];then echo hpaio >>/etc/sane.d/dll.conf;fi;fi'"
56-hpmud.rules:ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'test -e /sys/$env{DEVPATH}/power/level && echo on > /sys/$env{DEVPATH}/power/level'"
73-seat-late.rules:TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"
85-regulatory.rules:KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="/sbin/crda"
55-dm.rules:ENV{DM_COOKIE}=="?*", RUN+="/sbin/dmsetup udevcomplete $env{DM_COOKIE}"
85-usbmuxd.rules:ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmux", ATTR{idVendor}=="05ac", ATTR{idProduct}=="12[9a][0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", OWNER="usbmux", RUN+="/usr/sbin/usbmuxd -u -U usbmux"
85-usbmuxd.rules:ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="/usr/sbin/usbmuxd -x"
95-udev-late.rules:ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"
40-inputattach.rules:SUBSYSTEM=="tty", KERNEL=="ttyS[0-9]*", ATTRS{id}=="FUJ02e5", ACTION=="add|change", RUN+="/lib/udev/inputattach --daemon --baud 19200 --w8001 /dev/%k"
40-inputattach.rules:SUBSYSTEM=="tty", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf00c", ACTION=="add|change", RUN+="/lib/udev/inputattach --daemon --baud 38400 --w8001 /dev/%k"
60-pcmcia.rules: RUN+="/lib/udev/pcmcia-check-broken-cis"
60-pcmcia.rules: RUN+="/sbin/modprobe -b pcmcia"
60-pcmcia.rules: RUN+="/lib/udev/pcmcia-socket-startup"
80-drivers.rules:ENV{MODALIAS}=="?*", RUN{builtin}="kmod load $env{MODALIAS}"
80-drivers.rules:SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN{builtin}="kmod load tifm_sd"
80-drivers.rules:SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", RUN{builtin}="kmod load tifm_ms"
80-drivers.rules:SUBSYSTEM=="memstick", RUN{builtin}="kmod load ms_block mspro_block"
80-drivers.rules:SUBSYSTEM=="i2o", RUN{builtin}="kmod load i2o_block"
80-drivers.rules:SUBSYSTEM=="module", KERNEL=="parport_pc", RUN{builtin}="kmod load ppdev"
80-drivers.rules:SUBSYSTEM=="serio", ENV{MODALIAS}=="?*", RUN{builtin}="kmod load $env{MODALIAS}"
80-drivers.rules:SUBSYSTEM=="graphics", RUN{builtin}="kmod load fbcon"
80-drivers.rules:KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN{builtin}="kmod load sm_ftl"
90-alsa-restore.rules:TEST!="/var/lib/alsa/state-daemon.conf", RUN+="/usr/sbin/alsactl -E HOME=/var/run/alsa restore $attr{device/number}"
90-alsa-restore.rules:TEST=="/var/lib/alsa/state-daemon.conf", RUN+="/usr/sbin/alsactl -E HOME=/var/run/alsa nrestore $attr{device/number}"
97-bluetooth-hid2hci.rules: RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1"
97-bluetooth-hid2hci.rules: RUN+="hid2hci --method=logitech-hid --devpath=%p"
97-bluetooth-hid2hci.rules: RUN+="hid2hci --method=logitech-hid --devpath=%p"
97-bluetooth-hid2hci.rules:ATTR{idVendor}=="0a12|0458|05ac", ATTR{idProduct}=="1000", RUN+="hid2hci --method=csr --devpath=%p"
50-firmware.rules:SUBSYSTEM=="firmware", ACTION=="add", RUN{builtin}="firmware"
69-xserver-xorg-input-wacom.rules:#ATTRS{idVendor}=="056a", ACTION=="add", RUN+="check_driver wacom $devpath $env{ID_BUS}"