summaryrefslogtreecommitdiffstats
path: root/doc/ru/using-krusader.docbook
blob: 9048a598861377d604aa3d4aec2e595f206b475d (plain)
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
<chapter id="using-krusader">

<!-- **********************************************************************
                            using-krusader.docbook
                          +++++++++++++++++++++++++++
  copyright            : (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
                          Rafi Yanai, Shie Erlich, Frank Schoolmeesters
                          & the Krusader Krew
  e-mail               : [email protected]
  web site             : http://www.krusader.org
  description          : a Krusader Documentation File

***************************************************************************
* Permission is granted to copy, distribute and/or modify this            *
* document under the terms of the GNU Free Documentation License,         *
* Version 1.1 or any later version published by the Free Software         *
* Foundation; with no Invariant Sections, no Front-Cover Texts and        *
* no Back-Cover Texts.  A copy of the license is available on the         *
* GNU site http://www.gnu.org/licenses/fdl.html or by writing to:         *
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,    *
* MA 02110-1301, USA.                                                     *
*********************************************************************** -->

<title
>Using &krusader;</title>

<sect1 id="controls">
<title
>Controls</title>

<sect2 id="control-general">
<title
>General</title>

<para
>This is a rather short but important section that will go into the details of controlling &krusader;. This section doesn't try to cover all the various key combinations for two reasons: <orderedlist numeration="arabic"
> <listitem
> <para
>there are just too many of them</para
> </listitem
> <listitem
> <para
>most of &krusader;'s actions are configurable in the &konfiglookandfeel_lnk;</para
> </listitem
> </orderedlist
> We will only mention the most important keyboard shortcuts with the default configuration but keep in mind that most of the &keybindigs_lnk; are configurable. If you find that you use a certain command a lot and want to know the shortcut for this command, or you want to change this command shortcut, then check out the &keybindigs_lnk; tab at the &konfiglookandfeel_lnk;.</para>
</sect2>

<sect2 id="moving-around">
<title
>Moving Around</title>
<para
>By Moving Around we mean the transfer of the keyboard and mouse focus between the different parts of the &krusader; <link linkend="mainwindow"
>main window</link
>. The focus can be in one of five places: the Left or Right Panel, the Menu Bar, the Command Line or the Terminal Emulator. The panel that has the focus is called the Active Panel. An Active Panel will remain active until the other panel receives the focus (&ie;: if the Left Panel was active and you clicked on the Command Line - then the Left Panel remains the Active Panel). You must deliberately change which panel is active.</para>

<para
>The most common way to transfer the focus to a specific panel is to use the mouse to click on that panel. But you should be aware of the following: <itemizedlist>
   <listitem>
     <para
>Clicking on the Toolbar, the FN keys bar or the Status Bar does *not* change the focus.</para>
   </listitem>

<!--
   Quick View Panel: old Krusader feature , removed since krusader-1.12-beta1      
   <listitem>
     <para
>The display part of the Quick View Panel does not accept clicks so you should click on the
           Location Toolbar of this panel if you want it to have focus.</para>
   </listitem>
-->   

   <listitem>
     <para
>Pushing the <guibutton
>"History"</guibutton
> or the <guibutton
>"Run in Terminal"</guibutton
> buttons in the Command Line will not transfer the focus so you have click inside the Input Line.</para>
   </listitem>
   
   <listitem>
     <para
>The Menu Bar can get the focus by choosing a menu but it keeps the focus until you choose a command, and then the focus returns to the previous owner.</para>
   </listitem>
</itemizedlist>
</para>

<para
>There are, of course, ways to use the keyboard to change the focus <itemizedlist>
    <listitem
><para
>The &Tab; Key will switch panels if one of the panel has the focus, or rotate between all the commands in a menu if the Menu Bar is active.</para>
        </listitem>
    <listitem
><para
>The <keycombo action="simul"
>&Ctrl;<keycap
>Down Arrow</keycap
></keycombo
> will take you from the Active Panel to the Command Line or Terminal Emulator, and the <keycombo action="simul"
>&Ctrl;<keycap
>Up Arrow</keycap
></keycombo
> will take you back from the Command Line to the Active Panel.</para>
        </listitem>
    <listitem
><para
>The &Esc; Key will make the Menu Bar return the focus, if it has it, to the previous Active Panel.</para>
        </listitem>
    <listitem
><para
>If you happen to be inside the Terminal Emulator, you can use the &Tab; Key, or the mouse, to navigate to an Active Panel.</para>
        </listitem>
    <listitem
><para
>Pressing <keycombo action="simul"
>&Alt;<keycap
>"Underlined Letter"</keycap
></keycombo
> from the Menu Bar will open that menu (unless this key combination is a "Reserved Key", used by one of &krusader;'s actions).</para>
        </listitem>
</itemizedlist>
</para>
</sect2>


<sect2 id="marking-files">
<title
>Marking (Selecting)</title>

<note
><para
>&krusader; offers 4 &mouse_selection_modes_lnk;, only &krusader;'s Mouse Selection Mode is explained here.</para
></note>

<para
>Marking is a skill you need to master in order to get the most out of &krusader;. Since you can't select files in the Quick View Panel, and the Tree Panel only lets you select one directory at a time, this paragraph mainly explains how to select files in the List Panel filelist.</para>

<para
>Moving the cursor is easy. Left-clicking on a file or directory (referred to herein as "elements" meaning, files AND directories) will select it. Here are some useful pointers that will make Krusader even easier to use: (assuming you're using &krusader;'s Mouse Selection Mode) <itemizedlist>
    <listitem
><para
>The <keycap
>SPACE</keycap
> and <keycap
>Insert</keycap
> key will toggle the marking of the file under the cursor without affecting the marking of other files/directories, the cussor will go one position down.</para>
    </listitem>

    <listitem
><para
>Pressing the <keycap
>SPACE</keycap
> on a Directory under the cursor will <link linkend="calculate"
>calculate occupied space</link
> without affecting the marking of other files/directories.</para>
    </listitem>

    <listitem
><para
><keycap
>Left Clicking</keycap
> on a file will select, or unselect, all previously marked files.</para>
    </listitem>

    <listitem
><para
><keycombo action="simul"
>&Ctrl;<keycap
>Left Clicking</keycap
></keycombo
> will toggle the marking of the file under the cursor without affecting the marking of other files/directories.</para>
    </listitem>

    <listitem
><para
><keycombo action="simul"
>&Shift;<keycap
>Left Clicking</keycap
></keycombo
> will select all the elements between the previous cursor location and the new one.</para>
    </listitem>

    <listitem
><para
><keycombo action="simul"
>&Shift;<keycap
>Home</keycap
></keycombo
> selects everything above the cursor (and unselect everthing below the cusror if marked).</para>
    </listitem>

    <listitem
><para
><keycombo action="simul"
>&Shift;<keycap
>End</keycap
></keycombo
> selects everything below the cursor (and unselect everthing above the cusror if marked).</para>
    </listitem>

    <listitem
><para
>The ".." entry is not markable.</para>
    </listitem>

    <listitem
><para
>The &editmenu_lnk; can offer more ways to select your files.</para>
    </listitem>

</itemizedlist>
</para>
</sect2>


<sect2 id="executing_commands">
<title
>Executing Commands</title>
<para
>There isn't a lot to say here, all you need to do is select some files (if you don't &krusader; will operate on the file(s) or directory(s) that have the focus), choose a <link linkend="menu-commands"
>Command</link
> from the Menu Bar or use a Keyboard Shortcut (or the Right Click Menu) and the selected Command executes. See also <link linkend="executing_files"
>Executing Files</link
>. </para>
</sect2>


<sect2 id="quicksearch">
<title
>Quicksearch</title>
<!-- Thanks to Heiner Eichmann -->

<para
>This feature will do a quick search for the file name in the Active List Panel.</para>

<para
>There are two quick search methods: <itemizedlist>
   <listitem
><para
>"Old Quicksearch": type <keycap
>foo</keycap
> (one character) to do a quick search in the Active List Panel for a file beginning with "foo".</para>
              </listitem>
   <listitem
><para
>"New Quicksearch": type <keycap
>foo</keycap
> to open the small quick search dialog box below the Active List Panel. Type the first few characters of the desired filename (more than one character allowed), the cursor will jump to that filename (if it exists), &eg; type "ab" to search for a file which begins with "ab". The <keycap
>Up/Down Arrow</keycap
> will jump to the next or previous match. &Esc; will close the quicksearch line. The cursor will stay on the last Quicksearch file found. </para
></listitem>
  </itemizedlist>
</para>

<note
><para
>If you press <keycombo action="simul"
>&Alt;<keycap
>foo</keycap
></keycombo
>, the key binding shortcut will be executed. If there is no configured key binding, the remaining letter <keycap
>foo</keycap
> will used for the quick search.</para
></note>

<para
>Use &konfiglookandfeel_lnk; to change from the default configuration.</para>
</sect2>

<sect2 id="context-menu">
<title
>Context Menu</title>

<para
>&krusader; has many Context menus that allow you to do fast operations with the mouse, usually a Right-Click will open the Context menu (depending on your &mouse_selection_modes_lnk; settings). This list gives an overview of the most important Context menus, use them to discover the available commands. <itemizedlist>
    <listitem
><para
>&main_toolbar_lnk; (orientation, text position , icon size)</para
></listitem>
    <listitem
><para
>&list_panel_lnk; on a file or directory</para
></listitem>
    <listitem
><para
>&cmdline_lnk; (undo, paste, text completion, ...)</para
></listitem>
    <listitem
><para
>&termemu_lnk; (send signal, font, history, ...)</para
></listitem>
    <listitem
><para
>&foldertabs_lnk; (new, duplicate, close)</para
></listitem>
    <listitem
><para
><link linkend="krusearcher"
>KruSearcher</link
> Search results file list (F3 View, F4 Edit)</para
></listitem>
    <listitem
><para
>&mountman_lnk; (unmount, format, ...)</para
></listitem>
    <listitem
><para
>&syncdirs_lnk; File List</para
></listitem>
    <listitem
><para
>&useractions_lnk;</para
></listitem>
    <listitem
><para
>&konqueror; Right-Click actions are shown in &krusader;</para
></listitem>
    <listitem
><para
>Show/hide <link linkend="list_panel"
>Column Headers</link
></para
></listitem>
    <listitem
><para
>...</para
></listitem>
</itemizedlist>
</para>
</sect2>

</sect1>

<sect1 id="basic">
<title
>Basic File Management</title>

<sect2 id="executing_files">
<title
>Executing Files</title>
<para
>You can only execute files in the Active List Panel. To <keycap
>execute</keycap
> a file just <keycap
>(double-)click on it or press Enter</keycap
> when it is under the list cursor. &krusader; will open it in the default application for this file type (picture, textfile, ...) or the file will be executed (script, binary, ...). If you want to use <keycap
>another application</keycap
> to open the file, then <keycap
>Right-Click</keycap
> on the file and go to the "open with" sub-menu which will offer more options. &krusader; is compatible with &kde; default file-manager for all file types except archives that are opened inside the &krusader; panel and not in an external application. See <link linkend="konfig-archives"
>the archives page in Konfigurator</link
> for details.</para>
</sect2>


<sect2 id="copying">
<title
>Copying and Moving</title>
<para
>To copy or move files/directories just select them and press <keycap
>F5</keycap
> to <keycap
>copy</keycap
> or <keycap
>F6</keycap
> to <keycap
>move</keycap
> them. If checked the <guimenuitem
>Preserve attributes (only on local targets)</guimenuitem
> option, &krusader; will try to preserve all attributes (time, owner, group) of the local files according to the source depending on your permissions: <itemizedlist
> <listitem
><para
>User preserving if you are root</para
></listitem
> <listitem
><para
>Group preserving if you are root or member of the group</para
></listitem
> <listitem
><para
>Preserving the timestamp</para
></listitem
> </itemizedlist
> Using this option might slow down the copy/move process. A dialog will appear and allow you to choose the operation destination, the default destination is the other-panel browsed directory. If you enter a partial &URL; &krusader; will use the current panel directory as the &URL; base.</para>
</sect2>


<sect2 id="deleting">
<title
>Deleting</title>
<para
>Deleting files/directories is done by marking them and pressing <keycap
>F8</keycap
> or <keycap
>Delete</keycap
>. By <link linkend="konfig-general"
>default</link
> it will be moved to &kde;'s Trash, <keycombo action="simul"
>&Shift;<keycap
>Delete</keycap
></keycombo
> will delete the file permanently. A dialog will ask for your confirmation and will warn you when deleting non-empty directories. Of course only operations that you are permitted to do by the Operating System will be performed - you will be notified otherwise. If you don't wish to see the confirmation dialogs, you can disable them in the <link linkend="konfig-advanced"
>Konfigurator advanced tab</link
>.</para>
</sect2>


<sect2 id="renaming">
<title
>Renaming files, Creating Directories, and Link Handling</title>
<para
><keycap
>Rename</keycap
> the file under the cursor with the <keycap
>F9</keycap
> key or with two single mouseclicks. If only the filename needs to be renamed and not the extension you can configure this in the &konfiglookandfeel_lnk;. <keycap
>Create a new directory</keycap
> with the <keycap
>F7</keycap
> key. <keycap
>Right-clicking on a regular file</keycap
> will give you the <keycap
>option "New Symlink"</keycap
>, a dialog will prompt you to enter a symlink name. That name will point to the file/directory you Right-Clicked on. If the file you Right-Clicked on is a symlink you will also be presented with the "redirect link" option that will allow you change the link target.</para>
</sect2>


<sect2 id="viewing">
<title
>Viewing and Editing files</title>
<para
><link linkend="krviewer"
>KrViewer</link
> has a chapter of its own.</para>
</sect2>

</sect1>

<sect1 id="archives">
<title
>Archive Handling</title>

<sect2 id="browsing-archives">
<title
>Browsing Archives</title>
<para
>The &vfs_lnk; allows to browse archives as it was a directory. &krusader; supports currently the following archives types: ace, arj, bzip2, deb, gzip, iso, lha, rar, rpm, tar, zip and 7-zip and supports the next passworded archives: arj, ace, rar and zip. Passwords can be stored in &tdewallet;. Please note that the archive support first needs to be properly <link linkend="konfig-archives"
>configured</link
> in Konfigurator. To open the archive use &Enter;, (double-)click or the <keycap
>Right Arrow</keycap
>. &krusader; supports also <emphasis role="bold"
>hidden archives</emphasis
>, these are renamed archives with a *wrong* extension. &eg; &openoffice; uses zip archives with the next extensions: odt, sxw and odw. &Enter; will open the &openoffice; document and the <keycap
>Right Arrow</keycap
> will open the archive. An other example is J2EE where the rar extension means a zip archive. &krusader; will open with <keycap
>Right Arrow</keycap
> the archive even if it has an other mime type, since &krusader; autodetects the supported archive types. Please note that browsing archives has a few limitations: <itemizedlist>
    <listitem
><para
>Not all functions are supported by all archive types. (&ie;: you can't delete files in ace or rar archives)</para>
    </listitem>
    <listitem
><para
>The permissions you have inside the archive are the same as the permissions you have for the archive.</para>
    </listitem>
    <listitem
><para
>The command line (if visible) will not follow you inside the archive but will point to the archive directory.</para>
    </listitem>
    <listitem
><para
>Before any action is performed on files/directories inside the archive they must be extracted. The archive will be repacked when you leave it or when &krusader; detects that extracted files have changed.</para>
    </listitem>
    <listitem
><para
>Packing and un-packing are "blocking operations" that display a Progress Dialog. Though, this might change in the future since we are planning to create more background operations.</para>
    </listitem>
</itemizedlist>
</para>
</sect2>


<sect2 id="unpacking-archives">
<title
>Unpack Files</title>
<para
>There are 2 ways to extract files from archives:</para>

<para
>If you want to unpack a whole archive(s), browse to the archive location, select the archive(s) and select <emphasis role="bold"
><menuchoice
><guimenu
>File</guimenu
> <guimenuitem
>Unpack</guimenuitem
></menuchoice
></emphasis
> or <keycombo action="simul"
>&Alt;<keycap
>U</keycap
></keycombo
>. &krusader; will ask you where to put the extracted files, the default location is the inactive panel directory. If you don't cancel the operation, &krusader; will try to unpack all the selected files in the inactive panel.</para>

<para
>If you only want to extract part of the archive, then <link linkend="browsing-archives"
>browse</link
> the archive and copy the files you want to extract to their new location just as you would copy "normal" files. Note that unpacking from a browsed archive takes more time (file by file unpack) compared to unpacking a whole archive with the first method.</para>
</sect2>


<sect2 id="pack-archive">
<title
>Packing Files</title>
<para
>If you want to create a new archive, begin by marking the elements you want to pack in the active panel and select <emphasis role="bold"
><menuchoice
><guimenu
>File</guimenu
> <guimenuitem
>Pack</guimenuitem
></menuchoice
></emphasis
> or <keycombo action="simul"
>&Alt;<keycap
>P</keycap
></keycombo
>. A dialog will pop-up, prompting you to select the archive name and location, you select the packer by selecting one of the <link linkend="konfig-archives"
>supported filename extensions</link
>.</para>

<para
>To add files to an existing archives, open the archive in one panel and the files to be copied in the other panel, then simply copy the files into the archive in exactly the same way you copy files into a "normal" directory.</para>
</sect2>


<sect2 id="test-archive">
<title
>Testing Archives</title>
<para
>Krusader will not handle corrupted archives since it may result in data loss. If you receive an error message when opening an archive, or if you suspect that there something wrong with the archive you should test it before use. To test an archive, browse (navigate) to the archive location, select the archive. Next select <emphasis role="bold"
><menuchoice
><guimenu
>File</guimenu
> <guimenuitem
>Test Archive</guimenuitem
></menuchoice
></emphasis
> or <keycombo action="simul"
>&Alt;<keycap
>E</keycap
></keycombo
>. &krusader; will test the archive file and inform you if the archive passed or failed the file integrity test.</para>
</sect2>


</sect1>


<sect1 id="more-features">
<title
>More features</title>

<sect2 id="vfs">
<title
>Virtual file systems (VFS)</title>
<indexterm
><primary
>VFS</primary
></indexterm>

<para
>A basic <link linkend="features"
>OFM feature</link
> is VFS, this an abstracted layer over all kinds of archived information (ZIP files, FTP servers, TAR archives, NFS filesystems, SAMBA shares, ISO cd/dvd images, RPM catalogs, etc.), which allows the user to access all the information in these divergent types of filesystems transparently - just like entering an ordinary sub-directory! &krusader; supports several VFS: <itemizedlist
> <listitem
><para
><link linkend="remote-connections"
>Remote connections VFS</link
>: provides the capability of working with a remote connection session (FTP, NFS, Samba, FISH, SFTP) like with local filesystems. It's perfect for complex remote operations and almost as powerful as most standalone GUI remote clients.</para
> </listitem
> <listitem
><para
><link linkend="archives"
>Archive VFS</link
>: allows to browse archives in VFS as it was a directory (ace, arj, bzip2, deb, gzip, iso, lha, rar, rpm, tar, zip and 7-zip).</para
> </listitem
> <listitem
><para
><link linkend="archives"
>Search VFS</link
>: <guibutton
>Feed to listbox</guibutton
> will place the search results in VFS. </para
> </listitem
> <listitem
><para
><link linkend="synchronizer"
>Synchronizer VFS</link
>: places the synchronizer results in VFS. </para
> </listitem
> </itemizedlist
> Actions you perform on the files in VFS are performed on the 'real' files. You don't just delete files from the VFS - you delete them from your hard drive. Limitations: you can't create directories inside in a VFS. </para>

</sect2>


<sect2 id="compare">
<title
>Compare</title>
<para
>&krusader; contains several compare functions: <guimenuitem
>Compare by content</guimenuitem
>, <guimenuitem
>Compare Directories</guimenuitem
> and the <link linkend="synchronizer"
>Synchronizer</link
> compare function. </para>


<sect3 id="compare-content">
<title
>Compare by Content</title>
<para
>Select in each panel one file, and use <emphasis role="bold"
><menuchoice
><guimenu
>File</guimenu
> <guimenuitem
>Compare by content</guimenuitem
></menuchoice
></emphasis
>. &krusader; will open a external graphical difference tool that is <link linkend="konfig-dependencies"
>configured</link
>, right now &kompare;, &kdiff3_url; and &xxdiff_url; are supported. </para>
</sect3>


<sect3 id="compare-dir">
<title
>Compare Directories</title>
<para
>Compare the files of each panel by using <emphasis role="bold"
><menuchoice
><guimenu
>Mark</guimenu
> <guimenuitem
>Compare Directories</guimenuitem
></menuchoice
></emphasis
>. By default newer and single files will be selected in each panel, this behaviour can be changed in the <guimenuitem
>Compare Setup</guimenuitem
> menu. <note
><para
>The files are not compared by content but by their names and dates only.</para
></note>
</para>

<variablelist>
<varlistentry>
  <term
><menuchoice
><guimenu
>Mark</guimenu
> <guimenuitem
>Compare Setup</guimenuitem
> </menuchoice
></term>
  <listitem
><para
>Configures the <guimenuitem
>Compare Directories</guimenuitem
> function.</para>
   <itemizedlist>
            <listitem
><para
><guimenuitem
>Mark Newer and Single</guimenuitem
> (default) </para
></listitem>
            <listitem
><para
><guimenuitem
>Mark Single</guimenuitem>
                </para
></listitem>
            <listitem
><para
><guimenuitem
>Mark Newer</guimenuitem>
                </para
></listitem>
            <listitem
><para
><guimenuitem
>Mark Different and Single</guimenuitem>
                </para
></listitem>
            <listitem
><para
><guimenuitem
>Mark Different</guimenuitem>
                </para
></listitem>
         </itemizedlist>
  </listitem>
  </varlistentry>
</variablelist>

</sect3>

</sect2>

<sect2 id="calculate">
<title
>Calculate Occupied Space</title>
<!-- Thanks to Heiner Eichmann -->

<para
>There are two ways to calculate the occupied space of files/directories. <itemizedlist
> <listitem
> <para
>Pressing the <keycap
>SPACE</keycap
> on a directory under the cursor instantly calculates the occupied size. Pressing <keycap
>SPACE</keycap
> a second time will toggle the marking of the directory without affecting the selection status of other files/directories.</para
></listitem
> <listitem
> <para
>To calculate how much disk space is occupied by the marked files and directories in the active panel select <emphasis role="bold"
><menuchoice
><guimenu
>File</guimenu
> <guimenuitem
>Calculate Occupied Space</guimenuitem
></menuchoice
></emphasis
>. After a (hopefully) small delay, a dialog box will be displayed with total occupied space and the number of files and directories you selected. The space occupied by every selected directory will be shown as if the user just pressed <keycap
>SPACE</keycap
> on that directories. If the active panel is browsing an archive, the numbers will apply to the *unpacked* size of the selected files and directories, not their compressed size. After the calculation the marking state will toggle and the cusor will move one position down.</para
> </listitem
> </itemizedlist
> Calculating the occupied space on remote filesystems is supported. <note
><para
>Performing this operation on a very large filesystem (thousands of files) may be time consuming. You can always cancel the calculation process at any time by clicking on the <guibutton
>Cancel</guibutton
> button.</para
></note>
  
</para>
</sect2>

<sect2 id="splitter">
<title
>File Splitter</title>

<para
>This function splits one (big) file up into multiple smaller files so that they can be placed on several smaller media (&eg; zip-drives, ...) or sent by e-mail. The multiple files can be combined again to recreate the original file. &krusader; and &tcmd; split/combine functions are compatible. To split a file choose <emphasis role="bold"
><menuchoice
><guimenu
>File</guimenu
><guimenuitem
>Split</guimenuitem
></menuchoice
> </emphasis
> or <keycombo action="simul"
>&Ctrl;<keycap
>P</keycap
></keycombo
> A Split dialog will open to confirm the operation.</para>

<para
>If the name of the original file is <filename
>foo</filename
>, then the name of the smaller files will be <filename
>foo.000 foo.001 foo.002</filename
> &etc; There is no theoretical limit in the number of smaller files, but it is recommended to limit the number to a max of 1023 files. &krusader; creates a <filename
>foo.crc</filename
> file. This file contains the name, size and the crc checksum of the original file. It's possible to combine the file without the <filename
>foo.crc</filename
> file but in this case &krusader; can't check if the the original file was recreated correctly.</para>

<para
>An example of a <filename
>foo.crc</filename
> file: <programlisting
>filename=foo
      size=432998467868
      crc32=21EB719A</programlisting>
</para>


<para
>To combine the multiple files choose, select a partial file <filename
>foo.xxx</filename
> and choose <emphasis role="bold"
><menuchoice
><guimenu
>File</guimenu
> <guimenuitem
>Combine files</guimenuitem
></menuchoice
></emphasis
> or <keycombo action="simul"
>&Ctrl;<keycap
>B</keycap
></keycombo
>. The target directory is the unactive panel and can be changed. The file names must be numbered in ascending order: <filename
>foo.001, foo.002, foo.003</filename
> &etc; or have letters in ascending order: ("<userinput
><command
>split</command
> <option
>-b</option
></userinput
> letter method") <filename
>fileaa, fileab, fileac</filename
> &etc; If the file <filename
>foo.crc</filename
> is found in the same directory as the partial files, &krusader; will use this file to check the combined file for errors.</para>

</sect2>



<sect2 id="checksum">
<title
>Checksum creation-verification</title>

<para
><emphasis role="bold"
><menuchoice
><guimenu
>File</guimenu
> <guimenuitem
>Create Checksum</guimenuitem
></menuchoice
></emphasis
> : &krusader; checks which tools you have and if those tools allow recursive operation (in case you selected folders), you choose the type of checksum (md5, sha...) and it is generated. You can then save the checksum to a file, usually called checksum.md5 (or .sha1 or whatever). </para>

<para
><emphasis role="bold"
><menuchoice
><guimenu
>File</guimenu
> <guimenuitem
>Verify Checksum</guimenuitem
></menuchoice
></emphasis
> : &krusader; checks if you have a tool that supports the type of checksum you need (from your specified checksum file) and displays the files that failed the checksum (if any). </para>

<para
>The nice thing is that the system abstracts over different checksum mechanisms and different binaries. Right now, it supports md5, sha1, sha256, tiger, whirlpool and cfv. You probably have md5sum and sha1sum already, external supported tools are md5deep (sha256, tiger, whirlpool) and cfv. </para>

</sect2>

<sect2 id="send-email">
<title
>Send Files by e-mail</title>
<para
>Select a file and use <emphasis role="bold"
><menuchoice
><guimenu
>Right-Click menu</guimenu
> <guimenuitem
>Send by Email</guimenuitem
></menuchoice
></emphasis
>. Selecting this option will open a new &kmail; window with the file already attached. Just fill in the subject and recipient(s) and send it. Of course, &kmail; must be properly configured. </para>
</sect2>


<sect2 id="shred">
<title
>Shred Files</title>
<para
>When you delete files in your local system they are not completely erased and the information stored in them can be recovered using special software and hardware tools. If you want to erase a file without recoverable traces, select the file and use <emphasis role="bold"
><menuchoice
><guimenu
>Right-Click menu</guimenu
> <guimenuitem
>Shred</guimenuitem
></menuchoice
></emphasis
>. </para>
</sect2>



</sect1>









<sect1 id="profiles">
<title
>Profiles</title>
<indexterm
><primary
>Profiles</primary
></indexterm>

<para
>With profiles you can save and restore your favorite settings. Several features supports profiles, you can have &eg; different panel profiles (work, home, remote connectios, &etc;), search profiles, synchroniser profiles, &etc; </para>


<sect2 id="panel_profiles">
<title
>Panel Profiles</title>
<para
>A panel profile contains: all the tabs paths (left/right), the current tab (left/right), the active panel (left or right), all this information is stored in the &krusaderrc_lnk; file. You can have several Panel profiles &eg; file-managment, ftp-managment, home, work, etc. The panel profile can be <link linkend="c_panel_profiles"
>saved and restored</link
> in the <guimenu
>Commands menu</guimenu
>. The <link linkend="konfig-startup"
>default startup profile</link
> will be used when starting krusader, with a <link linkend="starting-krusader"
>commandline option</link
> you override the default startup profile. </para>

</sect2>


<sect2 id="color_profiles">
<title
>Color Profiles</title>
<para
>Colormaps can be saved and restored with <link linkend="konfig-color"
>Color Profiles</link
>. &krusader; Colormaps are available at &kde_files_url;.</para>
</sect2>


<sect2 id="key_profiles">
<title
>Key-binding Profiles</title>
<para
>Keymaps can be saved and restored with <link linkend="configure-shortcuts"
>Key-binding Profiles</link
>. &krusader; Keymaps are available at &kde_files_url;.</para>
</sect2>


<sect2 id="search_profiles">
<title
>Search Profiles</title>
<para
>When you regularly perform the same search operation, than you can save the search settings (&eg; include files, exclude files, &etc;) in a <link linkend="krusearcher"
>Search Profile</link
>.</para>
</sect2>


<sect2 id="synchroniser_profiles">
<title
>Synchroniser Profiles</title>
<para
>When you regularly perform the same synchronise operation, than you can save the synchronise settings in a <link linkend="synchronizer"
>Synchroniser Profile</link
>.</para>

</sect2>


</sect1>



</chapter>