Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Start Syncthing-GTK when I login to my desktop" won't stay checked on Fedora 27 #444

Closed
tristanbrown opened this issue Apr 4, 2018 · 8 comments · Fixed by #446
Closed

Comments

@tristanbrown
Copy link

In the UI Settings, when I check the box "Start Syncthing-GTK when I login to my desktop" and click "Save," the program never starts on login. When I return to that option in the UI Settings, the box is once again unchecked.

@kozec
Copy link
Owner

kozec commented Apr 5, 2018

Can you check if Syncthing-GTK.desktop file is correctly created in ~/.config/autostart? Does it contain "hidden=true" value? There is chance that another configuration tool is disabling autostart, maybe even intentionally :)

Assuming you are running Gnome, going to "Startup applications" and enabling or adding Syncthing-GTK there may be best way to make sure it stays.

@tristanbrown
Copy link
Author

tristanbrown commented Apr 9, 2018

Syncthing-GTK.desktop has Hidden=false and X-GNOME-Autostart-enabled=true.

I tried adding it to the "Startup applications," but it clears every time I reboot.

@martinrotter
Copy link

Same on Archlinux.

@kozec
Copy link
Owner

kozec commented Apr 12, 2018

Same on Archlinux.

Distro shouldn't really play role here, desktop environment should. What are you and @tristanbrown using?

@martinrotter
Copy link

MATE here. Autorun .desktop file seems to get created correctly and app autostarts after reboot. Its just visual thing here that the checkbox is not checked altough it should be.

@ghost
Copy link

ghost commented Apr 15, 2018

It seems that the \n at the end of the line is the problem. So line 454 in tools.py is always false.

@tristanbrown
Copy link
Author

For me, it's definitely not running on reboot. In fact, I have to execute the binary twice each time to get it to actually run. Why would this happen?

@ghost
Copy link

ghost commented Apr 15, 2018

This file as .config/autostart/Syncthing-GTK.desktop works for me on Ubuntu 17.10. Only the checkbox is not working.

[Desktop Entry]
Name=Syncthing-GTK
Exec=/usr/bin/syncthing-gtk
Icon=/usr/share/syncthing-gtk/icons/st-logo-128.png
Comment=GUI for Syncthing
X-GNOME-Autostart-enabled=true
Hidden=false
Type=Application

Repository owner locked and limited conversation to collaborators Apr 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants