Customizing Your Settings

Contents

3.1. Personal Settings - Overview
3.2. Configuring Desktop Objects and Appearance
3.3. Configuring Hardware Components
3.4. Configuring Behavior and System Aspects

You can change the way your KDE desktop looks and behaves to suit your needs. There are several ways to influence the look and feel of the KDE desktop depending on the scope of changes to make. For users, the following options are available:

Personal Settings - Overview

The Personal Settings are the central place for users to change the overall appearance and behavior of many components of the KDE desktop. Start the Personal Settings from the main menu by selecting Favorites+Configure Desktop.

Figure 3.1. Personal Settings

Personal Settings

Use

The General and Advanced tabs provide different categories of settings. To get an impression of the numerous possibilities, just click a category icon and explore the possibilities provided there. Performing tasks in some areas of the personal settings requires system administrator (root) permissions.

Change the settings as desired. No changes take effect until you click Apply. To discard changes in the recent view that you have not yet applied, click Reset. To reset all items in the recent view to the default values, click Defaults.

To get back to the start-up view (showing all categories) again, click Overview. You can also enter a search string at the top of the window (for example, Screen Saver) to find the category which holds options related to the search string. Each character you enter in the Search field further narrows the search.

For easier overview of all categories, you can also switch to a tree view by clicking Settings and selecting another View Style.

Categories

The following list introduces the major categories, and highlights the most important settings you can change there. Detailed information on the settings of each category is provided by the Help button on each page of the settings, or in the help center.

The General tab holds the following categories:

Look & Feel

Holds settings for the appearance of your KDE 4 desktop (such as themes, window decorations, and styles of desktop elements). Allows you to configure 3D desktops effects, increase or decrease the number of virtual (multiple) desktops, or configure screen saver options. Cursor behavior, window behavior and the splash screen that appears on KDE start-up can also be modified here.

Personal

Holds settings for changing the default paths to the subdirectories of your home directory. Allows you to change the default applications (like e-mail client, text editor, messenger, and Web browser) that are called whenever a KDE application needs to start applications of these types. Define country and language-specific options here, such as default spell checking options, currency, number and date format, and keyboard layouts for different languages. This category also offers accessibility options for handicapped users, such as sound and keyboard options and mouse gestures.

Network & Connectivity

Allows you to set options for network management, local network browsing and proxy servers.

Computer Administration

Allows you to configure date and time settings for your KDE desktop, to change size and orientation of your display, and to specify power management options for saving energy. Also holds settings for joysticks, keyboard and mouse. You can view and modify the predefined KDE shortcuts. You can also install personal or systemwide fonts here and configure your sound system.

The Advanced tab holds the following categories:

Advanced User Settings

Use this category to configure options like encoding or to which database to connect for track listings of audio CDs, to configure your digital camera, or to change the settings for KWallet (the KDE password management tool). If needed, change the default file associations in order to identify a file type and start an appropriate application. Define how KDE handles sessions on login or shutdown and define which applications should be started automatically.

System

Holds options for the login manager, power management and Samba.

[Tip]Starting Individual Modules

You can also start individual modules of the Personal Settings from the shell or by adding a special applet to your panel.

To start modules from a shell, enter kcmshell4 --list to get a list of all available modules. Then enter kcmshell4 module name to start the desired module.

Conversely, add the Settings applet to your panel according to the description in Section 3.2.3, “Panel”.

In the following sections, find examples of how to configure some aspects of your KDE desktop that you might want to customize.

Configuring Desktop Objects and Appearance

Your KDE desktop comes with a predefined set of desktop icons. By adding various objects such as folders, files, or widgets, you can create additional icons on your desktop and arrange them as you like.

Procedure 3.1. Adding Program Icons to the Desktop

To create a link to an application and place it on the desktop or the panel, proceed as follows:

  1. Click the main menu button and browse to the desired application.

  2. Right-click and select Add to Desktop or Add to Panel from the context menu that appears. If these menu items are not available, your desktop elements are probably locked. Unlock them first as described in Section 1.2.1, “Locking and Unlocking Desktop Objects”.

  3. To change the icon position on the desktop, left-click the icon and drag it to the desired place.

To delete an icon from your desktop, right-click the icon and select Remove this Icon.

Widgets

Procedure 3.2. Adding Widgets to the Desktop

Widgets are small applications that can be integrated into your desktop or your panel.

  1. To add widgets to you desktop, right-click an empty patch on your desktop and select Add Widgets.

    If these menu items are not available, your desktop elements are probably locked. Unlock them first as described in Section 1.2.1, “Locking and Unlocking Desktop Objects”.

  2. In the dialog box that appears, you can limit the selection of widgets that is shown with the drop-down list at the top or by entering a search string into the input field.

  3. Select a widget and click Add Widget. The widget appears on your desktop or in your panel.

  4. To position the widget on your desktop, left-click the widget and drag it to the desired place. To align all widgets to a grid, right-click an empty patch on the desktop and select Align Horizontally or Align Vertically.

To remove a widget from your desktop, right-click the widget and select the Remove... entry. Conversely, hover your mouse pointer over the widget and click the X symbol in the frame.

Procedure 3.3. Configuring Widgets

In order to configure widgets, the desktop elements need to be unlocked as described in Section 1.2.1, “Locking and Unlocking Desktop Objects”.

  1. To configure a widget, hover your mouse pointer over the widget until a translucent panel appears on the left or right side of the widget, showing a number of symbols.

    If the panel does not appear, your widgets are probably locked. Unlock them first as described in Section 1.2.1, “Locking and Unlocking Desktop Objects”

  2. To change the widget size, left-click the resize symbol in the panel and keep the mouse button pressed while moving your cursor across the desktop to scale the widget size.

  3. To rotate the widget in any direction, left-click the arrow symbol in the panel and keep the mouse button pressed while moving your cursor in a circle across the desktop. There is a sticky boundary in the horizontal and vertical positions where you can clamp the widget, if you like. You can also arrange it in any tilted position.

  4. To change the contents, settings, or properties of a widget, left-click the wrench symbol in the panel. In the configuration dialog box that appears, set the options according to your wishes.

Use the X symbol in the panel if you want to close the widget.

Virtual Desktops, Background and Screen Saver

Procedure 3.4. Changing the Desktop Background

You can change the background colors of your desktop or select a picture to use as the background.

  1. Right-click an empty patch of the desktop and select Desktop Settings. A configuration dialog appears.

  2. In the Wallpaper section, choose from the Type drop-down list if you want to use an Image, a Slide Show or a Color as background.

    • For an image wallpaper, choose a wallpaper from the Picture list. Click Get New Wallpapers to download and install new wallpapers. To use a custom picture, click the folder button beneath the list and select an image file from the file system. Define the Positioning of the image.

    • To have multiple images appear in Slide Show mode, define the directory from which to select the pictures and set the interval after which to change the images.

  3. Set the other options in the configuration dialog according to your wishes, and click OK to save your changes and leave the configuration dialog.

Procedure 3.5. Adding Additional Virtual Desktops

Some users might need more desktops than provided by default.

  1. Right-click the desktop previewer in the panel and select Configure Desktops. A configuration dialog appears where you can increase or decrease the number of virtual desktops. You can also change the default names of desktops.

  2. Click OK to apply the changes and close the configuration dialog.

  3. For the names of the desktops to appear in the desktop previewer rather than the number, right-click the desktop previewer and select Pager Options+Desktop Name.

Procedure 3.6. Using Different Options for Each Virtual Desktop

Though somewhat more complicated than with KDE 3.x, you can configure your virtual desktops in a way that allows you to use different wallpapers or widgets on each.

[Note]Combining Virtual Desktops with Plasma Activities

Note that the implementation in this release of KDE is still in an experimental state. Some features may not work as expected.

To access the relevant configuration options, you need to show the cashew icon at the upper right corner first (in openSUSE it is not visible by default). To do so, right-click an empty patch on your desktop and select Desktop Settings. In the dialog that appears, click Type below Desktop Activity and select the Desktop - Default Desktop Containment entry from the list. Click OK to confirm the settings and to close the dialog. Now the cashew icon is visible at the upper right corner of your desktop.

  1. Click the cashew icon at the upper right corner of your desktop and select Configure Plasma.

  2. In the Plasma configuration dialog, activate Different Activity for Each Desktop and click OK.

    From now on, each of your virtual desktops will have separate plasma activities. This will allow you to have a different wallpaper on each virtual desktop, as well as a completely separate set of widgets.

  3. Now switch to the virtual desktop you want to configure and set a custom background as described in Procedure 3.4, “Changing the Desktop Background” or add new widgets for the virtual desktop as described in Procedure 3.2, “Adding Widgets to the Desktop”.

To make all virtual desktops appear the same again and to remove the binding between virtual desktops and activities, zoom out of your current desktop again and deactivate Different Activity for Each Desktop in the Plasma configuration dialog.

Procedure 3.7. Configuring the Screen Saver

openSUSE® comes with predefined screen saver settings that you can adjust.

  1. Start the Personal Settings from the main menu by selecting Favorites+Configure Desktop.

  2. On the General tab, select Desktop.

  3. In the dialog that opens, click Screen Saver.

  4. In the list of screen savers, click a screen saver to see a preview in the right side of the dialog.

  5. Click Setup to adjust options like speed or shapes.

  6. You can also choose to view a blank screen instead or to let KDE start a random screen saver. Find these options at the end of the screen saver list.

  7. Under Settings, determine after how long a time of inactivity the screen saver should start and whether a password is required to unlock the screen after the screen saver has started.

  8. Click OK to apply the changes and close the configuration dialog.

Panel

You can customize the KDE panel according to your preferences. Applications and widgets can be added to the quick launch area or the system tray in the main panel or to additional panels. Panel elements and additional panels can be moved to different places or be completely removed at any time.

Procedure 3.8. Customizing the Panel

  1. Right-click an empty patch in the panel and select Panel Settings to access any panel options. Conversely, click the cashew icon at the end of the panel. The panel changes view and shows its configurations options.

    If the menu item and the icon are not available, your desktop objects are probably locked. To unlock, right-click and select Unlock Widgets first.

  2. To move panel objects to a different place within the panel, hover the mouse cursor over the respective panel object (for example, program icon, pager, task manager, system tray). The mouse cursor turns into a crosslines-like form. Move the cursor to the desired position in the panel, then click again to fix the object in the new position.

  3. To change the panel width, click and drag the small arrow icons at the far left and right end of the settings panel.

  4. To change the panel height, click the Height button and move the mouse cursor to the desired end location.

  5. To place the panel at different sides of the screen use the Screen Edge button. Drag and drop the panel to the preferred location.

  6. If you need additional widgets on your panel, add them with the Add Widgets... button as described in Step 2.

  7. To remove program icons or widgets from the panel, right-click the unwanted object and select the menu item to remove the icon or widget.

    The icons in the system tray usually belong to applications running in the background. Therefore you can only remove those icons if you close those applications (right-click the icon and select Quit).

  8. To prevent the panel and widgets from being moved accidentally, use Lock Widgets.

  9. For additional configurations options like alignment and functions (like auto hide), click More Settings....

  10. If all panel changes are according to your wishes, close the settings panel with the red close button on the right side.

Configuring Hardware Components

Most of your hardware components (like mouse, keyboard and display) are configured automatically. In case you need to change any settings, KDE provides a set of options and tools, some of which are integrated into the Personal Settings (like options for mouse and keyboard behavior or the display options). For adjusting your display configuration on the fly, use KRandRTray, the graphical front-end for the RandR (Resize and Rotate) extension of the X server.

Keyboard and Mouse Settings

In the Keyboard & Mouse category of the Personal Settings, you can define options like what happens if you press and hold down a key (keyboard repeat), or what to do with the NumLock toggle key. You can also change keyboard shortcuts as described in Procedure 3.10, “Modifying KDE Keyboard Shortcuts” or alter your mouse settings (for example, for left-handed or right-handed use as described in Procedure 3.11, “Adjusting the Mouse Settings”). Apart from that, you can adjust or add keyboard layouts in the Regional & Accessibility section of the Personal Settings.

Procedure 3.9. Adjusting and Adding Keyboard Layouts

  1. To adjust or add keyboard layouts, open the Personal Settings and select Regional & Accessibility+Keyboard Layout.

  2. Activate Enable keyboard layouts at the top.

  3. If you have a special Keyboard Model, select the appropriate model from the list, otherwise just keep the default.

  4. If you often need to enter texts in various languages, you may want to add different language layouts for your keyboard. To do so, select a layout in the list of Available layouts and click the right arrow button to transfer it to the list of Active layouts.

  5. If you added several layouts, you can change the sorting order with the help of the up and down arrow buttons.

  6. Use the Switching Options tab to adjust the options for switching between the keyboard layouts. For example, you can define keyboard shortcuts for switching.

  7. For more information, click Help.

  8. Confirm your changes with Apply.

If you added keyboard layout, you can change between different keyboard layouts by clicking the country flag in the panel or by using the relevant keyboard shortcut.

Procedure 3.10. Modifying KDE Keyboard Shortcuts

KDE comes with a set of predefined keyboard shortcuts. You can easily create more keyboard shortcuts or change existing shortcuts (for example, if they conflict with other application-specific shortcuts).

  1. Open the Personal Settings and select Keyboard & Mouse.

  2. Click either Standard Keyboard Shortcuts or Global Keyboard Shortcuts. In the Global Keyboard Shortcuts category, you can define shortcuts for a number of KDE components like Plasma or the window manager KWin.

    For example, to change the shortcuts for switching between the virtual desktops, select the KWin entry from the drop-down list. To change the shortcuts for locking the screen or logging out, select the Run Command Interface entry.

  3. Browse through the list of shortcuts for the selected entry. To filter for certain keywords, enter a search string in the search field above.

  4. To change or add a shortcut, select the relevant list entry and in the dialog that opens, select Custom.

  5. Click the wrench icon to switch to the input mode.

  6. Press the desired key or key combination. If this shortcut cannot be accepted or in case of conflict with another existing shortcut, a notification shows. If your input was successful, the new or modified shortcut appears in the list.

  7. If you want to switch back to the default keyboard shortcut for the selected action, just click the entry again and select Default.

  8. To save the modified settings, click Apply. To reset all shortcuts to the default values, click Defaults then Apply.

Procedure 3.11. Adjusting the Mouse Settings

  1. Open the Personal Settings and select Keyboard & Mouse.

  2. To switch between left-handed or right-handed use, select the corresponding options in the Button Order group.

  3. To switch to double-clicks to open files and folders, select the corresponding option in the Icons group.

  4. To change the mouse pointer appearance, switch to the Cursor Theme tab and select a different cursor theme.

  5. To change the default values of double-click intervals or the distance that the pointer moves over the screen on movement of the mouse, adjust the settings on the Advanced tab.

  6. Click Apply to apply the changes and close the configuration dialog.

Monitor Settings

Monitors attached to your machine are detected automatically during installation (or, if you plug them in after the installation, they are detected during the next start of the X server). Configure them with the tools your desktop environment (KDE or GNOME) provides. To trigger detection of new monitors during a running session, either use the Fn-Fx keys or the RandR desktop tools, KRandRTray or gnome-display-properties.

If you want to set up multiple monitors for dual-head graphics cards, you can choose between different modes.

Currently, the following modes are generally supported:

Clone Mode

In this mode, the same content is shown on two or more monitors. Clone mode is usually limited to the monitors connected to a single graphics card.

Span View

In this mode, the monitors connected to a graphics card form a single large monitor. You can use 3D acceleration and you can move application windows between the screens. Any application that is maximized stretches across the complete desktop, not only across one monitor. For this mode, a similar resolution of both monitors is recommended for ease of use.

Twin View

This mode is Nvidia-specific and is a hybrid of Span View and Xinerama: you can have 3D acceleration and one desktop stretching over both monitors, but you cannot rotate just one of them (only both or neither).

[Note]Available Modes

Which modes and options are available on your machine depend on your hardware (graphics cards and monitors) and the driver you use.

Procedure 3.12. Configuring One or Multiple Monitors

For configuring multiple monitors, you need a graphics card that is supported by a driver that implements the RandR extension in version 1.2 or higher. To find out if you are using a valid driver, run the xrandr command and check the output. If you only get a single output that contains the string default, your driver only supports RandR version 1.1. For illustration, see the examples below.

Example 3.1. Example Output for a Driver Supporting RandR 1.1

$xrandr
Screen 0: minimum 2048 x 768, current 3360 x 1050, maximum 3360 x 1050
default connected 3360x1050+0+0 0mm x 0mm
   3360x1050      50.0*
   2048x768       51.0
    

Example 3.2. Example Output for a Driver Supporting RandR 1.2

$xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 3840 x 1200
DVI-I_1/digital disconnected (normal left inverted right x axis y axis)
DVI-I_1/analog connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1024x768       60.0
   800x600        60.3
   640x480        59.9
DVI-D_2 disconnected (normal left inverted right x axis y axis)  1280x1024 (0x3e)  108.0MHz
   h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
   v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
    

  1. Open the Personal Settings and select Display.

  2. Select Size & Orientation to configure parameters like dual-head modes, screen size, and refresh rate.

  3. Parameters like standby, suspend or power off for your monitor can be configured in the Power Control category.

  4. To calibrate your monitor, click the Gamma category. For more information, click Help.

  5. In the Multiple Monitors category, you can set some options for application windows (for example, if maximized windows need to be limited to just one monitor).

  6. Confirm your settings with Apply.

To adjust your display configuration on the fly, start KRandRTray from the main menu, or press Alt+F2 and enter krandrtray. After you have started the applet, the applet icon is usually added to your system tray. To change screen size or refresh rate, right-click the icon and select one of the entries. After selection, your screen resolution changes immediately and you are asked to confirm the new configuration or to revert to the old one. If you do not confirm the new configuration, the display switches back to the former resolution automatically after 15 seconds. If you left-click the icon, you are taken to the same configuration dialog you can also start from the Personal Settings.

Background Information

The following background information might help you in case your hardware components are not detected correctly by default and you need to adjust some settings manually.

Graphics Card and Display

The following processes are executed by the system to detect and configure your monitor: The X server is responsible for detecting the graphics card. The corresponding driver is selected according to a certain order defining the priorities, for example:

ATI: fglrx --> radeonhd --> radeon --> fbdev --> vesa
NVIDIA: nvidia --> nouveau --> nv --> fbdev --> vesa
VIA: chrome9 --> openchrome --> unichrome
Intel: intel --> fbdev --> vesa

If one of the drivers in the list does not exist or the hardware is not supported, the system tries the next driver. The driver then addresses the monitor in its native resolution. Dynamic changes can be made using desktop-specific tools like gnome-display-properties or KRandRTray.

Mouse, Keyboard and Touchpad

For mouse and keyboard, the evdev driver is used; for notebook touchpads the synaptic driver. The settings are defined systemwide by HAL (hardware abstraction layer) and are stored under /usr/share/hal/fdi/policy.

In case you need to adjust your (static) X Window System configuration for hardware components, this can be done with a graphical front-end (SaX2) or by editing the /etc/X11/xorg.conf configuration file manually (for experts only). To start SaX2, press Alt+F2 and enter sax2 (root password needed).

For experienced users, there are also command line tools available: you can set the keyboard with setxkbmap or test and configure XInput devices with xinput.

Configuring Behavior and System Aspects

Procedure 3.13. Changing Default Applications

There are certain default applications defined in KDE: For example, when you click an e-mail address, KMail starts.

  1. To change this behavior and set your preferred Web browser or e-mail client as default, open the Personal Settings and click Default Applications.

  2. To change the Web browser:

    1. In the list of components, select Web Browser.

    2. Select Open http and https URLs in the following browser and click the browse button beneath.

    3. A dialog opens, showing the main menu structure. Select the Web browser to set as default and click OK. The component chooser now shows the selected application in the display field.

  3. To change the e-mail client:

    1. In the list of components, select Email Client.

    2. Select Use a different email client and click the browse button.

    3. A dialog showing the main menu structure opens. Select the e-mail client to set as default and click OK. The component chooser now shows the selected application in the display field.

  4. If desired, change other default applications for KDE, like the application for the terminal window or the instant messenger client.

  5. When all options are set according to your wishes, click Apply.

Procedure 3.14. Changing File Associations

Similar to setting the default Web browser or e-mail application, you can change file associations in KDE. File associations determine which application should be used to open a specific file type.

  1. Open the Personal Settings, click the Advanced tab and select File Associations.

  2. To search for an extension, enter the extension in Find File Type or File Name Pattern. Only file types with a matching file pattern appear in the list. For example, to modify the application for *.png files, enter png in Find File Type or File Name Pattern.

  3. In the Known Types list, click the file type to open the setting dialog for this file type. You can change the icon, filename patterns, description, and the order of the applications.

    If your tool is not listed, click Add in Application Preference Order then select the program for the file type.

    To change the order of the list entries, click the program to move. Give it a higher or lower priority by clicking Move Up or Move Down. The application listed at the top is used by default when you click a file of this type.

  4. When all options are set according to your wishes, click Apply.

Procedure 3.15. Adjusting Regional Settings

To adjust settings such as time and date format, number format, or currency, select the desired country as the default country in KDE. If more than one system language is installed on your computer, you can also select the different languages in which KDE should show the graphical user interface and application interfaces.

  1. To set your default country options, open the Personal Settings and select Regional & Language.

  2. On the Locale tab, click Change next to the Country or Region entry. In the dialog that opens, select the region and country you want to set as default in KDE and click OK.

    Number, date and time formats are automatically adjusted to the new country's default values that are shown in the display field at the bottom of the Locale tab.

  3. If you need to make further adjustments for those, click the relevant tabs and set the options according to your wishes.

  4. If more than one language is installed on your system (as secondary languages with YaST) and you want to change the graphical interface of KDE to a different language, click Add Language on the Locale tab. This opens a list of languages currently installed on your system.

  5. Select the language for the graphical user interface. The new language is now shown at the top position in the Language list.

  6. To confirm the changes, click Apply. All newly started applications or desktop objects now appear in the new language.

  7. To switch to another language, re-sort the languages in the Languages list until the desired language is at the top position and apply your changes.

KDE runs a session manager that starts after your username and password are authenticated by the login process. It lets you save the status of a certain session and return to that status the next time you log in. For example, it can automatically start the applications that you were running in the most recent session or when you manually saved a session. It can save and restore the following settings:

  • Appearance and behavior settings (such as fonts, colors, and mouse settings).

  • Applications that you were running (such as a file manager or OpenOffice.org).

    [Note]Saving and Restoring Applications

    You cannot save and restore applications that Session Manager does not manage. For example, if you start the vi editor from the command line in a terminal window, Session Manager cannot restore your editing session.

Procedure 3.16. Adjusting the Session Handling

  1. To change the session handling options, open the Personal Settings and on the Advanced tab, click Session Manager.

    By default, Session Manager restores the applications that were running when you logged out from the previous session, enabling an automatic start of these applications.

  2. To be able to save a certain session manually and restore this session each time you log in to KDE, select Restore manually saved sessions. This adds a new menu item, Save Session, to your main menu. After a session is saved, KDE automatically restores the saved session on each login.

  3. To start with a fresh session each time you log in, select Start with an empty session.

  4. To change the default options that appear when logging out, adjust the relevant options in the General and Default Leave Option groups.

  5. Click Apply to confirm your changes.

Procedure 3.17. Starting Programs Automatically

Apart from the applications from the last session that are restored by the Session Manager, you can configure which applications should be always be started after login.

  1. Open the Personal Settings and on the Advanced tab, click Autostart.

  2. To add an application, click Add Program and from the menu structure, select the program you want to start automatically.

    To add a shell script, click Add Script and click the Open File Dialog icon in the next window to select the script from the file system. The program or script is added to the list and you can view and change the Status.

  3. Click Apply to confirm your changes. When logging in the next time, the applications and scripts start automatically.