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

Re: GTK as hotplug client



On Thu, 2004-07-08 at 13:05 -0300, John Coppens wrote:
> Well, I don't know what the exact denomination would be. Here's the
> problem:
> 
> - I have a digital cam (simulating a USB-storage device).
> - I wrote a simple script in Perl that mounts it, unloads the
>   images, clears the images, then umounts. All on call from the
>   usb-agent from hotplug. Works fine.
> 
> I'd like to have a more versatile program to start though, so I can ask
> the user if he wants to delete the images or not, etc. I wanted to do this
> in GTK, because perlTk is not available everywhere.
> 
> So. What's the problem? hotplug normally does not have the same screen
> priviledges as the owner of the screen where the program should pop up.
> What is the correct way to solve this? I can imagine that with the wave of
> hotplugable devices, there should be some more elegant way than to enable
> xhosts +.
> 
> TIA,
> John
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

This is currently being solved by gnome-volume-manager and the project
utopia stack (udev, dbus, hal, etc.).  g-v-m has been proposed for
inclusion in Gnome-2.8.

-- 
John (J5) Palmieri
Associate Software Engineer
Desktop Group
Red Hat, Inc.
Blog: http://martianrock.com



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