MRTestRepo/pepxfce/Thunar/uca.xml

164 lines
4.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<icon>utilities-terminal</icon>
<name>Open Terminal Here</name>
<submenu></submenu>
<unique-id>1673117422769965-1</unique-id>
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
<description>Example for a custom action</description>
<range></range>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
<action>
<icon>application-x-gzip</icon>
<name>Extract here (bzip2)</name>
<submenu></submenu>
<unique-id>1673197996882808-1</unique-id>
<command>tar xjf %n</command>
<description></description>
<range>*</range>
<patterns>*.tar.bz2;*.tbz2</patterns>
<other-files/>
</action>
<action>
<icon>application-x-zip</icon>
<name>Extract here (zip)</name>
<submenu></submenu>
<unique-id>1673198081316507-2</unique-id>
<command>unzip %f</command>
<description></description>
<range>*</range>
<patterns>*.zip</patterns>
<other-files/>
</action>
<action>
<icon>image</icon>
<name>Convert to JPEG</name>
<submenu></submenu>
<unique-id>1673198166322148-3</unique-id>
<command>convert %f -quality 75 %f.jpg</command>
<description></description>
<range>*</range>
<patterns>*.png</patterns>
<image-files/>
</action>
<action>
<icon>image-x-generic</icon>
<name>Rotate Clockwise</name>
<submenu></submenu>
<unique-id>1673198218607157-4</unique-id>
<command> for file in %F; do tempfile=$(mktemp) &amp;&amp; jpegtran -copy all -rotate 90 &quot;$file&quot; &gt; &quot;$tempfile&quot; &amp;&amp; mv -f &quot;$tempfile&quot; &quot;$file&quot;; rm -f &quot;$tempfile&quot;; done</command>
<description></description>
<range>*</range>
<patterns>*.jpg;*.JPG;*.jpeg;*.JPEG</patterns>
<image-files/>
</action>
<action>
<icon>root-terminal-app</icon>
<name>Open root terminal here</name>
<submenu></submenu>
<unique-id>1673198729219721-5</unique-id>
<command>/usr/local/bin/gksudo xfce4-terminal --default-working-directory=%f</command>
<description></description>
<range>*</range>
<patterns>*</patterns>
<directories/>
</action>
<action>
<icon>filemanager-app</icon>
<name>Open thunar as root here </name>
<submenu></submenu>
<unique-id>1673198900020311-6</unique-id>
<command>pkexec thunar %f</command>
<description></description>
<range>*</range>
<patterns>*</patterns>
<directories/>
</action>
<action>
<icon>org.xfce.mousepad</icon>
<name> Edit as root</name>
<submenu></submenu>
<unique-id>1673198987669312-7</unique-id>
<command>/usr/local/bin/gksudo mousepad %f </command>
<description></description>
<range>*</range>
<patterns>*</patterns>
<text-files/>
</action>
<action>
<icon>emblem-symbolic-link</icon>
<name>Create symlink</name>
<submenu></submenu>
<unique-id>1673199093728829-8</unique-id>
<command>ln -Ts %f %n&quot; (symlink)&quot;</command>
<description></description>
<range>*</range>
<patterns>*</patterns>
<directories/>
<other-files/>
</action>
<action>
<icon>org.gnome.baobab.Devel</icon>
<name>Disk Usage</name>
<submenu></submenu>
<unique-id>1673199223411650-10</unique-id>
<command>baobab %d</command>
<description></description>
<range>*</range>
<patterns>*</patterns>
<directories/>
<audio-files/>
<image-files/>
<other-files/>
<text-files/>
<video-files/>
</action>
<action>
<icon>org.xfce.mousepad</icon>
<name>Open in Terminal</name>
<submenu></submenu>
<unique-id>1673199302226833-11</unique-id>
<command>xfce4-terminal -x mousepad %f</command>
<description></description>
<range>*</range>
<patterns>*</patterns>
<text-files/>
</action>
<action>
<icon>folder-new</icon>
<name>Move into new folder</name>
<submenu></submenu>
<unique-id>1673199370242028-12</unique-id>
<command>NEW_FOLDER=$(/usr/bin/zenity --entry --title &apos;Move into new folder&apos; --text &apos;Please enter a name for the new folder&apos;) &amp;&amp; mkdir &quot;$NEW_FOLDER&quot; &amp;&amp; mv %F &quot;$NEW_FOLDER&quot;</command>
<description>Select any number of file/folders. A dialog will popup in which you can write the name of a new folder to create. Selected Files will be moved there.</description>
<range>*</range>
<patterns>*</patterns>
<directories/>
<audio-files/>
<image-files/>
<other-files/>
<text-files/>
<video-files/>
</action>
<action>
<icon>edit-rename</icon>
<name>Open in bulk renamer</name>
<submenu></submenu>
<unique-id>1673199497794818-13</unique-id>
<command>thunar --bulk-rename %f</command>
<description>Opens the bulk renamer for a single file</description>
<range>1-1</range>
<patterns>*</patterns>
<directories/>
<audio-files/>
<image-files/>
<other-files/>
<text-files/>
<video-files/>
</action>
</actions>