After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 731862 - Get started by the g-s-d sharing plugin
Get started by the g-s-d sharing plugin
Status: RESOLVED FIXED
Product: vino
Classification: Applications
Component: Server
unspecified
Other All
: Normal normal
: ---
Assigned To: Vino Maintainer(s)
Vino Maintainer(s)
Depends on:
Blocks: 731726
 
 
Reported: 2014-06-18 14:48 UTC by Bastien Nocera
Modified: 2018-01-27 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Get started by the g-s-d sharing plugin (1.81 KB, patch)
2014-06-18 14:48 UTC, Bastien Nocera
accepted-commit_now Details | Review
Get started by the g-s-d sharing plugin (5.99 KB, patch)
2014-06-18 15:34 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2014-06-18 14:48:05 UTC
.
Comment 1 Bastien Nocera 2014-06-18 14:48:09 UTC
Created attachment 278691 [details] [review]
Get started by the g-s-d sharing plugin

Remove the AutostartCondition so that we're started by the
gnome-settings-daemon sharing plugin, not by gnome-session
directly.
Comment 2 David King 2014-06-18 14:54:47 UTC
Comment on attachment 278691 [details] [review]
Get started by the g-s-d sharing plugin

Looks fine, please push
Comment 3 Bastien Nocera 2014-06-18 15:12:10 UTC
I'll wait until the sharing g-s-d plugin lands :)
Comment 4 Bastien Nocera 2014-06-18 15:34:07 UTC
Created attachment 278697 [details] [review]
Get started by the g-s-d sharing plugin

Remove the AutostartCondition so that we're started by the
gnome-settings-daemon sharing plugin, not by gnome-session
directly.
Comment 5 Bastien Nocera 2014-06-24 09:50:15 UTC
Attachment 278697 [details] pushed as 18be3c5 - Get started by the g-s-d sharing plugin
Comment 6 Joakim Tjernlund 2016-03-09 16:45:20 UTC
Is this really needed?

I ask since removing this (and vino-preferences) makes it impossible
to autostart/configure using GUI in non GNOME desktops.
Comment 7 Bastien Nocera 2016-03-09 16:54:25 UTC
(In reply to Joakim Tjernlund from comment #6)
> Is this really needed?
> 
> I ask since removing this (and vino-preferences) makes it impossible
> to autostart/configure using GUI in non GNOME desktops.

It certainly isn't impossible. You just need to copy/paste the .desktop file in the xdg-autostart directory (either the user's or the system's) to have it auto-started by your session manager.
Comment 8 Joakim Tjernlund 2016-03-09 17:02:50 UTC
Right, I can manually do it.
I do wonder why vino was moved from XDG to gnome-settings though, is there
something in GNOME that needs this change?

vino-preferences will not come back by moving stuff to XDG, it
would be nice if vino-prefs could be a configure option so other
DEs could use a GUI to setup vino
Comment 9 Bastien Nocera 2016-03-09 17:06:57 UTC
(In reply to Joakim Tjernlund from comment #8)
> Right, I can manually do it.
> I do wonder why vino was moved from XDG to gnome-settings though, is there
> something in GNOME that needs this change?

Yes, it's the Sharing panel listed in the blocker bugs for this one:
https://bugzilla.gnome.org/show_bug.cgi?id=731726

And explained in more details here:
http://www.hadess.net/2014/06/firewalls-and-per-network-sharing.html

> vino-preferences will not come back by moving stuff to XDG, it
> would be nice if vino-prefs could be a configure option so other
> DEs could use a GUI to setup vino

That's the other desktop environment's problem, to be honest.
Comment 10 Joakim Tjernlund 2016-03-09 18:14:23 UTC
(In reply to Bastien Nocera from comment #9)
> (In reply to Joakim Tjernlund from comment #8)
> > Right, I can manually do it.
> > I do wonder why vino was moved from XDG to gnome-settings though, is there
> > something in GNOME that needs this change?
> 
> Yes, it's the Sharing panel listed in the blocker bugs for this one:
> https://bugzilla.gnome.org/show_bug.cgi?id=731726
> 
> And explained in more details here:
> http://www.hadess.net/2014/06/firewalls-and-per-network-sharing.html

I see, thanks for explaining!

I am trying to adapted the XDG destop file using:
 AutostartCondition=GSettings org.gnome.Vino enabled
but this does not work.
Seems that GSettings is gnome specific?
What should I write for MATE?

> 
> > vino-preferences will not come back by moving stuff to XDG, it
> > would be nice if vino-prefs could be a configure option so other
> > DEs could use a GUI to setup vino
> 
> That's the other desktop environment's problem, to be honest.
Comment 11 Bastien Nocera 2016-03-09 18:20:45 UTC
(In reply to Joakim Tjernlund from comment #10)
> (In reply to Bastien Nocera from comment #9)
> > (In reply to Joakim Tjernlund from comment #8)
> > > Right, I can manually do it.
> > > I do wonder why vino was moved from XDG to gnome-settings though, is there
> > > something in GNOME that needs this change?
> > 
> > Yes, it's the Sharing panel listed in the blocker bugs for this one:
> > https://bugzilla.gnome.org/show_bug.cgi?id=731726
> > 
> > And explained in more details here:
> > http://www.hadess.net/2014/06/firewalls-and-per-network-sharing.html
> 
> I see, thanks for explaining!
> 
> I am trying to adapted the XDG destop file using:
>  AutostartCondition=GSettings org.gnome.Vino enabled
> but this does not work.
> Seems that GSettings is gnome specific?
> What should I write for MATE?

You don't write anything, you copy the .desktop file into the xdg-autostart directory, usually /etc/xdg/autostart/
Comment 12 Joakim Tjernlund 2016-03-09 18:23:55 UTC
(In reply to Bastien Nocera from comment #11)
> (In reply to Joakim Tjernlund from comment #10)
> > (In reply to Bastien Nocera from comment #9)
> > > (In reply to Joakim Tjernlund from comment #8)
> > > > Right, I can manually do it.
> > > > I do wonder why vino was moved from XDG to gnome-settings though, is there
> > > > something in GNOME that needs this change?
> > > 
> > > Yes, it's the Sharing panel listed in the blocker bugs for this one:
> > > https://bugzilla.gnome.org/show_bug.cgi?id=731726
> > > 
> > > And explained in more details here:
> > > http://www.hadess.net/2014/06/firewalls-and-per-network-sharing.html
> > 
> > I see, thanks for explaining!
> > 
> > I am trying to adapted the XDG destop file using:
> >  AutostartCondition=GSettings org.gnome.Vino enabled
> > but this does not work.
> > Seems that GSettings is gnome specific?
> > What should I write for MATE?
> 
> You don't write anything, you copy the .desktop file into the xdg-autostart
> directory, usually /etc/xdg/autostart/

But I want the autostart to be conditional(default off) so that my users can
change as they please in the startup-applications app.
Comment 13 Bastien Nocera 2016-03-10 11:06:05 UTC
Then use the user's xdg autostart directory. I mentioned that in comment 7...
Comment 14 Khurshid Alam 2018-01-27 10:23:07 UTC
Unity panel depends on the "enabled" key and Unity doesn't use gsd. Can this be reverted?
Comment 15 Bastien Nocera 2018-01-27 16:11:20 UTC
(In reply to Khurshid Alam from comment #14)
> Unity panel depends on the "enabled" key and Unity doesn't use gsd. Can this
> be reverted?

What "Unity panel"? A fork of gnome-control-center? If so, it will need to change. The problem is however fixed now that Ubuntu uses GNOME upstream, so it's really not worth the time.