linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Harald Hoyer <harald@redhat.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: rules and RUN key
Date: Wed, 23 Nov 2005 11:26:02 +0000	[thread overview]
Message-ID: <438451CA.2030705@redhat.com> (raw)
In-Reply-To: <200511230001.45163.ml@deprecated.it>

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_id\x16845&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

  parent reply	other threads:[~2005-11-23 11:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-22 23:01 rules and RUN key Mangus
2005-11-22 23:18 ` Kay Sievers
2005-11-23 11:26 ` Harald Hoyer [this message]
2005-11-23 18:44 ` Mangus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=438451CA.2030705@redhat.com \
    --to=harald@redhat.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).