Yet another Syncthing Tray

New release 0.6.3 is available.

  • Again some fixes and small improvements.
  • I also updated the static Windows binaries.
  • This version also should at least compile for MacOS X. So anyone interested in a Mac version could try to build it and investigate/debug run-time issues. The improved error logging might also help.
  • I also started to work on a Plasmoid (widget for Plasma 5 desktop). It is still incomplete and experimental.

Full list of changes: https://github.com/Martchus/syncthingtray/compare/v0.6.2...v0.6.3

2 Likes

Here a few more screenshots showing the Plasma 5 integration (Plasmoid and Dolphin menu):

2 Likes

New release 0.7.0 is available.

  • Fix some bugs (as always)
  • Improve the CLI syncthingctl, eg. Bash completion now also completes directory/device names
  • Allow re-ordering connection configurations
  • Plasmoid should be usable now
  • Other small improvements

Full list of changes: https://github.com/Martchus/syncthingtray/compare/v0.6.3...v0.7.0

2 Likes

New release 0.7.1 is available.

  • Fix some bugs (mostly concerning the Plasmoid)
  • Allow turning use of escape sequences off
  • Show native directory selection when double-clicking on directory input on web UI

Full list of changes: https://github.com/Martchus/syncthingtray/compare/v0.7.0...v0.7.1

1 Like

New release 0.7.2 is available.

Full list of changes: https://github.com/Martchus/syncthingtray/compare/v0.7.1...v0.7.2

New release 0.7.3 is available.

Full list of changes: https://github.com/Martchus/syncthingtray/compare/v0.7.2...v0.7.3

(Does not fix the problems mentioned in Proper way for "Sync complete" notification and actual idle detection yet.)

Hi

Can you also provide Debian debs? I wanted to try but it is a bit involved for my skills to get that going.

thanks

@totoba See https://github.com/Martchus/tageditor/issues/33#issuecomment-362812955

Note that “stable” Debian often provides very outdated packages. For Syncthing Tray I would recommend to use Qt 5.9 or newer and I’m not sure whether Qt < 5.8 is still sufficient.

No pressure, but why not provide an app image like Krita does?

https://krita.org/en/download/krita-desktop/

@totoba That is definitely worth a thought.

Look what Linus said about it :wink:

Linus Torvalds

This is just very cool.

Anyway I think it would be nice if it was more accessible. I would like to use it for sure.

Yes, I’m currently reading their README. This seems to involve packaging all dependencies, including Qt. The tool linuxdeployqt might be helpful.

I suppose the following features will not be possible, though:

  • Dolphin integration
  • Plasmoid for Plasma 5 desktop
  • using any Qt Widget theme provided by the distribution
  • further integration for desktop environments (eg. GTK or KDE file dialogs)
1 Like

I created an AppImage using OBS. It is actually not more than a few lines.

Due to an issue with OBS/AppImage the build currently fails.
I could fix this locally, though. My builds for the latest Git commit are available here: https://martchus.no-ip.biz/repo/AppImage/2018-02-10

Limitations:

  1. only x86_64 build available so far
  2. creating a menu entry is not implemented so far
  3. adding the tray to auto-start via settings does not work (it is currently trying to add the temporarily mounted executable rather than the AppImage path)
  4. The CLI syncthingctl is not available (creating an AppImage seems to require a *.desktop file)
  5. no Wayland platform plugin included so far
  6. Bash completion not possible
  7. Dolphin integration not possible
  8. Plasmoid not possible
  9. using custom Qt Widgets style not possible
  10. no further integration for desktop environments (eg. GTK or KDE file dialogs)
  11. the bundled Qt is quite old because those AppImages are supposed to be built under old distributions for better compatibility
  12. Despite 11., it might not work under very old distributions.

I think that only 1. to 5. could be implemented or worked around.

1 Like

The CLI developed as side-project of this tray will finally support changing the configuration in the next release.

Since it is hard to provide a nice CLI interface for modifying nested data structures like the Syncthing config, I decided just to open an editor like systemctl edit ... does. But this seemed a bit too boring, so I also implemented a options which allow to modify the configuration by running JavaScript code like this example.

syncthingctl --help:

cat
  prints the current Syncthing configuration

edit
  allows editing the Syncthing configuration using an external editor
  --editor [editor name] [editor option] ...
    specifies the editor to be opened
    default environment variable: EDITOR
  --script [path]
    runs the specified UTF-8 encoded ECMAScript on the configuration rather than opening an editor
  --js-lines [line] ...
    runs the specified ECMAScript lines on the configuration rather than opening an editor
  --dry-run
    writes the altered configuration to stdout instead of posting it to Syncthing

Like any other commands of the CLI, it works for remote instances as well (by specifying the --url argument).

New release 0.8.0 is available.

  • As already mentioned, syncthingctl can now modify the configuration.
  • There are notifications for new folders or devices.
  • Sync complete notification now uses FolderCompletion event.

Full list of changes since v0.7.3: https://github.com/Martchus/syncthingtray/compare/v0.7.3...v0.8.0

Hi, how do I go about building the latest version for windows?

There are statically linked Windows binaries attached on the latest GitHub release: https://github.com/Martchus/syncthingtray/releases

If you looked at my website for dynamically linked binaries: Yes, those are outdated. Since the statically linked ones should be sufficient I currently don’t put any effort into it.

1 Like

Ah, you want to build it yourself? Have a look at https://github.com/Martchus/PKGBUILDs/tree/master/syncthingtray. Those PKGBUILD files are for building the Windows version under Arch Linux, but they show required dependencies and commands to be executed quite clear. So you can use that information to build under other platforms as well. Of course there are also general build instructions.

New release 0.9.1 is available.

I don’t create a post for every release so the list of changes since the last post is quite long: https://github.com/Martchus/syncthingtray/compare/v0.8.0...v0.9.1

I mainly did some small adjustments since the tray basically covers my own use-cases. The most notable change is the use of font awesome in accordance with the official web UI.

I’ve also been able to build and test under s390x. I’ve created a SLES repo on OBS which covers also Syncthing itself.

The screenshots of the initial post are now pretty outdated. There’s no way to amend the initial post, right? It would be nice to add at least a link to the more frequently updated screenshot section on GitHub: https://github.com/Martchus/syncthingtray#screenshots

1 Like

The next release will feature customizable icons. This way the icon can be adjusted to integrate much better with the rest of the system tray. Here’s a screenshot how it might look like under Tumbleweed with Plasma 5:

2 Likes