summaryrefslogtreecommitdiffstats
path: root/doc/en/using-krusader.docbook
blob: f19d71999f8fcc71a0edafe5509211c2f2c4216f (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
<chapter id="basic-functions">
  <!-- **********************************************************************
                            using-krusader.docbook
                          +++++++++++++++++++++++++++
  copyright            : (C) 2000 - 2008
                          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>Basic Functions</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 does not 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; 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 to
          click inside the Input Line.</para>
        </listitem>
        <listitem>
          <para>When you choose a menu, the Menu Bar will become
          focused. It remains focused until you choose a command -
          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 panels 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="selecting-files">
      <title>Selecting</title>
      <note>
        <para>&krusader; offers 4
        &mouse-selection-modes-lnk;, only
        &krusader;'s Mouse Selection Mode is explained
        here.</para>
      </note>
      <para>Selecting is a skill you need to master in order to get
      the most out of &krusader;. Since you can not 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 are
      using &krusader;'s Mouse Selection Mode): 
      <itemizedlist>
        <listitem>
          <para>The 
          <keycap>SPACE</keycap> and 
          <keycap>Insert</keycap> key will toggle the selection of
          the file under the cursor without affecting the selection
          of other files/directories, the cursor 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 selection of other
          files/directories.</para>
        </listitem>
        <listitem>
          <para>
          <keycap>Left Clicking</keycap> on a file will select, or
          unselect, all previously selected files.</para>
        </listitem>
        <listitem>
          <para>
          <keycombo action="simul">&Ctrl;
          <keycap>Left Clicking</keycap></keycombo> will toggle the
          selection of the file under the cursor without affecting
          the selection 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 deselects everything below the cursor, if
          selected).</para>
        </listitem>
        <listitem>
          <para>
          <keycombo action="simul">&Shift;
          <keycap>End</keycap></keycombo> selects everything below
          the cursor (and unselects everything above the cursor, if
          selected).</para>
        </listitem>
        <listitem>
          <para>The ".." entry is not selectable.</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 is not a lot to say here, all you need to do is
      select some files (if you do not, &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>Type 
      <keycap>foo</keycap>(one character) to do a quick search in
      the Active List Panel for a file beginning with "foo". A
      small quick search dialog box will open below the Active List
      Panel. Type the first few characters of the desired file name
      (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 quick search
      line. The cursor will stay on the last file
      found.</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 be 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>&bookmarks-lnk; enable/disable permanent
          bookmarks</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,
      text file...) or the file will be executed (script,
      binary...). If you want to use 
      <keycap>another application</keycap> to open the file, 
      <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 the 
      <guimenuitem>Preserve attributes (only on local
      targets)</guimenuitem> option is checked,
      &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 may 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 selecting 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 do not wish to see the confirmation dialogs, you can
      disable them in the 
      <link linkend="konfig-advanced">Konfigurator advanced
      tab</link>.</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>
    <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 mouse clicks. If
      only the file name 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 to 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>

<!-- call the archives sect1 section -->
&archives;

</chapter>