On Sat, March 23, 2013 5:39 am, Jeremy Jongepier wrote:
On 03/23/2013 11:29 AM, Ralf Mardorf wrote:
Perhaps this can do the job. I've got no time
to try it now, since it
seems to be too complicated for me to do it on the quick.
"udevil - udevil "mounts and unmounts removable devices [snip] It can
also selectively automatically start applications or execute commands
after mounting [snip]" -
https://wiki.archlinux.org/index.php/Udev#Automounting_udisks_wrappers
An USB MIDI drumpad is not a removable device that can be mounted.
Whats the difference?
Auto mount -> device gets plugged in -> mount gets run as user
drumpad -> device gets plugged in -> script gets run as user
In both cases some binary gets run to deal with the USB device that was
plugged in.
--
Len Ovens
www.OvenWerks.net