RE: How can I bring up a dialogue window when a usb device plugged?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I will.
Thanks so much for your feedback.

Andy
----------------------------------------
> Date: Mon, 11 May 2009 15:54:48 -0700
> From: greg@xxxxxxxxx
> To: andychen_ca@xxxxxxxxxxx
> CC: linux-hotplug@xxxxxxxxxxxxxxx
> Subject: Re: How can I bring up a dialogue window when a usb device plugged?
>
> On Mon, May 11, 2009 at 03:53:52PM -0700, Andy Chen wrote:
>>
>> Hi Greg,
>>
>> Thanks for the advice.
>>
>> For the mechanism you mentioned, does it mean that I should create a
>> daemon with libudev to keep on tracking the event coming out and
>> bringing the gui window from there?
>
> Yes.
>
>> Is it the method employed in current kernel for the file explore auto
>> pop up when usb hard drive plug in?
>
> The kernel does no such thing, that is up to the desktop infrastructure.
> I think Gnome uses HAL and dbus to do this currently, KDE uses much the
> same thing as well. I suggest you go look at their code if you have
> questions.
>
> good luck,
>
> greg k-h

_________________________________________________________________
Create a cool, new character for your Windows Live™ Messenger. 
http://go.microsoft.com/?linkid=9656621--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux