Zopar zaujimavych user_actions pre krusader (aktualizacia 2011/11/03, pre pripad pouzivania nad projlibs_2_6.in):
<?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_left_right</icon>
<category>Samples</category>
<command>%aPanelSize("50")%</command>
<defaultshortcut>Ctrl+Alt+</defaultshortcut>
</action>
<action name="sample_edit_as_root">
<title>Edit &as root</title>
<tooltip>Edit a file as root</tooltip>
<icon>kwrite</icon>
<category>Samples</category>
<description>Edit a file with root permissions</description>
<command run_as="root">kwrite %aCurrent%</command>
<defaultshortcut>Ctrl+E</defaultshortcut>
</action>
<action name="sample_newmount">
<title>&Mount</title>
<tooltip>Mount a new filesystem</tooltip>
<icon>hdd_mount</icon>
<category>Samples</category>
<command executionmode="collect_output" run_as="root">mount -t %_Ask("Filesystem Type?")% %_Ask("Device ?")% %_Ask("Mount Point ?")%</command>
<defaultshortcut>Ctrl+Alt+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>
<command>amarok --append %aList("Selected")%</command>
<defaultshortcut>Meta+A</defaultshortcut>
</action>
<action name="filename_to_clipboard">
<title>&Copy current item to clipboard</title>
<tooltip>Copy current item to clipboard</tooltip>
<icon>editpaste</icon>
<category>Samples</category>
<command>%_Clipboard("%aCurrent%")%</command>
<defaultshortcut>Ctrl+Alt+C</defaultshortcut>
</action>
<action name="sort_by_name">
<title>&Sort by Name</title>
<tooltip>Sort by Name</tooltip>
<icon>view_text</icon>
<category>User Interface</category>
<description>Sorts the active panel by Name</description>
<command>%aColSort("Name")%</command>
<defaultshortcut>Meta+1</defaultshortcut>
</action>
<action name="sort_by_extension">
<title>Sort &by Extension</title>
<tooltip>Sort by Extension</tooltip>
<icon>view_text</icon>
<category>User Interface</category>
<description>Sorts the active panel by Extension</description>
<command>%aColSort("Ext")%</command>
<defaultshortcut>Meta+2</defaultshortcut>
</action>
<action name="sort_by_size">
<title>S&ort by Size</title>
<tooltip>Sort by Size</tooltip>
<icon>view_text</icon>
<category>User Interface</category>
<description>Sorts the active panel by Size</description>
<command>%aColSort("Size")%</command>
<defaultshortcut>Meta+3</defaultshortcut>
</action>
<action name="sort_by_modified">
<title>Sort by &Modified</title>
<tooltip>Sort by Modified</tooltip>
<icon>view_text</icon>
<category>User Interface</category>
<description>Sorts the active panel by Modified</description>
<command>%aColSort("Modified")%</command>
<defaultshortcut>Meta+4</defaultshortcut>
</action>
<action name="backup_current">
<title>&Backup current</title>
<tooltip>Backup current file in current directory</tooltip>
<icon>filesaveas</icon>
<category>System</category>
<description>Backups current file in current directory and asks the user for a new filename. By default ".old" is appended to the original filename.</description>
<command>%_Copy("%aCurrent%", "%_Ask("New filename", "%aCurrent%.old")%")%</command>
<defaultshortcut>Meta+F5</defaultshortcut>
</action>
<action name="gpg-encrypt">
<title>&encrypt</title>
<tooltip>encrypt by gpg</tooltip>
<icon>document-encrypt</icon>
<category>System</category>
<description>Encrypts file by gpg</description>
<command>gpg -c %aCurrent%</command>
</action>
<action name="gpg-decrypt">
<title>&decrypt</title>
<tooltip>decrypt by gpg</tooltip>
<icon>document-decrypt</icon>
<category>System</category>
<description>Dencrypts file by gpg</description>
<command>gpg %aCurrent%</command>
</action>
<action name="copylib">
<title>&copylib</title>
<tooltip>copylib</tooltip>
<category>Coding</category>
<command executionmode="collect_output">export PROJLIBS_FILENAME=`basename %aCurrent%`; export DIR_FROM=`dirname %aCurrent%`/../; echo $DIR_FROM; /usr/local/emtest/bin/compile/prepareProjIn.py; export PROJLIBS_IN_FNAME=%aCurrent%; export _LINUX_VER_=2.6; /usr/local/emtest/bin/compile/copylib6</command>
</action>
<action name="Compile for embedded 2.6">
<title>Compile for &embedded 2.6</title>
<tooltip>Compile for embedded 2.6</tooltip>
<category>Coding</category>
<description>Compile for embedded 2.6</description>
<command executionmode="collect_output">export project_name=%aCurrent(yes,no)% && echo \"project name:$project_name\" && PATH=/usr/local/emtest/bin/compile/:$PATH && export BASE=$project_name && export _LINUX_VER_="2.6" && export DIR_FROM=$project_name && /usr/local/emtest/bin/compile/updatePrj_stable -nl -v</command>
</action>
<action name="Build number">
<title>Build &number</title>
<tooltip>Get's build number of library</tooltip>
<category>Coding</category>
<description>Get's build number of library</description>
<command>fname=%aCurrent%; hexnum=`arm-linux-objdump -s $fname -j .note.gnu.build-id | tail -n 1 | cut -d " " -f 3`; bash -c 'let num=`echo 0x'$hexnum'`; kdialog --msgbox $num'</command>
</action>
<action name="Clean compile for PC_1">
<title>Clean complile &for PC</title>
<tooltip>Clean complile for PC</tooltip>
<category>Coding</category>
<description>Distclean directory and compile for PC</description>
<command executionmode="collect_output">cd %aCurrent%; make distclean; qmake; make</command>
</action>
</KrusaderUserActions>
Treba ulozit do:
~/.kde/share/apps/krusader/useractions.xml