Linux yandex disk indicator

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Panel indicator for Yandex-disk CLI daemon (linux)

License

slytomcat/yd-go

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Panel indicator for Yandex-disk CLI daemon (linux)

Screenshot

This version of indicator uses B-Bus for communication to the status notification plugin. Therefore it’s fully independent of the desktop environment of Linux distribution.

Indicator responsible only for showing the synchronisation status in the desctop panel. All the synchronisation operations are perfomed by yandex-disk utility from Yandex.

I’ve made it as it is rather well-known task for me: I’ve made the similar indicator (GTK+ vesion) in YD-tools project in Python language: https://github.com/slytomcat/yandex-disk-indicator.

Читайте также:  Linux can switch user

Indicator shows current status by different icons in the status notification area. During synchronization the icon is animated. Indicator supports dark and light themes. The current theme can be changed via menu.

Desktop notifications inform user when daemon started/stopped or synchronization started/stopped. Notifications can be switched off.

The status notification icon has menu that allows to:

  • see the current daemon status and cloud-disk properties (Used/Total/Free/Trash)
  • see paths of the last synchronized files and open them (in default program)
  • start/stop daemon
  • see the originl output of daemon in the current user language
  • open local syncronized path
  • open Yandex.Disk in browser
  • open help/support page
  • change the indicator settings (see «Theme», «Notifications», «StartDaemon» and «StopDaemon» settings below) )

Application uses its configuration file with dafault path ~/.config/yd-go/default.cfg file. File is in JSON format and contain following options:

  • «Conf» — Path to daemon config file (default «~/.config/yandex-disk/config.cfg». This setting can be changed by the -config application option.
  • «Theme» — Icons theme name (default «dark», may be set to «dark» or «light»). This setting can be changed via indicator menu.
  • «Notifications» — Display or not the desktop notifications (default true). This setting can be changed via indicator menu.
  • «StartDaemon» — Flag that shows that the daemon should be started on app start (default true). This setting can be changed via indicator menu.
  • «StopDaemon» — Flag that shows that the daemon should be stopped on app closure. This setting can be changed via indicator menu.

Download linux-amd64 binary from releases, install it and use or get source from master branch and unzip or just clone repository.

You must have Golang v1.18+ installed to build the binary. There is no additional libraries/packages requered for building. Just jump into project directory and run:

Or manually copy yd-go to some location listed in the PATH (/usr/local/bin for example).

 yd-go [-debug] [-config=] -config string Path to the indicator configuration file (default "~/.config/yd.go/default.cfg") -debug Alow debugging messages to be sent to stderr -version Print out version information and exit 

NOTE: the yandex-disk CLI utility must be installed and configured before starting of the yd-go.

About

Panel indicator for Yandex-disk CLI daemon (linux)

Источник

Читайте также:  Linux форматировать карту памяти

GUI для консольного клиента Linux

Вы можете работать с консольным клиентом с помощью GUI от сторонних разработчиков.

Название Описание
YD-tools Утилита поддерживает все основные функции консольного клиента. Она отображает текущее состояние синхронизации в виде значка в панели задач и может сообщать об изменениях с помощью всплывающих уведомлений. Также добавляет в контекстное меню пункты, отвечающие за публикацию.
Ya-gui Утилита позволяет запустить демон в обычном или расширенном режиме (с дополнительными опциями). Добавляет в контекстное меню пункт, отвечающий за публикацию. В запущенном состоянии позволяет открыть или закрыть доступ к файлам, остановить демон, а также отображает информацию о текущем статусе демона.
Yandex.Disk ServiceMenu Позволяет получить быстрый доступ к сервису Яндекс Диск: скопировать публичную ссылку на файл или папку в буфер обмена, сохранить файл в вашу папку Яндекс Диска.
Название Описание
YD-tools Утилита поддерживает все основные функции консольного клиента. Она отображает текущее состояние синхронизации в виде значка в панели задач и может сообщать об изменениях с помощью всплывающих уведомлений. Также добавляет в контекстное меню пункты, отвечающие за публикацию.
Ya-gui Утилита позволяет запустить демон в обычном или расширенном режиме (с дополнительными опциями). Добавляет в контекстное меню пункт, отвечающий за публикацию. В запущенном состоянии позволяет открыть или закрыть доступ к файлам, остановить демон, а также отображает информацию о текущем статусе демона.
Yandex.Disk ServiceMenu Позволяет получить быстрый доступ к сервису Яндекс Диск: скопировать публичную ссылку на файл или папку в буфер обмена, сохранить файл в вашу папку Яндекс Диска.

Если вы знаете о других GUI для консольного клиента и их нет на этой странице, пожалуйста, сообщите нам об этом через форму внизу страницы

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Panel indicator (GTK+) for YandexDisk CLI client for Linux

License

slytomcat/yandex-disk-indicator

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Читайте также:  Astra linux doctor web

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

yandex-disk-indicator

Desktop panel indicator for YandexDisk CLI client for Linux (GTK+)

If You are looking for YandexDisk indicator for KDE or other non-GTK based DE take a look on yd-go. yd-go is a little simpler indicator written in golang. It uses D-BUS to communicate with the desktop notification plugin, that’s why yd-go is fully independent off Desktop Environment.

Indicator responsible only for showing the synchronisation status in the desctop panel. All the synchronisation operations are perfomed by yandex-disk utility from Yandex.

See installation instruction in Wiki

English, Russian, Greek, Bulgarian, Belorussian.

Indicator code assumes that:

  • yandex-disk-indicator is copied to /usr/bin/yandex-disk-indicator and marked as executable (chmod a+x . )
  • fm-actions/ and icons/ folders, ya-setup and *.py files are located in /usr/share/yd-tools folder
  • *.desktop files were placed in /usr/share/applications folder
  • compiled language files (translations/*.mo) are located in the system depended folders (i.e. usr/share/locale//LC_MESSAGES/ in Linux)
  • ya-setup utility translations files (translations/ya-setup*.lang) are located in /usr/share/yd-tools/translation folder NOTE: All action above can be done via running of build/install.sh script
  • indicator settings are stored in ~/.config/yd-tools/yandex-disk-indicator.conf (file is automatically created on the first start).

build — everything that need to build the .deb package or source.changes file (only change key for signatures). Additional tools are required: devscripts, debhelper and dput (if you want to upload package, for example, to launchpad PPA).

  • install.sh — script to install the indicator
  • prepare.sh — creates the package build/instalation image in build/yd-tools/
  • clean.sh — clean build directory
  • build_deb.sh — creates DEB package
  • make_source.changes.sh — prepares sources for publication
  • publish_to_PPA.sh — prepares sources and publish it to my ppa

Источник

Оцените статью
Adblock
detector