On Friday, March 16, 2012 08:46:05 AM Neil Bothwick wrote: > On Fri, 16 Mar 2012 07:13:46 +0100, Joost Roeleveld wrote: > > Auto-starting programs when a device is added. Great, when are we > > getting "autostart" support for CDs and USB-keys and under which > > user-account will these be executed? > > This is for running programs from the computer against the device, not > autorunning programs on the device - such as initialising USB modems.
How long till autorunning programs becomes "the next great thing" on the desktop for Linux? > > That is, untill someone comes up with the "clever" idea of shoving an > > automounter into udev. (Will it then also auto-unmount when I want my > > CD back?) > > That's already been done, > > * sys-apps/uam > Available versions: 0.2.1 (~)0.3 > Homepage: https://github.com/mgorny/uam/ > Description: Simple udev-based automounter for removable USB > media This is an automounter, not autounmounter... What I would like is one where a CDrom is automounted when inserted and when I press the eject-button, the cdrom is umounted and I get my cd back... The action that (used to) cause BSODs on MS Windows... > I also have a rule on a headless media server to run a script that > mounts a USB stick, copies files to it, unmounts it and lets me know when > it is done. I can mark files for copying at any time and my wife can just > plug in a stick when she wants to copy them for viewing on a small, > non-connected TV by her treadmill (her treadmill, I emphasise - I find a > keyboard and trackball give me all the exercise I want). Why not connect that TV? ;) -- Joost