I am using udev rules to detect removable drives which executes a script having only this line:
notify-send "Drive detected".
1.My udev rules are perfect.Had them checkedCode:#!/bin/bash notify-send "Drive detected"
2.Script is getting executed.Tested it by using touch /tmp/test command in the script.
3.The script works fine when run manually.
What is the problem?
Bookmarks