1 <chapter id="programs-and-documents">
3 <title>Programs and Documents</title>
5 <sect1 id="programs-launching">
9 <firstname>Robert</firstname>
10 <surname>Stoffers</surname>
14 <title>Launching Programs</title>
16 <para>&kde; offers a varying number of ways to launch programs. You may:</para>
19 <para>Simply select the relevant item in the &kmenu;.</para>
22 <para>Run the program from &konsole;, or by clicking the &kmenu; and choosing <guimenuitem>Run Program</guimenuitem> (while you still might prefer the quick keyboard shortcut, which is simply <keycombo action="simul">&Alt;<keycap>F2</keycap></keycombo>).</para>
25 <para>Create a shortcut on the desktop or use &kicker;'s quick launcher.</para>
29 <para>The &kmenu; functions much like the Start menu of &Windows;, however
30 it breaks programs up by what they do. Programs on the &kmenu; are broken
31 into category menus, such as <guisubmenu>Multimedia</guisubmenu> and
32 <guisubmenu>Office</guisubmenu>. Under these category menus there are
33 subcategory menus, such as <guisubmenu>Sound</guisubmenu>,
34 <guisubmenu>Video</guisubmenu> and <guisubmenu>Graphics</guisubmenu>. Under
35 the subcategory menus lie program launchers, which, when clicked on, launch
36 the associated application.</para>
38 <para>Depending on the program, there may not be a launcher in the &kmenu;.
39 To search your hard drive for more applications, click the &kmenu;, choose
40 <guimenuitem>Run Command</guimenuitem> and type
41 <userinput><command>kappfinder</command></userinput>. In
42 &kappfinder;, click <guibutton>Scan</guibutton>, and the hard drive will be
43 searched for programs. Click the checkbox next to each program to be added
44 to the &kmenu;, and click <guibutton>Apply</guibutton> and
45 <guibutton>Close</guibutton>. The &kmenu; now will have new program
46 launchers under the relevant category menus.</para>
48 <para>Launchers to programs may also be placed on the desktop. To create a
49 new launcher, <mousebutton>right</mousebutton> click on the desktop, and
50 choose <menuchoice><guimenu>Create
51 New</guimenu><guimenuitem>Link to
52 Application</guimenuitem></menuchoice>. On the &kdesktop; properties dialog
53 box, type in the name of the program on the <guilabel>General</guilabel>
54 tab. You may also wish to choose a custom icon by clicking on the gear icon.
55 Click the <guilabel>Application</guilabel> tab and type a short sentence
56 about the program in the <guilabel>Description</guilabel> textbox. In the
57 <guilabel>Command</guilabel> textbox, type the name of the program (case
58 sensitive), and any command line options you wish to use. Choose
59 <guibutton>OK</guibutton>, and your new program launcher will be created on
60 your desktop. Simply click on the new launcher on the desktop and the
61 associated program will run.</para>
63 <para>To launch a program using &konsole;, click the &kmenu; and choose
64 <menuchoice><guisubmenu>System</guisubmenu><guisubmenu>Terminals
65 </guisubmenu><guimenuitem>Konsole</guimenuitem></menuchoice>. Once &konsole;
66 appears on the screen, simply type the name of the program you wish to
67 launch (remembering that <application>bash</application>, the command language interpreter that &konsole; uses by default, is case-sensitive) and press
68 <keycap>Enter</keycap>. If you are unsure about the name of a program, type
69 the first few letters then press the 	 key on your keyboard. By pressing
70 	, <application>bash</application> (through &konsole;) will try to guess the name of the program you wish to
71 launch. If it finds more than one matching program, a list of
72 matching programs will be printed on the screen. Type the name of the
73 program from the list and press <keycap>Enter</keycap> to launch.</para>
75 <para>Whichever way you choose, launching a program is a simple affair with
76 &kde;. From the &kmenu;, to &konsole;, all your programs are just a few
77 clicks or key-presses away.</para>
79 <!-- Add links to "further reading" here -->
81 <title>Related Information</title>
82 <listitem><para>Check the &kicker; handbook for more information on enabling or disabling the &kmenu;, adding applications to the quick launch, or on organizing the categorization of the applications in the &kmenu;. You can view the &kicker; handbook either via the &khelpcenter; or by using &konqueror;'s KIOslave by typing <userinput>help:/kicker</userinput> in the Location toolbar.</para>
90 &programs-controlling;
92 <sect1 id="programs-save-open">
97 <firstname>Christian</firstname>
98 <surname>Weickhmann</surname>
100 <email>christian.weickhmann@gmx.de</email>
105 <title>Opening and Saving Files</title>
106 <!-- TODO: Convert this whole thing to an image with callouts. It -->
107 <!-- should be much nicer that way. -->
110 <para>&kde; provides a unified way to open or save files via the file
111 dialog. In almost every &kde; program you will find a
112 <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem>
113 </menuchoice> and <menuchoice><guimenu>File</guimenu>
114 <guimenuitem>Save</guimenuitem></menuchoice> (and/or <guimenuitem>Save
115 As...</guimenuitem>) entry.</para>
117 <sect2 id="file-dialog">
118 <title>The File Dialog</title>
122 <screeninfo>The &kde; <quote>Open File</quote> dialog</screeninfo>
125 <imagedata fileref="open-file-dialog.png" format="PNG"/> </imageobject>
127 <phrase>The &kde; <quote>Open File</quote> dialog</phrase>
130 <para>The &kde; <quote>Open File</quote> dialog</para>
138 <areaspec units="calspair">
139 <area id="navigation-area-co" coords="1 1"/>
140 <area id="icon-view-co" coords="1 1"/>
141 <area id="bottom-area-co" coords="1 1"/>
142 <area id="quick-access-co" coords="1 1"/>
143 <area id="preview-area-co" coords="1 1"/>
146 <imagedata fileref="open-file-dialog.png" format="PNG"/>
152 <!-- ======================================================================
156 <callout arearefs="pt-first-channel-1"><para>This is called the <interface>Input Line</interface>. To send a message to everyone in the channel, type the message here and press &Enter;.
157 Your message, as well as everyone else's messages appear in the channel scroll above.
158 Each message is preceded by the time and user's &nickname;.</para></callout>
164 ====================================================================== -->
165 <para>This dialog consists of between three and five areas. The
166 top area is where you find the navigation and configuration functions. The
167 main area (in the middle) is where all your files are being displayed as
168 icons. This is called an icon view. The bottom area is where you can edit
169 filename or filter expressions and say <guibutton>Save</guibutton> or
170 <guibutton>Open</guibutton>.</para>
172 <para>In addition to that you can add two even more sophisticated areas:
173 the <link linkend="quick-access">Quick Access Navigation Panel</link> and
174 the <link linkend="preview-area">Preview Panel</link>.</para>
178 <callout arearefs="navigation-area-co">
180 <para>Next to the three navigation buttons (one directory
181 <guiicon>up</guiicon>, <guiicon>back</guiicon> and
182 <guiicon>forward</guiicon>) and the <guiicon>new folder</guiicon> button
183 there is the <guiicon>bookmarks</guiicon> menu. Here you can mark any folder
184 you visit often to find it quickly. The <guiicon>wrench</guiicon> icon holds
185 the different functions to sort your files by name, date or size and to
186 enable the two extra panels mentioned above. Next to it you can type the
187 directory and choose (on the very right side) the encoding.</para>
191 <callout arearefs="icon-view-co">
193 <para>You'll find the icon view in the middle of the dialog. You will find
194 most of the navigation functions in the context menu by clicking on the
195 items or the background with the <mousebutton>right</mousebutton> mouse
200 <callout arearefs="bottom-area-co">
203 <para>The bottom of the dialog consists of the address field holding the
204 file name you chose or typed in and the maybe most powerful tool: The
205 filter. Here you can make the icon view display only items that match the
206 criteria you define. Try filtering files whose names contain
207 <quote>air</quote> by typing <userinput>*air*</userinput> into the filter
212 <callout arearefs="quick-access-co">
214 <anchor id="quick-access"/>
216 <para>The Quick Access Panel (activate it by typing the
217 <keycap>F9</keycap> key on your keyboard or through the wrench icon on top
218 of the dialog) provides configurable shortcuts to frequently used
219 locations on your hard drive or even on the Internet. There are several
220 preconfigured locations such as your home directory. Try right clicking on
221 any item to configure it or to empty space to add a new entry. You will be
222 shown a context menu. Here you can choose the icon size and to add, modify
223 or rename any entry. Choose <guimenuitem>Add Entry</guimenuitem> and you
224 will see a window containing anything you need: Type your description, enter
225 the location (or choose it via the dialog opening by clicking on the
226 folder symbol), choose a symbol from a vast variety in the symbol dialog
227 opening when you click on the predefined icon (usually a simple folder
232 <callout arearefs="preview-area-co">
234 <anchor id="preview-area"/>
235 <para>The Preview area (activate it by typing the <keycap>F11</keycap>
236 key on your keyboard or via the wrench icon on top of the dialog)
237 makes it easy to preview almost any file on your filesystem. Images
238 will be displayed as thumbnails. Usually also sound files (such as
239 MP3, Ogg or Wave-Files), text files (among them raw text, PDF and
240 &HTML;) and even video files (MPG, AVI and so on) will be
243 <note><para>Note that large files might take a long time to be previewed
244 (⪚ scaled down if they are large images). You can disable automatic
245 previews by unselecting <guilabel>Automatic Preview</guilabel> below the
246 preview. You can still preview individual files: just click <guibutton>Preview</guibutton>. You can also disable previews for files above a certain
247 size. Go to &kcontrolcenter;, choose <menuchoice><guilabel>KDE
248 components</guilabel><guilabel>File manager</guilabel></menuchoice>, go to
249 the <guilabel>Preview and Metafiles</guilabel> tab and change the
250 <guilabel>Maximum Filesize</guilabel> value.</para></note>
255 <!-- Add links to "further reading" here -->
257 <title>Related Information</title>
258 <listitem><para>to be written</para>
268 <sect1 id="configuring-programs">
277 <title>Configuring Programs</title>
279 <sect2 id="configure-kapp">
280 <title>Application Configuration</title>
281 <!-- FIXME: Make a more friendly title -->
282 <indexterm><primary>Configuration</primary></indexterm>
283 <indexterm><primary>Customization</primary></indexterm>
285 <para>&kde; applications are intended to be as useful and usable as
286 possible <quote>out of the box</quote>, but they also offer a wide
287 range of options which you can change to make &kde; work for you. As
288 well as the settings which affect the whole of &kde; (see <xref
289 linkend="control-center"/>), each application has a set of
290 configuration options, which you can access using the menu option
291 <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure
292 <replaceable>Application</replaceable></guimenuitem>
293 </menuchoice>. This is the same for all &kde; applications, which
294 makes it easy to find the configuration dialog for an
297 <!-- TODO: Screenie of a typical config dialog -->
299 <para>On the left of the configuration dialog is a list of
300 sections. Clicking on one of these sections displays the configuration
301 page for that section on the right-hand side of the dialog. You can
302 change these options to fit your preferences.</para>
304 <para>When you have made the changes you want, you can click on
305 <guibutton>OK</guibutton> to save your changes and close the
306 configuration dialog. If you want to see the effect of your changes,
307 but not close the configuration dialog, click on the
308 <guibutton>Apply</guibutton> button. This is useful if you aren't sure
309 about the change you've made, and might want to change back, because
310 the dialog is still open, ready for you to do so.</para>
312 <para>If you decide that you don't want to keep the changes you've
313 made, just click <guibutton>Cancel</guibutton> to close the dialog
314 without saving your changes.</para>
318 <sect2 id="configure-shortcuts">
319 <title>Configuring Keyboard Shortcuts</title>
321 <indexterm><primary>Shortcuts</primary></indexterm>
322 <indexterm><primary>Keybindings</primary></indexterm>
324 <para>Most &kde; applications offer keyboard shortcuts for the main
325 actions in the application. If you find that you don't like the
326 default keyboard shortcuts, or that they conflict with the shortcuts
327 of another application (maybe one that's not part of &kde;), you can
329 <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure
330 Shortcuts...</guimenuitem>
331 </menuchoice> menu entry. This brings up the
332 <guilabel>Configure Shortcuts</guilabel> dialog for the
333 application. As an example of how to use this dialog, let's add a
334 shortcut for the <guimenuitem>Send Link Address...</guimenuitem> action to
335 &konqueror;, so that we can email the locations of interesting pages
336 to friends just by hitting a key (or two): </para>
338 <step><para>Open the <guilabel>Configure Shortcuts</guilabel>
339 dialog in &konqueror;, as described above.</para>
341 <step><para>Click on the <guilabel>Send Link Address...</guilabel> item
342 in the main listbox (it's near the bottom, in the
343 <guilabel>Konqueror</guilabel> section).</para>
345 <step><para>In the <guilabel>Shortcut for Selected
346 Action</guilabel> panel, select <guilabel>Custom</guilabel>, since we
347 are going to give this action a keyboard shortcut that we have chosen.</para>
349 <step><para>A small shortcut entry dialog pops up. Just hit
350 <keycombo action="simul">&Ctrl;<keycap>E</keycap>
351 </keycombo> (or whatever you want to change the shortcut to), and the
352 dialog disappears. The <quote>key</quote> icon in the
353 <guilabel>Configure Shortcuts</guilabel> dialog now shows the new
356 <step><para>If you made a mistake, or change your mind about what
357 to use as the shortcut, just click on the key icon showing the current
358 shortcut. The shortcut entry dialog reappears, and you can press the
359 key combination for the shortcut you want.</para>
363 <!-- TODO: Screenie -->
367 <sect2 id="configure-notifications">
368 <title>Configuring Notifications</title>
370 <indexterm><primary>Notifications</primary></indexterm>
371 <indexterm><primary>Sounds</primary></indexterm>
373 <para>Something about
374 <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure Notifications...</guimenuitem>
375 </menuchoice>.</para>
379 <sect2 id="configuring-toolbars">
382 <firstname>Adriaan</firstname>
383 <surname>de Groot</surname>
386 <title>Configuring Toolbars</title>
388 <para>Nearly every &kde; application has one or more toolbars at the top of
389 the application window, underneath the menu. The toolbar contains icons
390 (toolbar buttons) that represent commonly used actions and configuration
391 settings. The &kmail; window, for instance, has a toolbar that contains
392 buttons for <guiicon>New Message</guiicon>, <guiicon>Check Mail</guiicon>
393 and several others. Each of these actions is something you do often, so
394 that's why they have toolbar buttons as well as menu entries (<guiicon>New
395 Message</guiicon> is under
396 <menuchoice><guimenu>Message</guimenu><guimenuitem>New
397 Message</guimenuitem></menuchoice>, <guiicon>Check Mail</guiicon> is
398 <menuchoice><guimenu>File</guimenu><guimenuitem>Check
399 Mail</guimenuitem></menuchoice>).</para>
401 <para>Not everybody agrees on what actions are commonly used, though, (I
402 never use the <guiicon>New Message</guiicon> toolbar button or the menu
403 item, I use the keyboard shortcut <keycombo
404 action="simul">&Ctrl;<keycap>N</keycap></keycombo>). To ensure that your
405 screen isn't cluttered with things you don't need, each toolbar can be
406 customized. Additionally, you can usually customize which toolbars are
407 displayed and how, as well.</para>
409 <sect3 id="customizing-toolbar-displays">
410 <title>Customizing Toolbar Displays</title>
412 <para>The easiest thing to customize with the toolbars of any given
413 application is whether they are displayed at all. Most applications have a
414 <menuchoice><guimenu>Settings</guimenu><guisubmenu>Toolbars</guisubmenu>
415 </menuchoice> menu where you can select which toolbars are displayed and
416 which are not. &konqueror; has four toolbars, <interface>Main</interface>,
417 <interface>Extra</interface>, <interface>Location</interface> and
418 <interface>Bookmark</interface>. It can be convenient to turn off the
419 <interface>Bookmark</interface> toolbar to save
420 screen space. To do so, click on the <guimenu>Settings</guimenu> menu,
421 choose <guisubmenu>Toolbars</guisubmenu>, and then uncheck the
422 <guimenuitem>Bookmark Toolbar</guimenuitem> entry (do this just by clicking
423 on the menu item).</para>
425 <para>If there is no <guimenu>Settings</guimenu> menu, you can also
426 <mousebutton>right</mousebutton> click on the toolbar itself, and choose the
427 <guisubmenu>Toolbars</guisubmenu> sub-menu from the resulting context
430 <para>The same <guimenu>Toolbar</guimenu> context menu, accessed by
431 <mousebutton>right</mousebutton> clicking on the toolbar, allows you to
432 customize other properties of the toolbar:</para>
436 <para>Its orientation, so that instead of appearing at the top of the
437 window under the menu bar you can place it on the left, right or bottom of
441 <para>Its orientation, so that the toolbar <quote>floats</quote> as a
442 separate window which you can move independently.</para>
445 <para>Its orientation, so that the toolbar is squashed into a little flat
446 grip that you can re-open by double-clicking on it (this is subtly
447 different from making the toolbar vanish completely, since it it easier to
448 cause it to re-appear).</para>
451 <para>The appearance of text alongside, underneath, or instead of the icons
452 on the toolbar.</para>
455 <para>The size of the icons (if they are not supplanted by
461 <sect3 id="customizing-icons-on-toolbar">
462 <title>Customizing the Icons on the Toolbar</title>
464 <para>The toolbar is intended for actions that you perform often, so what do
465 you do if there is some useless icon there, like <guiicon>Cut</guiicon>? Or
466 what if you really want a <guiicon>cut</guiicon> button on the toolbar, but
467 the application doesn't give you one? This is where the customize toolbars
468 dialog comes in — it give you complete control over the actions that
469 are available on each toolbar.</para>
471 <para>Choose <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure
472 Toolbars</guimenuitem></menuchoice> from the application's menu, or
473 <guimenuitem>Configure Toolbars</guimenuitem> from the context menu of the
474 toolbar itself. This displays the configure toolbars dialog, which consists
475 of a combobox <!-- drop-down box? --> with which you can select
476 <emphasis>which</emphasis> toolbar to customize, and two lists of items
477 — one of the available actions, and one of the actions that are
478 already in use on the toolbar.</para>
480 <para>Often there are many many more actions available ( <guiicon>activate
481 tab #12</guiicon>, for instance) than you would ever want on the toolbar, or
482 even that you know exist in the application. The customize toolbar dialog
483 can be a learning experience. You can drag actions from one list box to the
484 other, rearrange the items on the toolbar <!-- in the list box on the right
485 ..... not sure if I should be LTR-centric -->, or change the icon for a
486 selected action. This allows you to drag the actions you don't want off of
487 the toolbar and into the list of available actions; similarly, the actions
488 you do want can be dragged into the toolbar. Clicking
489 <guibutton>OK</guibutton> in the dialog immediately updates the toolbar with
490 your new preferred actions.</para>
492 <para>There are a few special items that can end up in the listbox for the
493 current toolbar:</para>
497 <para>separators, which exist in two flavors:
499 <listitem><para><guilabel>line separator</guilabel> appears as a line
500 between two action icons</para>
502 <listitem><para><guilabel>separator</guilabel> appears as a larger
503 space between two action icons</para>
509 <para><guilabel><Merge></guilabel>, which is a special item that
510 allows plugins and other loadable components of the application to insert
511 their actions into the toolbar as well. It is generally not a good idea to
512 remove this, since you cannot get it back.</para>
515 <para><guilabel>ActionList:</guilabel>, these appear in various flavors
516 (there is a viewmode_toolbar one in &konqueror;) and again these
517 represent lists of actions that might be inserted by
522 <para>Whenever you click on an action in the list of current actions, a
523 description of it is shown in the dialog. This description will warn you if
524 it is a bad idea to remove the action.</para>
526 <para>If you do not like to drag things around, there are four buttons in
527 the middle of the dialog which allow you to move the selected action from
528 one list to the other, and to move a selected current action up or down in
529 the list. There must be a way to restore the default toolbars in an
530 application, in order to recover from accidentally deleting an important
531 action like <guilabel><Merge></guilabel>, but I don't know what it
534 <!-- Add links to "further reading" here -->
536 <title>Related Information</title>
537 <listitem><para>to be written</para>
549 <!-- Keep this comment at the end of the file
554 sgml-namecase-general:nil
555 sgml-general-insert-case:lower
556 sgml-minimize-attributes:nil
557 sgml-always-quote-attributes:t
559 sgml-indent-data:true
560 sgml-parent-document:("index.docbook" "book" "sect1")
561 sgml-exposed-tags:nil
562 sgml-local-catalogs:nil
563 sgml-local-ecat-files:nil