Re: [PATCH spice-gtk 2/3] Add a desktop-integration helper class

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

 



Hi

----- Mensaje original -----
> > Also, changing the user settings looks like the wrong approach.
> > Perhaps something similar to screensaver Inhibit on
> > org.gnome.SessionManager is needed?
> 
> Something like screensaver Inhibit on org.gnome.SessionManager would
> be ideal,
> but that won't help us with RHEL-6 (gnome-2), kde / xfce / etc. Also

Any solution will probably specific to a desktop, and your patch doesn't seem different since it addresses gnome 3 that we can still modify.

> One possible idea would be the following:
> -we add a /usr/libexec/spice-gtk-<arch>/spice-desktop-integration
> executable,
>   which listens on a unix socket under $HOME
> -that process controls disabling / enabling automount, screensaver,
> etc.

Sounds like you are trying to proxy what should be in gnome-settings-daemon. If another process decides to implement the same thing, they will conflict.

> -one or more spice-gtk sessions can give it (un)inhibit-automount
> commands,
>   when inhibiting the spice-gtk sessions must keep the unix socket
>   open, closing
>   it is an automatic uninhibit.

This kind of connection can be initiated and tracked with dbus.

> -this process gets started the first time it is needed, and exits
> when the
>   session dbus goes away

This is trivial to do thank to dbus service activation.
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]