# First Impressions

Origin unknown

You see to sea to see all that you can see is sea

First impressions are so important -- this is not only true for Agatha Christie's famous thriller The Mousetrap -- but also for &kde;. As we mentioned before, &kde; is supposed to be the most intuitive, easy to learn user interface available. In fact, we will have reached our goal when users no longer need this book in order to work with &kde;, causing the authors to lose their (unpaid and voluntary) jobs as documenters.

## Starting &kde;

When you boot a &UNIX; system, one of three things should happen (that is, if the system works correctly; everything else is an undocumented fourth case). Either you stay in text mode and get a login prompt, you are logged into your &GUI; of choice automatically, or you are presented with a graphical login window. In the first case, you must log into your system and type:

    startx

If the installation was successful, the &kde; desktop should appear after a few seconds of initialisation.

If a graphical login window is presented, then all that should be required is your login name and password. Assuming the &kde; installation was successful, &kde; should start without further intervention.

If you have not done so already, we recommend changing your X display manager from xdm to &kdm;, which includes the same functionality, but with the advanced features of the K Desktop Environment.

If your system is configured to automatically log you into a &GUI; you will need to consult your operating system manuals or support forums for instructions how to have &kde; be that &GUI;.

## Desktop Components

After everything has come up, take some time to explore the new environment. If you have already worked with &Windows;, OS/2 or &MacOS;, many things should look familiar to you. The main visible parts of &kde; that you will see are the desktop itself, and the panel.

### Panel

When you start &kde; for the first time, the panel is situated at the bottom of the screen. From here, you will start your programs and switch between the virtual screens.

&kicon; button

  The &kicon; button is one of the most important places on your &kde; desktop. From here, you can start all &kde; applications installed. Later, when you learn how to use the K Menu Editor, you can also add other programs here as well. To start a program, just click on the button. You will see a list of different categories, plus some special entries. Whenever you move your mouse over an entry that has an arrow to the right, a new menu will appear. When you find the program you want to start, just click on it with the left mouse button.

Virtual Desktop buttons

  When you start &kde; for the first time, note the four buttons labelled, appropriately enough, 1, 2, 3 and 4. These represent your four desktops. Just click one of them. Don't worry; though they have disappeared, any open windows are still active (just take a look at the task list!). Using multiple desktops is one of the most powerful features of &kde; and the &X-Window;. Instead of placing one window over another, as you would when using &Windows; or OS/2, you can say Well, on the first desktop, I will write the &kde; User Guide. On the second desktop I'll run the `meinproc` documentation compiler and see my results while compiling my &Linux; kernel on the third desktop, and reading my email on the fourth.

Icon bar

  Some people are so lazy that they consider even the two or three motions through the application's menu to be too much (me included). For them, additional buttons can be placed next to the desktop buttons; for example, shortcuts to your home folder, to your trashcan, to the Konsole terminal emulator and to the documents you use often. For information on how to add icons to the taskbar, read Adding icons to your taskbar.

  &kde; by default installs several commonly used buttons, including links to &khelpcenter;, &kwrite; and &kcontrol;.

Time and date

  At the far right end of the &kde; panel, you can always see the time and date.

The task list

  In another section of the panel, find a button for each open window. Just click on the button corresponding to the windows you want to open. Another click will minimise the window. A right mouse button click will give you a menu allowing you to move the window to another desktop, manipulate it's size, or close the application.

### Using Windows

Window menu

  Right mouse button clicking in the title bar of the window (where you see the application's name), you can see a window manipulation icon. This is the same menu you see if you right click on an application's icon in the panel taskbar. When you click on it, a context menu containing commands to manipulate the window is presented. The available commands are as follows:

  Move

    Lets you move the window with your mouse. Click on the left mouse button when you have the window where you want it to be.

  Resize

    Enables you to make the window smaller or larger. Move your mouse around and click when you are satisfied with the new size.

  Minimise

    Hides the window, leaving only an icon in the taskbar. Notice that the window title in this icon is now shown in (parentheses). To bring the window to the desktop again, click the icon.

  Maximise

    This will expand the window to the largest size possible. Note that &kde; will take the size of your virtual desktop, which means that the window could be bigger than your screen.

  Shade

    Roll up the window, leaving only the titlebar visible. You can achieve the same effect by double clicking in the titlebar. To display the entire window again, select Shade again, or double click in the titlebar.

  Advanced

    Here you can find menu options that allow you to manipulate how windows may cover each other up, and more:

    Keep Above Others

      Selecting this will keep this window on top of all other applications, even when it does not have the focus.

    Keep Below Others

      Selecting this will keep this window below all others, even when it does have the focus.

    Fullscreen

      Selecting this makes the window take up the entire screen, similar to maximising, however, there are no window decorations showing. To switch to other applications, you may need to use the keybindings. For instance &Alt;&Tab; to switch to another window or &Ctrl;&Tab; to switch to another virtual desktop.

      To revert from fullscreen mode, you can use the &Alt;F3 shortcut to show the window operations menu and deselect Advanced Fullscreen .

    No Border

      Remove the window decoration and border from this window. This is useful for monitor type applications, such as &kpager; which you keep on screen all the time and will never need the window decorations for. Many people also like to use this for xterm and &konsole; windows.

      To revert from no border mode, you can use the &Alt;F3 shortcut to show the window operations menu and deselect Advanced No Border .

    Store Window Settings

      Stored the current settings for this window (position, size, whether it should always stay on top of all other windows &etc;.). This configuration will then be loaded the next time the window gets opened.

  To Desktop

    Enables you to send a window to another desktop. Choose the desktop where you want the window to be. The window will disappear at once. To see your window again, select the appropriate Desktop Button on the &kde; Panel. Selecting All Desktops will make the window sticky - it will display on all desktops at once, so you can alway see this window.

  Configure Window Behaviour...

    Allows you to change the look and feel, of all the windows in &kde;. This changes the window decoration widgets, including the titlebar buttons, but also including things such as checkboxes and buttons within dialogues, scrollbars, and the titlebar itself. The default is Keramik.

    You can further customise nearly everything about the window manager itself, including how windows behave when moved, what different mouse button clicks will do in different parts of the window, and how to decide which windows have focus.

  Close

    This will close the window. Sometimes the application will allow you to save your work, but in some cases (&eg;, old X11 applications) this does not work. It is best to close an application with its own commands, using this menu item only as a last resort.

    If the application itself is experiencing a problem that doesn't allow you to close it normally, using this menu item, or the window decoration close button will offer you the chance to kill it as gracefully as possible. Note that this may still leave the application open in the background but not showing any windows. Allowing the application to be killed in this manner will most likely allow you back into the desktop however, so you can check in a terminal window and clean up any remaining processes.

#### Window Decoration Buttons

Sticky button

  This button looks like a plus symbol in the default window decoration (Keramik) and may look like a thumb tack in others. It performs the same operation as selecting To Desktop All Desktops in the Window Menu, but requires fewer steps to invoke.

Title bar

  The title bar containing the name of the window can be double-clicked in order to shade it. Use the right mouse button: The Window menu will reappear, allowing you to (un)maximise, iconify, move, resize, (un)sticky the window, to move it to another desktop (this works faster than the method with the sticky button). When a program does not react anymore, you can close (which will sometimes give you the opportunity to save your work) it.

Minimise, Maximise and Close Buttons

  To the right of the title bar, there are two buttons that can also be used to iconify or maximise the window (this is faster than using the window manipulation menu). Iconified windows can be brought back with a click on the taskbar.

  At the far left of the titlebar (with the default window decoration) is a button to close the window.

To move a window, place the cursor on the title bar and hold down the &LMB;. Without releasing the mouse button, move the window to the location of your choice, then release the mouse button. If you want to resize a window, move the mouse cursor to the window border you wish to change. Once you have reached the correct spot, the cursor will change from an arrow to a bracket and an arrow. Hold down the &LMB; and drag the side in question to the location you wish, then release the button. Note that you may drag sides or corners (which will adjust the size in two dimensions at once.)

Using the menu bar of each &kde; window is easy. Just click on what you want to do, and it will be done.

Below the menu bar, there is a set of tool symbols you can use to execute commands. Whenever you move over them, an active picture will be marked. But the menu bar can do even more for you. Notice the textured stripe on the left of the menu and icon bars? Depress your right mouse button and a context menu will appear, allowing you to put the menu bar on the top, left, right, or bottom of the window. You can also hide the menubar by selecting Flat

### Getting Help

Help is available basically everywhere: On the desktop, just use the right mouse button and choose Help KDesktop Handbook. On the &kde; panel, open the application menu and choose Help. Every &kde; program has a help menu.