Equal panel-size Sets the ratio between the two panels to 50/50. view_left_right User Interface %aPanelSize("50")% Alt+Ctrl+Equal Sort by Name Sort by Name. view_text User Interface Sorts the active panel by Name %aColSort("Name")% Win+1 Sort by Extension Sort by Extension. view_text User Interface Sorts the active panel by Extension %aColSort("Ext")% Win+2 Sort by Size Sort by Size. view_text User Interface Sorts the active panel by Size %aColSort("Size")% Win+3 Sort by Modified Sort by Modified. view_text User Interface Sorts the active panel by Modified %aColSort("Modified")% Win+4 Edit as root Edit a file as root. kwrite File Edit a file with root permissions kwrite %aCurrent% Ctrl+E Copy as root Copy as root. editcopy File Copy selected files & directories with root privileges, also inside archives! kfmclient copy %aList("Selected", " ", "No")% %oPath% Backup current file Backup current file in current directory. filesaveas File 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")%")% Shift+F5 Search and Replace in file Search and replace a string/regex in textfiles with sed. xclipboard File This UA uses the UNIX standard-tool sed (the stream-editor) so perform search and replace operations in all selected files It is possible to give a regular expression for both strings. Please note: The sed-command is "s/search/repleace/", so you have to escape the slash when you need it! sed -i -e 's/%_Ask("Search for:")%/%_Ask("Replace with:")%/' %aList("Selected")% Mount Mount a new filesystem. hdd-mounted System mount -t %_Ask("Filesystem Type?")% %_Ask("Device ?")% %_Ask("Mount Point ?")% Alt+Ctrl+M Unmount Umount filesystem of current directory. kcmpartitions System result=`umount '%aCurrent%' 2>&1`; case "$?" in 0) kdialog --title Krusader --msgbox "Filesystem unmounted"; ;; 1) apps=`lsof | grep '%aCurrent%' | head | cut -d ' ' -f 1`; kdialog --title Krusader --error "Could not unmount filesystem.\n\nIt is still in use by the following applications:\n$apps"; ;; *) kdialog --title Krusader --error "Could not unmount filesystem.\n$result"; ;; esac Eject cd/dvd Unmounts and ejects current cdrom/dvd. player_eject System umount %aCurrent% ; /usr/bin/eject -r %aCurrent% gzip current file Make gzip archive containing current file to other panel. ark Archive Gzip current file with maximum (9) compression, preserving original file. In case of directory, it is first tarred. if [ -d %aCurrent("Yes")% ]; then tar cf - %aCurrent("Yes")% | gzip -9 >%oPath%%aCurrent("Yes")%.tar.gz; else cat %aCurrent("Yes")% | gzip -9 >%oPath%%aCurrent("Yes")%.gz; fi 7zip current file Make 7zip archive containing current file to other panel. ark Archive rm -f %aCurrent("Yes")%.7z; 7z a -mx=9 -mfb=128 -md=8m %oPath%%aCurrent("Yes")%.7z %aCurrent("Yes")% Lzma current file Make lzma archive containing current file to other panel. ark Archive Lzma current file and keep input files to other panel. lzma -zkc %aCurrent% > %oPath%%aCurrent("Yes")%.lzma tar.gz selected files Make tar.gz archive containing selected files to other panel. ark Archive tar cf - %aList("Selected", " ", "Yes")% | gzip -9 > %oPath%%aCurrent("Yes")%.tar.gz tar.lzma selected files Make tar.lzma archive containing selected files to other panel. ark Archive tar cf - %aList("Selected", " ", "Yes")% | lzma -z > %oPath%%aCurrent("Yes")%.tar.lzma ar selected files Make ar (.a, .deb, ...) archive of selected files to other panel. ark Archive Make an archive using the ar utility, which is used for static libraries (*.a) or debian packages. Like tar, ar does not use any compression. sh -c 'A=%_Ask("Enter file name of the archive:", "%oPath%%aCurrent(\"Yes\")%.a", "ar pack")% ; rm -f "$A"; ar -rc "$A" %aList("Selected", " ", "Yes")% ' tar.7z selected files Make tar.7z archive containing selected files to other panel. ark Archive tar cf - %aList("Selected", " ", "Yes")% | 7z a -si %oPath%%aCurrent("Yes")%.tar.7z Unpack archive to dir Creates a directory with the archive name before unpacking. package Archive Creates a directory with the current archive name in the other panel before unpacking the files into it. It uses ark and tries to guess the directory name (archive name without file extension). ark --guess-name --extract-to %oPath% %aCurrent% Unpack current tar.7z Unpack current tar.7z to other panel. package Archive sh -c 'cd %oPath%; 7z x -so "%aCurrent%" | tar xf -' Unpack current tar.lzma Unpack current tar.lzma to other panel. package Archive Unpack current tar.lzma to other panel and keep original input file. sh -c 'cd "%oPath%"; lzma -dkc "%aCurrent%" | tar xf -' Unpack current lzma Unpack current lzma to other panel. package Archive Unpack current lzma to other panel and keep original input file. lzma -dkc %aCurrent% >%oPath%/`basename %aCurrent% .lzma` Unpack ar archive (.a, .deb, ...) package Archive Extract an ar archive using the ar utility, which is used for static libraries (*.a) or debian packages (you can extract debian packages this way without having dpkg installed). Like tar, ar does not use any compression. sh -c 'A=%_Ask("Enter the path, where the archive should be unpacked to:", "%oPath%", "ar unpack")% ; cd "$A"; for i in %aList("Selected")% ; do ar x "$i"; done ' Unpack multiple zip arc&hives package Unpack multiple zip archives Archive Unpack all selected zip archives into separate direcories. The new directory name has the same as the zip archive name. for file in %aList("Selected")%; do dir=`basename $file|sed -e 's/.zip//g'`; unzip $file -d %oPath%/$dir; done Copy current item to clipboard editpaste System %_Clipboard("%aCurrent%")% Alt+Ctrl+C Enqueue in Amarok Append selected item(s) to Amarok playlist. amarok Multimedia amarok --append %aList("Selected")% Win+A Split large mp3 Splits large mp3's using mp3splt. kcmsound Multimedia mp3splt %aCurrent("Yes")% -c *.cue -a -f -o "@n - @p - @t" Encrypt with kgpg Encrypts the current file with kpgp (which has to be in your $PATH). kgpg_key1 Encryption kgpg -e %aCurrent% Decrypt with kgpg Decrypts the current file with kpgp (which has to be in your $PATH). kgpg_show Encryption kgpg %aCurrent% Sign with kgpg Signs the current file with kpgp (which has to be in your $PATH). kgpg_sign Encryption kgpg -S %aCurrent% Verify signature with kgpg Tries to verify the signature of the current file with kpgp (which has to be in your $PATH). kgpg_identity Encryption kgpg -V %aCurrent% Uudecode Decode current file created with uuencode. binary File Decode a file created with uuencode. Requirements: Sharutils uudecode %aCurrent% Uuencode Uuencode current file. ascii File Uuencode creates an encoded ASCII copy of a file. Requirements: Sharutils uuencode %aCurrent("Yes")% %aCurrent("Yes")% > %oPath%\/%_Ask("Name of output file (without extension):", "%aCurrent("Yes")%", "uuencode")%.uue Javascript, select from file kr_select File TC-like "load selection from file". Use this action on a text file which contains a list of filenames and these files will be selected. %aSelect("%_Script("select_from_file.js", "return=filelist;file=%aCurrent%")%")% Javascript, recode files using GNU recode charset File A javascript useraction, which converts either file names or their content or both from one to another character encoding. It processes all selected files and directories in the active panel (for the directories, recurse their content). You can select, whether a recoded copy is created or if the file is moved (there is no warranty, so don't test move on any important data) Requirements: You need krusader compiled with javascript support and GNU recode installed. %_Script("recode.js", "return=cmd;toProcess=%aList(\"Selected\", \" \", \"Yes\")%;dstDir=%oPath%;srcDir=%aPath%;useRecode=1")% Javascript, recode files using iconv charset File A javascript useraction, which converts either file names or their content or both from one to another character encoding. It processes all selected files and directories in the active panel (for the directories, recurse their content). You can select, whether a recoded copy is created or if the file is moved (there is no warranty, so don't test move on any important data) Requirements: You need krusader compiled with javascript support and iconv installed. %_Script("recode.js", "return=cmd;toProcess=%aList(\"Selected\", \" \", \"Yes\")%;dstDir=%oPath%;srcDir=%aPath%;useRecode=0")% Javascript, mount as root Mounts a device with root-privileges hdd-mounted System Requirements: You need krusader compiled with javascript support. %_Script("mount.js", "return=cmd")% JavaScript, calculator xcalc Misc Requirements: You need krusader compiled with javascript support. %_Script("calc.js")% Archive to Dir Creates a directory with the archive name before unpacking ark System Creates a directory with the current archive name in the other panel before unpacking the files into it. It uses ark and tries to guess the directory name (archive name without file extension). ark --guess-name --extract-to %oPath% %aCurrent% Alt+Ctrl+U 7zip current make an 7zip archive containing current file Compression rm -f %aCurrent("Yes")%.7z; 7z a -mx=9 -mfb=128 -md=8m %aCurrent("Yes")%.7z %aCurrent("Yes")% Ctrl+Ampersand 7zip pack 7zip selected files with dialog and terminal with progress. Compression sh -c 'A=%_Ask("Enter file name of the archive:", "%oPath%%aCurrent(\"Yes\")%.7z", "7zip pack")% ; rm -f "$A"; 7z a -mx=9 -mfb=128 -md=8m "$A" %aList("Selected", " ", "Yes")% ' 7zip unpack unpack 7zip archives with dialog and terminal with progress. Compression sh -c 'A=%_Ask("Enter the path, where the archive should be unpacked to:", "%oPath%", "7zip unpack")% ; cd "$A"; for i in %aList("Selected")% ; do 7z x "$i"; done ' make tar.7z archive 7zip selected files with dialog and terminal with progress. Compression sh -c 'A=%_Ask("Enter file name of the archive:", "%oPath%%aCurrent(\"Yes\")%.tar.7z", "7zip pack")% ; rm -f "$A"; tar cvf - %aList("Selected", " ", "Yes")% | 7z a -mx=9 -mfb=128 -md=8m -si "$A" >/dev/null ' unpack tar.7z archive unpack 7zip archives with dialog and terminal with progress. Compression sh -c 'A=%_Ask("Enter the path, where the archive should be unpacked to:", "%oPath%", "7zip unpack")% ; cd "$A"; for i in %aList("Selected")% ; do 7z x -so "$i" 2>/dev/null | tar xvf - ; done ' zatarovat and zagzipovat Compression tar cf - %aCurrent("Yes")% | gzip -9 >%aCurrent%.tar.gz Ctrl+Shift+Z gzip current gzip current file with maximum (9) compression, preserving original file. In case of directory, it is first tarred. Compression if [ -d %aCurrent("Yes")% ]; then tar cf - %aCurrent("Yes")% | gzip -9 >%aCurrent("Yes")%.tar.gz; else cat %aCurrent("Yes")% | gzip -9 >%aCurrent("Yes")%.gz; fi Ctrl+Shift+G pack an ar archive (.a, .deb, ...) sh -c 'A=%_Ask("Enter file name of the archive:", "%oPath%%aCurrent(\"Yes\")%.a", "ar pack")% ; rm -f "$A"; ar -rc "$A" %aList("Selected", " ", "Yes")% ' Unpack an ar archive (.a, .deb, ...) sh -c 'A=%_Ask("Enter the path, where the archive should be unpacked to:", "%oPath%", "ar unpack")% ; cd "$A"; for i in %aList("Selected")% ; do ar x "$i"; done ' Decrypt with kgpg Decrypt with kgpg kgpg_show System kgpg %aCurrent% Encrypt with kgpg Encrypt with kgpg kgpg_key1 System kgpg -e %aCurrent% Sign with kgpg Sign with kgpg kgpg_sign System kgpg -S %aCurrent% Verify signature with kgpg Verify signature with kgpg kgpg_identity System kgpg -V %aCurrent%