**This is an old revision of the document!**

User Space

After the installation has finished and you have rebooted. Login to the new system as root with the password that you set, and set about configuring your new system.

First, so that you can get into a graphical environment to do this job, create at least one user (assuming that you are the only user on your system, you need only create one). Slackware ships with the script adduser for creating new users, making the process interactive. In fact, as of Slackware 13, adduser even offers to place a new user in the appropriate groups that will enable the user to access important multimedia components such as audio, video, optical media, and so on, so take it up on that offer.

adduser allows you to customise the UID (User ID) of the user you create. If you use other GNU or BSD systems, you probably want to make your UID and username the same on your Slackermedia system as on your other systems, simply to avoid small but annoying permission problems when using external drives.

After creating a user, start a graphical environment:

# kdm; exit

At the graphical prompt, log in as the user you just created.

Boot to Desktop by Default

Since not all Slackware users actually use a graphical environment, Slackware boots to a text console by default. You can keep this behaviour, issuing the command

# kdm; exit

every time you want to use your computer (if you have nosey housemates, there is admittedly nothing quite as intimidating as a computer that looks like it's broken every time it boots), or you can alter one configuration file and have Slackware start up a desktop by default.

To change the boot behaviour, open a terminal and change the initlevel from 3 (text console, or TTY, mode) to a 4 (the mode which launches a GUI login screen) with this sed command:

$ su -c 'sed -i "s%init:3%init:4%" /etc/inittab'

From now on, when you boot up Slackware, the desktop login prompt will be launched automatically after the usual boot process is complete.

Login to the Desktop Automatically

The KDE desktop makes allowances for automatic login, so that you are able to boot your computer and be dropped straight into your desktop rather than having to log in each time.

This may be a security risk! If you are the only user of your computer in your house or studio, then auto login is a nice convenience. However, if there are other users on site, you should keep the requirement to login. You may trust someone with your life, but that does not mean that they cannot make mistakes with your data. An accidental deletion of a file, or a change in configuration, could mean huge setbacks in your work.

Do not put your mates (or your data) in such a position. For your sake and theirs, make users login to their own accounts. Linux is the original multi-user operating system, so you can make your co-workers or friends accounts of their own such that they can use the computer without accidentally changing your production environment.

To enable auto login, open System Settings and navigate to the Login Screen panel.

In the Login Screen panel, click the Convenience tab and place a check mark in the Enable Auto-Login option. Select your username from the dropdown menu, and click the Apply button in the lower right corner of the window.

KDE Desktop Configuration

The KDE desktop has a long history on Linux, and is venerated by many as the most configurable, most functional, and most integrated desktop available. The configuration options are staggering, so if anything does not work the way you expect, it can probably be changed.

Mostly, there is little or no danger in customising your desktop. Adding in heaps of additional plugins and add-ons from the internet should be done cautiously (simply for the sake of stability) but otherwise, if you see an option for something within KDE, then it's probably safe to try it.

Experienced KDE users will certainly already have their own config files that they port from one computer to another. KDE is so customisable, in fact, that it can sometimes be overwhelming, so if you are a new user, slowly build up a set of configurations as you use it. Here are some common points of interest:

Single and Double Clicks

By default, a single-click opens up files or folders on the KDE desktop. For many KDE users, this is a small yet powerful method of speeding up the user's interactions with the desktop (after all, the most common interaction you have with a file or folder is to open it, so why not make that the default action?) but for new users, it can be confusing.

dolphinclicks.jpg

Change this behaviour by launching the Dolphin file manager and opening the Configure Dolphin menu item. In the Navigation panel, select the Double-click to open files and folders option.

Icon Previews

Also in the Dolphin configuration window, in the General panel, are configuration options for whether or not you want Dolphin to remember the view settings on a per-folder basis (this is common on other desktops, but having it enabled does increase the amount of metadata being written about each location you visit), when you want to be asked for confirmation, and more.

dolphinclicks.jpg

In the Previews tab, choose what kind of files you want to have dynamically updated thumbnails or previews. Video files, photos, and images can get thumbnailed, websites can be rendered in miniature, fonts displayed, and much more.

Tooltip Overkill

KDE tends to be very verbose in its tooltips, which might be useful for new users, but after some time in KDE they become a lot less useful. If at any point you need to turn tooltips off, you can do so in two places.

In the Dolphin configuration window, in the lower half of the General panel. Deactivate the option to Show Tooltips to disable tooltips within the file management workflow (which tends to be at least half of what anyone does in a traditional desktop).

Open System Settings and click the Workspace Behaviour icon. In the Workspace Behaviour panel, navigate to the Workspace tab and deactivate the Show informational Tips.

Generally, it can be said of KDE that if you are ever in doubt, right-click; there are a profound number of options and built-in functions. Explore the desktop, explore configuration menus, and explore System Settings further and try out some of the customisations until you have configured KDE the way you feel most comfortable with it. KDE is designed to be changed, so do what you must so that your desktop stays out of your way, and helps you get things done.

GUI Root Actions

Some actions during every day maintenance will require root (or “administrative”) permission. Usually, the way to “become root” is to either log out of the desktop and log back in as root, or, more commonly, open a terminal and sign in as root and proceed with administrative tasks in a text console. If you are managing multiple Slackermedia machines and your users do not need (or should not have) admin rights on their own boxen, then this model works quite well,

If you are both the admin and the user of your own machine, you might find it inconvenient to have no way of escalating your own privileges when you need to, for instance, edit a system configuration file, or place a file in a system location. The need to do this is a lot less common than you might imagine; if you are the only user, then really everything you install or put onto the computer, at least within the GUI environment, can be placed into your home directory. But it does come up every now and again, so it's a nice feature to have.

To enable a wide variety of root actions within KDE, install the Root Actions.

This add-on includes quick access to editing files as root, changing permissions of files as root, opening a folder as root, and much more.

Manual Alternative

If you do not want to install the Root Actions add-on for whatever reason, you can build your own simple version of many of the actions with kdesu:

  1. Right-click on the K Menu and select Edit Menu.
  2. In the list on the left of the window, select the System category.
  3. Locate the Dolphin entry and click on it to select it.
  4. Click the Copy button in the top toolbar, and then the Paste button. You have now duplicated the entry for Dolphin.
  5. Select the duplicate entry for Dolphin. In the text fields on the right, provide a unique name, such as DolphinRoot (or similar). In the Command field, enter the text kdesu dolphin –bg #A86766 %i –caption 'Root Window' %u
  6. Save your changes.

In your K Menu, there will now be a new entry for DolphinRoot, which will open a DolphinRoot window as the root user. It will also paint the background of the window red, so that you are reminded that the window is dangerous and has absolutely no safety mechanism between you and a mistakenly deleted file or folder. You may adjust the colour in the menu editor, but do make it unique so that you do not mistakenly leave a root window open.

Build similar actions for other common root tasks (such as opening a terminal as root and editing a text file as root) in the same way.

Titlebar-Only Dragging

By default, KDE windows allow you to grab onto them from any number of points within the window. This can be marvelously efficient with many, if not most, applications but with multimedia applications that require nothing but random clicks and drags, it can be maddening to accidentally move your entire application window when all you meant to do is move a playhead or a brush.

Turn this behaviour off in System Settings

> **Application Appearance**. In the **Style** category on the left, and activate the **Applications** tab. Click the **Configure** button.

In the Configure window, activate the General tab and click the Show Advanced Configuration Options button.

Set Windows drag mode to Drag windows from titlebar only and click the OK button to apply.