Tagged Questions
2
votes
1answer
183 views
How to execute a shellscript when I plug-in a USB-device
I want to execute a script when I plug in a device in my Linux machine. For example, run xinput on mouse or a backupscript on a certain drive.
I have seen a lot of articles on this, most recently ...
1
vote
0answers
101 views
Program does not terminate when called from udev
I've written a program in C#/Mono that probes a device to determine if it is a modem.
The program works fine from the command line. However, when it is called from PROGRAM= in a udev rule, the ...
3
votes
1answer
2k views
xrandr command not exectured within shell command called from udev rule
I own a Thinkpad with an UltraBase (a docking station). My operating system is Ubuntu 10.10. Now, I would like to react on the "docking" event by setting the resolution of my external display ...