Re: Hotplug running user scripts
On Tue, Dec 28, 2004 at 07:26:52AM +1030, Romana Branden wrote:
> In that spirit, look at:
> http://www.gphoto.org/doc/manual/permissions-usb.html#setting-up-linux-hotplug
> I use usbcam.x11-app to launch gtkam when I plug in our camera, but you can
> change it to whatever you want...all this should give you a good starting
> point:)
Thanks for the pointer. That script assumes you already know the user
and $DISPLAY to use.
I guess I can assume $DISPLAY is :0 for the connected machine. But
then the issue is what user is currently connected to :0?
--
Bill Moseley
moseley@hank.org
Reply to: