This version is a somewhat major rewrite, which moves to using dbus to allow the cli and gui frontends to run as the user while still working with root permissions.
This adds a new command: weresync-daemon
which must be running before either weresync
or weresync-gui
is called. weresync-daemon
must be run as root, but neither of the other commands need be (no more GUIs with root privileges!)
This makes installation a little more complicated, so I recommend you use the .deb file here to install (or if you're on arch, install the AUR package. I don't have it packaged for other distros yet, so continue using pip but not that you need to copy the 'weresync-dbus.conf' file from the resources subpackage to /etc/dbus-1/system.d
in order for weresync-daemon
to run.