GNOME Bugzilla – Bug 334173
Gnome User Share not enabled on session start
Last modified: 2008-01-18 17:07:48 UTC
Please describe the problem: Even though I have Share Files turned on in Personal File Sharing each time I log into Gnome I have to check then uncheck the enable box for my public share to appear to the other machines on my network. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Which distribution is that? Try adding gnome-user-share to your session might help. I am pretty sure the installation process of your distribution didnt add gnome-user-share to the session as it should have done. This might be fixable with the new autostart desktop foo. I am going to have a look at this on the WE
Im running Ubuntu Dapper latest. gnome-user-share doesnt get added to the session start.
Yeah, you should add it to the session manually as a workaround then.
Cool. That seems to have solved it... I have also e-mailed the package maintainer. Thanks
How does this autostart foo work? Just put a normal .desktop file into /usr/share/autostart or is more required? Where can I read about it?
Created attachment 61153 [details] [review] gnome-session patch to start g-u-s
Note: Its possible this could be solved in other ways.
Ok, I fixed this in ubuntu by making the above new function a separate program that get's called by a autostart .desktop file. Thanks
Fixed using autostart in SVN trunk. 2008-01-18 Bastien Nocera <hadess@hadess.net> * Makefile.am: * configure.in: * gnome-user-share.desktop.in.in: * user_share.c: (main): Use the XDG autostart spec to automatically start gnome-user-share on login, exit straight away if file sharing isn't enabled (Closes: #334173)