1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE KrusaderUserActions>
<KrusaderUserActions>
<action name="sample_panesize" >
<title>Equal panel-size</title>
<tooltip>Sets the ratio between the two panels to 50/50</tooltip>
<icon>view-split-left-right</icon>
<category>Samples</category>
<command>%aPanelSize("50")%</command>
<defaultshortcut>Alt+Ctrl+Equal</defaultshortcut>
</action>
<action name="sample_edit_as_root" >
<title>Edit as root</title>
<tooltip>Edit a file as root</tooltip>
<icon>document-edit</icon>
<category>Samples</category>
<description>Edit a file with root permissions</description>
<command>EDITOR='kate -b' SUDO_ASKPASS=/usr/bin/ssh-askpass sudoedit -A %aCurrent%</command>
<defaultshortcut>Ctrl+E</defaultshortcut>
</action>
<action name="sample_newmount" >
<title>Mount</title>
<tooltip>Mount a new filesystem</tooltip>
<icon>media-mount</icon>
<category>Samples</category>
<command executionmode="collect_output" run_as="root" >mount -t %_Ask("Filesystem Type?")% %_Ask("Device ?")% %_Ask("Mount Point ?")%</command>
<defaultshortcut>Alt+Ctrl+M</defaultshortcut>
</action>
<action name="sample_amarok_enqueue" >
<title>Enqueue in Amarok</title>
<tooltip>Append selected item(s) to Amarok playlist</tooltip>
<icon>amarok</icon>
<category>Multimedia</category>
<description same_as="tooltip" />
<command>amarok --append %aList("Selected")%</command>
<defaultshortcut>Meta+A</defaultshortcut>
</action>
<action name="filename_to_clipboard" >
<title>Copy file path of current item (escaping spaces)</title>
<icon>edit-paste</icon>
<category>Samples</category>
<command>%_Clipboard("%aCurrent%")%</command>
<defaultshortcut>Alt+Ctrl+C</defaultshortcut>
</action>
<action name="filepath_to_clipboard">
<title>Copy file path of current item</title>
<category>Samples</category>
<command>%_Clipboard("%aCurrent(, "No")%")%</command>
</action>
<action name="filepaths_to_clipboard">
<title>Copy file path(s) of selected item(s)</title>
<category>Samples</category>
<command>%_Clipboard("%aList("Selected", "\n", , , "No")%")%</command>
</action>
<action name="sort_by_name" >
<title>Sort by Name</title>
<tooltip>Sort by Name</tooltip>
<icon>sort-name</icon>
<category>User Interface</category>
<description>Sorts the active panel by Name</description>
<command>%aColSort("Name")%</command>
<defaultshortcut>Ctrl+1</defaultshortcut>
</action>
<action name="sort_by_extension" >
<title>Sort by Extension</title>
<tooltip>Sort by Extension</tooltip>
<icon>sort-name</icon>
<category>User Interface</category>
<description>Sorts the active panel by Extension</description>
<command>%aColSort("Ext")%</command>
<defaultshortcut>Ctrl+2</defaultshortcut>
</action>
<action name="sort_by_size" >
<title>Sort by Size</title>
<tooltip>Sort by Size</tooltip>
<icon>sort-name</icon>
<category>User Interface</category>
<description>Sorts the active panel by Size</description>
<command>%aColSort("Size")%</command>
<defaultshortcut>Ctrl+3</defaultshortcut>
</action>
<action name="sort_by_modified" >
<title>Sort by Modified</title>
<tooltip>Sort by Modified</tooltip>
<icon>sort-name</icon>
<category>User Interface</category>
<description>Sorts the active panel by Modified</description>
<command>%aColSort("Modified")%</command>
<defaultshortcut>Ctrl+4</defaultshortcut>
</action>
<action name="backup_current" >
<title>Backup current</title>
<tooltip>Backup current file in current folder</tooltip>
<icon>document-save-as</icon>
<category>System</category>
<description>Backs current file up in current folder and asks the user for a new filename. By default ".old" is appended to the original filename.</description>
<command>%_Copy("%aCurrent("", "No")%", "%_Ask("New filename", "%aCurrent%.old")%")%</command>
<defaultshortcut>Meta+F5</defaultshortcut>
</action>
</KrusaderUserActions>
|