summaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorGravatar https://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web>2014-03-31 15:11:56 +0000
committerGravatar admin <admin@branchable.com>2014-03-31 15:11:56 +0000
commit76aa02ef0b6bb9ef5bc37efb2db4e2bd31b10283 (patch)
treeeb7a39a4915096fc87d631c088db2c6f19690b29 /doc/tips
parentb488712cc984cfd1d15e8c4d820fd5ccc993e7da (diff)
add xfce
Diffstat (limited to 'doc/tips')
-rw-r--r--doc/tips/file_manager_integration.mdwn45
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/tips/file_manager_integration.mdwn b/doc/tips/file_manager_integration.mdwn
index 73705d7fb..1b958da0a 100644
--- a/doc/tips/file_manager_integration.mdwn
+++ b/doc/tips/file_manager_integration.mdwn
@@ -1,6 +1,8 @@
Integrating git-annex and your file manager provides an easy way to select
annexed files to get or drop.
+[[!toc]]
+
## nautilus
Recent git-annex comes with built-in nautilus integration. Just pick the
@@ -37,6 +39,49 @@ Create a file `~/.kde4/share/kde4/services/ServiceMenus/git-annex.desktop` with
Icon=git-annex
Exec=git-annex drop --notify-start --notify-finish %U
+## thunar / XFCE
+
+XFCE uses the Thunar file manager, which can also be easily configured to allow for custom actions. Just go to the "Configure custom actions..." item in the "Edit" menu, and create a custom action for get and drop with the following commands:
+
+ git-annex drop --notify-start --notify-finish %F
+
+for drop, and for get:
+
+ git-annex drop --notify-start --notify-finish %F
+
+This gives me the resulting config on disk, in `.config/Thunar/uca.xml`:
+
+ <action>
+ <icon>git-annex</icon>
+ <name>git-annex get</name>
+ <unique-id>1396278104182858-3</unique-id>
+ <command>git-annex get --notify-start --notify-finish %F</command>
+ <description>get the files from a remote git annex repository</description>
+ <patterns>*</patterns>
+ <directories/>
+ <audio-files/>
+ <image-files/>
+ <other-files/>
+ <text-files/>
+ <video-files/>
+ </action>
+ <action>
+ <icon>git-annex</icon>
+ <name>git-annex drop</name>
+ <unique-id>1396278093174843-2</unique-id>
+ <command>git-annex drop --notify-start --notify-finish %F</command>
+ <description>drop the files from the local repository</description>
+ <patterns>*</patterns>
+ <directories/>
+ <audio-files/>
+ <image-files/>
+ <other-files/>
+ <text-files/>
+ <video-files/>
+ </action>
+
+The complete instructions on how to setup actions is [in the XFCE documentation](http://docs.xfce.org/xfce/thunar/custom-actions).
+
## your file manager here
Edit this page and add instructions!