Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added actions for file manager #158

Closed
wants to merge 1 commit into from
Closed

Conversation

antohami
Copy link
Contributor

@antohami antohami commented Aug 3, 2016

Я написал actions, которые должны работать в основных файловых менеджерах: nautilus, nemo, caja, thunar, pcmanfm. Все эти файловые менеджеры поддерживают действия вида $HOME/.local/share/file-manager/ваше_действие.desktop Также я подправил /usr/share/yd-tools/ya-setup, чтобы он автоматически устанавливал их в $HOME/.local/share/file-manager.

@slytomcat
Copy link
Owner

Пока файловые расширения ставились из самого индикатора при первом запуске и из настроек (там же и отключались), а не из ya-setup (который к сожалению оказался так запрятан, что про него почти никто не знает: в большинстве инструкций, что мне попадались предлагают настройки диска делать через yandex-disk setup, а индикатор уже запускать над настроенным диском.

Thunar через $HOME/.local/share/file-manager/ваше_действие.desktop не умеет, у него свой XML с этими настройками.

Nautilus/Nemo - там скриптами экшены прикручивались ранее....

Все это варится в функции activateActions (основной питоновский код). Туда и надо добавлять правки. Файлы .desktop лежат в fm-actions.

Я думаю нужно внимательнее посмотреть по поддержку акций в FM и вносить правки в activateActions.

@slytomcat slytomcat closed this Aug 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants