From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Date: Wed, 23 Nov 2005 11:26:02 +0000 Subject: Re: rules and RUN key Message-Id: <438451CA.2030705@redhat.com> List-Id: References: <200511230001.45163.ml@deprecated.it> In-Reply-To: <200511230001.45163.ml@deprecated.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kay Sievers wrote: > On Wed, Nov 23, 2005 at 12:01:29AM +0100, Mangus wrote: > >>Hi all, I'm trying to study the RUN key of udev rules, but I really don't >>understand why this rule doesn't work.. >> >>BUS="usb", SYSFS{product}="Sony DSC", KERNEL="sda1", ACTION="add", >>SYMLINK+="digitalcamera", RUN="/opt/kde/bin/digikam" > > > You don't want to run root level programs from udev to show up in your > desktop session. This also can't work, cause digikam has no X display. > > Usually a process in your user session subscribes to device events from > HAL and starts applications as the logged-in user. > > Kay > Also RUN+= would be better. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel