Warning, /utilities/krusader/app/useraction_examples.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8" ?>
0002 <!DOCTYPE KrusaderUserActions>
0003 <KrusaderUserActions>
0004  <action name="sample_panesize" >
0005   <title>Equal panel-size</title>
0006   <tooltip>Sets the ratio between the two panels to 50/50</tooltip>
0007   <icon>view-split-left-right</icon>
0008   <category>Samples</category>
0009   <command>%aPanelSize(&quot;50&quot;)%</command>
0010   <defaultshortcut>Alt+Ctrl+Equal</defaultshortcut>
0011  </action>
0012  <action name="sample_edit_as_root" >
0013   <title>Edit as root</title>
0014   <tooltip>Edit a file as root</tooltip>
0015   <icon>document-edit</icon>
0016   <category>Samples</category>
0017   <description>Edit a file with root permissions</description>
0018   <command>EDITOR='kate -b' SUDO_ASKPASS=/usr/bin/ssh-askpass sudoedit -A %aCurrent%</command>
0019   <defaultshortcut>Ctrl+E</defaultshortcut>
0020  </action>
0021  <action name="sample_newmount" >
0022   <title>Mount</title>
0023   <tooltip>Mount a new filesystem</tooltip>
0024   <icon>media-mount</icon>
0025   <category>Samples</category>
0026   <command executionmode="collect_output" run_as="root" >mount -t %_Ask(&quot;Filesystem Type?&quot;)% %_Ask(&quot;Device ?&quot;)% %_Ask(&quot;Mount Point ?&quot;)%</command>
0027   <defaultshortcut>Alt+Ctrl+M</defaultshortcut>
0028  </action>
0029  <action name="sample_amarok_enqueue" >
0030   <title>Enqueue in Amarok</title>
0031   <tooltip>Append selected item(s) to Amarok playlist</tooltip>
0032   <icon>amarok</icon>
0033   <category>Multimedia</category>
0034   <description same_as="tooltip" />
0035   <command>amarok --append %aList(&quot;Selected&quot;)%</command>
0036   <defaultshortcut>Meta+A</defaultshortcut>
0037  </action>
0038  <action name="filename_to_clipboard" >
0039   <title>Copy file path of current item (escaping spaces)</title>
0040   <icon>edit-paste</icon>
0041   <category>Samples</category>
0042   <command>%_Clipboard(&quot;%aCurrent%&quot;)%</command>
0043   <defaultshortcut>Alt+Ctrl+C</defaultshortcut>
0044  </action>
0045  <action name="filepaths_to_clipboard">
0046   <title>Copy file path(s) of selected item(s)</title>
0047   <category>Samples</category>
0048   <command>%_Clipboard(&quot;%aList(&quot;Selected&quot;, &quot;\n&quot;, , , &quot;No&quot;)%&quot;)%</command>
0049  </action>
0050  <action name="sort_by_name" >
0051   <title>Sort by Name</title>
0052   <tooltip>Sort by Name</tooltip>
0053   <icon>sort-name</icon>
0054   <category>User Interface</category>
0055   <description>Sorts the active panel by Name</description>
0056   <command>%aColSort(&quot;Name&quot;)%</command>
0057   <defaultshortcut>Ctrl+1</defaultshortcut>
0058  </action>
0059  <action name="sort_by_extension" >
0060   <title>Sort by Extension</title>
0061   <tooltip>Sort by Extension</tooltip>
0062   <icon>sort-name</icon>
0063   <category>User Interface</category>
0064   <description>Sorts the active panel by Extension</description>
0065   <command>%aColSort(&quot;Ext&quot;)%</command>
0066   <defaultshortcut>Ctrl+2</defaultshortcut>
0067  </action>
0068  <action name="sort_by_size" >
0069   <title>Sort by Size</title>
0070   <tooltip>Sort by Size</tooltip>
0071   <icon>sort-name</icon>
0072   <category>User Interface</category>
0073   <description>Sorts the active panel by Size</description>
0074   <command>%aColSort(&quot;Size&quot;)%</command>
0075   <defaultshortcut>Ctrl+3</defaultshortcut>
0076  </action>
0077  <action name="sort_by_modified" >
0078   <title>Sort by Modified</title>
0079   <tooltip>Sort by Modified</tooltip>
0080   <icon>sort-name</icon>
0081   <category>User Interface</category>
0082   <description>Sorts the active panel by Modified</description>
0083   <command>%aColSort(&quot;Modified&quot;)%</command>
0084   <defaultshortcut>Ctrl+4</defaultshortcut>
0085  </action>
0086  <action name="backup_current" >
0087   <title>Backup current</title>
0088   <tooltip>Backup current file in current folder</tooltip>
0089   <icon>document-save-as</icon>
0090   <category>System</category>
0091   <description>Backs current file up in current folder and asks the user for a new filename. By default &quot;.old&quot; is appended to the original filename.</description>
0092   <command>%_Copy(&quot;%aCurrent(&quot;&quot;, &quot;No&quot;)%&quot;, &quot;%_Ask(&quot;New filename&quot;, &quot;%aCurrent%.old&quot;)%&quot;)%</command>
0093   <defaultshortcut>Meta+F5</defaultshortcut>
0094  </action>
0095 </KrusaderUserActions>