-
Notifications
You must be signed in to change notification settings - Fork 30
Yandex disk indicator
Yandex.disk Indicator is python wrapper for yandex-disk CLI utility. It shows synchronization status in desktop panel (within indicators plugin) and inform about synchronization status changes via desktop notification (notifications can be switched off). Indicator menu shows the Yandex-disk status and properties (total, used and available space) and list of last synchronized files. Raw output from 'yandex-disk status' call can be reviewed by click on current status. In settings menu you can tune indicator behavior and setting of yandex-disk daemon.
Indicator also provides file-manager extensions for: Nautilus, Thunar, Nemo, Dolphin, Pantheon-files, Caja. The extensions allows to publish and unpublish files/catalogs from file-manager's context menu.
Interface languages supported: English, Russian, Greek, Bulgarian, Belorussian.
Also pay your attention to the little simplified versions of the indicator yd-go. It uses D-BUS to communicate with the desktop notification plugin, that's why yd-go is fully independent off Desktop Environment.
First install the Yandex-disk CLI utility (see instruction on this Yandex support page)
Select the appropriate method of installation of the three described below (installation of DEB/RPM package or from source):
DEB-based distributions (Ubuntu/Debian and derivatives)
-
Add source and key into your package management system (apt):
sudo add-apt-repository ppa:slytomcat/ppa
-
Update package directory and install indicator
sudo apt-get update
sudo apt-get install yd-tools
All future updates will come automatically from Launchpad PPA.
RPM-based distributions RPM packages with the Indicator can be found here or here for Fedora. Install RPM via your package manager.
Installing from GitHub sources There is no need to compile the sources as the Indicator is written in python/bash code.
- Check that all dependencies are met. You can find the full list of dependecies here.
- Download latest release from GitHub.
- Unzip the archive with sources.
- Go to sub-catalog build
- Run the install.sh script with root privileges (sudo ./install.sh).
NOTE: As this type of installation is done without package management system - there are no automatic updates. You have to manually repeat the described procedure again to update the indicator to a new version.
You can configure connection to Yandex.disk in console (run: yandex-disk setup) or just run the Indicator and follow through the configuration within GUI interface.
Most indicator setting are available in the Settings dialogue that can be opened from the indicator icon menu. You can choose the settings for:
- The automatic indicator startup on system load (enabled by default),
- Desktop notification messages (enabled by default),
- Icon theme (default theme is for dark panel but You can switch it to theme for light panel)
- File-manager extensions (enabled by default)
Each daemon settings (see FAQ to configure several daemons) has following options:
- The daemon auto-start on indicator startup (enabled by default)
- Automatic stop of daemon on exit from indicator (disabled by default)
- Read-Only mode - do not send local changes to cloud (disabled by default)
- Overwrite mode - overwrite local changes by files from cloud in read-only mode (disabled by default)
- Excluded folder - local folders that will not be synchronized with cloud (empty list by default)
Note: You have to stop&start daemon to apply last three settings.
You can change the original indicator icons on your own icons. Original set of icons is in /usr/share/yd-tools/icons/ (dark and light themes are in corresponding sub-directories). User settings for icons are in ~/.config/yd-tools/icons/ (the same structure as in the original icon folder) See icons/readme for more details.