stc icon indicating copy to clipboard operation
stc copied to clipboard

Documenting how to integrate stc with the Syncthing debian package

Open colemar opened this issue 10 months ago • 2 comments

You may want to add to README.md that if Syncthing has been installed from a debian package (see https://apt.syncthing.net/) then a symlink is needed to make stc happy:

$ file ~/.config/syncthing
/home/username/.config/syncthing: symbolic link to /home/username/.local/state/syncthing

colemar avatar Feb 11 '25 13:02 colemar

Thank you for reporting. I think that instead of adding this to the readme, this could be solved in the code by looking at additional location?

tenox7 avatar Feb 14 '25 08:02 tenox7

@tenox7 Sure, this would be even better.

colemar avatar Feb 14 '25 09:02 colemar

It's not a Debian thing .local/state is the new default.

Syncthing: Changed in version 1.27.0: The default location of the configuration and database directory on Unix-like systems was changed to $XDG_STATE_HOME/syncthing or $HOME/.local/state/syncthing. Previously the default config location was $XDG_CONFIG_HOME/syncthing or $HOME/.config/syncthing.

christer avatar Mar 29 '25 19:03 christer

I see no harm in adding all of them.

It would be nice if someone could send a PR. Otherwise will be a few weeks on my end.

tenox7 avatar Apr 02 '25 06:04 tenox7