From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Jansen Date: Fri, 14 Jun 2002 17:55:22 +0000 Subject: Re: xhotplugd -- project idea Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Friday 14 June 2002 16:34, Ilya Konstantinov wrote: > 2. Providing a way to run graphical (X) applications on HotPlug > triggers. xhotplugd would not provide a GUI, but only means for > applications to "register" a file to be executed upon a HotPlug event. Functionality like this is certainly needed and I would be insterested in helping to realize it. But you could probably also extend the the current hotplug script to communicate with GUI apps. What you would need is a script/program that can send events to the GUI apps, for example by sending information about the event to a named pipe. A daemon of the desktop environment could then listen to that pipe. The advantage of this solution is that a) you can base such an app on the current hotplug system and b) you do not depend on X11, it would also work for console/DirectFB/etc... > - xhotplugd needs a way to "replay" hotplug events as-if they've just > occured upon startup (to simulate insertion of all existing devices). > Things like keyboard and mouse can and should be configured right on > startup, while running applications for hotplug events should wait until > X session loads completely. I am not sure whether this is neccessary. You won't be notified about changes in the non-hotpluggable system configuration, so the desktop environment can not avoid to scan the system on startup anyway. bye... _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ 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