Ubuntu Forums Archive Viewer

Auto run program on USB device insertion?

Archived thread 1207566 from Ubuntu Dev Link Forum. Markdown source: Ubuntu_Dev_Link_Forum/thread_1207566_Auto_run_program_on_USB_device_insertion.md

Original URL About this archive
#1

Is there an easy way to run a specific program on USB device insertion? Kind of like the way Nautilus is launched when you insert a memory stick.

The device looks like a USB com port.

--wally.

#2

take a look to udev rules