Zopar zaujimavych user_actions pre krusader (aktualizacia 2011/11/03, pre pripad pouzivania nad projlibs_2_6.in):
&Equal panel-size
Sets the ratio between the two panels to 50/50
view_left_right
Samples
%aPanelSize("50")%
Ctrl+Alt+
Edit &as root
Edit a file as root
kwrite
Samples
Edit a file with root permissions
kwrite %aCurrent%
Ctrl+E
&Mount
Mount a new filesystem
hdd_mount
Samples
mount -t %_Ask("Filesystem Type?")% %_Ask("Device ?")% %_Ask("Mount Point ?")%
Ctrl+Alt+M
&Enqueue in Amarok
Append selected item(s) to Amarok playlist
amarok
Multimedia
amarok --append %aList("Selected")%
Meta+A
&Copy current item to clipboard
Copy current item to clipboard
editpaste
Samples
%_Clipboard("%aCurrent%")%
Ctrl+Alt+C
&Sort by Name
Sort by Name
view_text
User Interface
Sorts the active panel by Name
%aColSort("Name")%
Meta+1
Sort &by Extension
Sort by Extension
view_text
User Interface
Sorts the active panel by Extension
%aColSort("Ext")%
Meta+2
S&ort by Size
Sort by Size
view_text
User Interface
Sorts the active panel by Size
%aColSort("Size")%
Meta+3
Sort by &Modified
Sort by Modified
view_text
User Interface
Sorts the active panel by Modified
%aColSort("Modified")%
Meta+4
&Backup current
Backup current file in current directory
filesaveas
System
Backups current file in current directory and asks the user for a new filename. By default ".old" is appended to the original filename.
%_Copy("%aCurrent%", "%_Ask("New filename", "%aCurrent%.old")%")%
Meta+F5
&encrypt
encrypt by gpg
document-encrypt
System
Encrypts file by gpg
gpg -c %aCurrent%
&decrypt
decrypt by gpg
document-decrypt
System
Dencrypts file by gpg
gpg %aCurrent%
©lib
copylib
Coding
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
Compile for &embedded 2.6
Compile for embedded 2.6
Coding
Compile for embedded 2.6
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
Build &number
Get's build number of library
Coding
Get's build number of library
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'
Clean complile &for PC
Clean complile for PC
Coding
Distclean directory and compile for PC
cd %aCurrent%; make distclean; qmake; make
Treba ulozit do:
~/.kde/share/apps/krusader/useractions.xml