From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 22 Nov 2005 23:18:48 +0000 Subject: Re: rules and RUN key Message-Id: <20051122231848.GB21094@vrfy.org> 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 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 ------------------------------------------------------- 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