All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Waitz <tali@admingilde.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Help Please
Date: Wed, 19 May 2004 15:51:18 +0000	[thread overview]
Message-ID: <20040519155118.GN11542@admingilde.org> (raw)
In-Reply-To: <40AB352F.2050001@salzburg-online.at>

[-- Attachment #1: Type: text/plain, Size: 914 bytes --]

hi :)

On Wed, May 19, 2004 at 12:21:35PM +0200, Dalibor Malek wrote:
> When I start the script ./usb-storage.sh it?s running properly.
> 
> My problem is, where I have to tell the hotplug service that it should 
> start my script.
> Simply to call the script ?usb-storage? and copy it under 
> ////etc/hotplug/usb// with 777 doesn?t do it(I tried).

hotplug executes all scripts as root and with minimal environment.
it does not have access to your x-server and thus cannot open any
windows on your desktop (there may be even multiple users logged in,
how should it know where it should display its windows)

you need a program that listens for hotplug events and starts
openoffice when you insert your usb drive.
when you start that program from your x session, it has access to
your display and thus can open windows.
look at gnome-volume-manager. it does exactly that.

-- 
Martin Waitz

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-05-19 15:51 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-19 10:21 Help Please Dalibor Malek
2004-05-19 15:51 ` Martin Waitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-13  2:36 help please 刘瑞丰
     [not found] ` <93642ebd-99e8-fece-fad2-89aeabef677b@gmail.com>
     [not found]   ` <CAJ5YScWP=SWnXCk-jhNtvDPZ=4Zc3cwToMka5O9Jx4ER9COr=Q@mail.gmail.com>
     [not found]     ` <CAJ5YScVJd2Uacx0vb_L7oLQGs+JQJkHqkG4tuLkvnC+RALDUMg@mail.gmail.com>
2017-03-14  6:31       ` Gémes Géza
2017-03-14 16:48 ` Wei Liu
2014-04-17 17:15 Help please younis albadre
2012-05-04 18:57 Sandro Souza
2012-05-07 16:12 ` dimas
2012-05-09 18:24   ` Sandro Souza
2012-05-09 20:52     ` Edward Shishkin
2012-05-09 21:03       ` Sandro Souza
2010-06-15  2:01 Alexander Samad
     [not found] ` <AANLkTinQkRf_ZkN5qw1rsK5MY7pB1NjFd5CiLaPa-ZOU-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-15 13:15   ` Trond Myklebust
     [not found]     ` <1276607740.4922.2.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2010-06-17 12:42       ` Alexander Samad
     [not found]         ` <AANLkTinPbTJ7xrcCHnAP54OKjY5HjZjmA4H4zJjFmeqf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-17 13:46           ` Alexander Samad
     [not found] <OF4A69EBA3.01FB682F-ON852575DE.0051EB68-802575DE.00521E0F@pt.com>
     [not found] ` <efbcb4173b866e6407787256ba1ea15a.squirrel@neil.brown.name>
     [not found]   ` <OF9266A41E.AA29AB09-ON852575DE.007396F5-802575DE.007403D4@pt.com>
2009-06-24  3:29     ` help please Neil Brown
     [not found]       ` <OF57F66995.3162498E-ON852575DF.002B0896-802575DF.002C4606@pt.com>
     [not found]         ` <571272403b4a19fc0ac3e14ed5cbf7f4.squirrel@neil.brown.name>
     [not found]           ` <OF8294A8F0.9741D566-ON852575DF.0030728E-802575DF.00307250@pt.com>
2009-06-24  9:28             ` Neil Brown
2008-07-08 14:35 Help Please Evan C Hildebran
2007-12-14 14:29 Help please Cyber Source
2007-12-14 14:43 ` Carlos Corbacho
     [not found]   ` <47629A2E.7060809@thecybersource.com>
2007-12-15 18:20     ` Carlos Corbacho
2007-12-14 15:22 ` ice`
2007-12-14 19:24   ` Len Brown
2007-12-16 21:08     ` ice`
2007-12-14 19:28 ` Len Brown
2005-05-19  6:23 help please Travis Griggs
2005-05-19  6:23 ` Jean Delvare
2003-06-11 16:11 Help Please Nellie Stevenson
2003-04-29 16:55 Help please Karthik RC
2003-04-29 11:46 ` SaVaGE
2003-04-29 15:56 help please Karthik RC

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=20040519155118.GN11542@admingilde.org \
    --to=tali@admingilde.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.