Tweak KDE 4 to your liking

KDE

In depth: Have you been clinging to KDE 3.5 like a polar bear to the last Arctic ice shelf? If so, now is a good time to consider jumping on to the mainland - hundreds of bugfixes and refinements mean that the KDE desktop is now a stable, functional and productive environment. It's faster, more streamlined and full of eye candy, and is also where all the developers' effort is now concentrated.

Things are only going to get better for KDE users. But, as with all these big changes, there are still teething problems - things don't always work the way you expect them to and many of the newer features are poorly documented. We've spent the last few weeks delving into KDE and making a note of everything we changed to help the desktop environment feel a little more comfortable, as well as to sidestep a few of the issues we ran into.

Desktop effects

Even without Compiz, KDE still has the potential to look great, thanks to its smooth animations. For lovers of eye candy, one of the best things to happen to the Linux desktop over the last few years has been Compiz - that wonderful world of spinning cubes and wobbly windows. But with the 4.0 release, KDE developers seemed to ignore this desktop revolution.

KDE could, and can, be made to work with Compiz, but it created an unstable environment in which applications didn't always behave as they should, and you also lost the advantage of running a KDE window manager. This is the part of your desktop that knows where all your windows are and what state they're in.

Without a native window manager, KDE had no idea where windows were positioned or whether they were minimised or maximised. What made the problem worse was that the KDE developers re-invented the same wheel, creating their own entirely independent compositing manager and bolting that functionality into their window manager. The result was a few poorly executed effects that could n't even compete with the first release of Compiz several years ago, let alone the latest version. Fortunately, version 4.1 has gone some way to redress this imbalance. KDE's array of compositing effects now numbers over 30 and includes some of the same idle timewasters you get in Compiz.

Get affected

Desktop effects can be opened by either right-clicking on the title bar of a window and selecting Configure Window Behaviour, or from the Desktop icon in the System Settings panel. What you get is a long list of the available effects, split into various categories. Each can be enabled instantly by clicking on the small tick box at the far-right of the entry. If there are any parameters for each effect, these can be changed by clicking on the spanner symbol. We found, for example, that the default drop-shadow effect was a little tame for our tastes.

In the Shadow configuration, we went for an X and Y offset of 5, a shadow opacity of 35%, and a fuzziness and size of 10. We also made sure the colour was a solid black, rather than the dull grey of the default.

We enabled the wobbly windows plugin (but we have to admit that this is an acquired taste). And we also enabled the Dim Inactive effect, but made it a little more subtle by changing the strength to 5. This slightly dims inactive windows on the display, and pulls your eye to the window you're currently using.

More useful eye candy from the KDE effects department is provided through the choice of window switcher. These are effects that display all your open windows when you press the Alt+Tab key combination to switch between them.

The Box Switcher is an animated version of the classic icon selector, where you can cursor left and right through a thumbnail of each open window. The Cover Switch is a crude emulation of Apple's Cover Flow.

Open windows seem to join a three-dimensional queue and the cursor keys page through each one as you would a record collection. The Desktop Switch simply lists each open window in a small, vertical, text-based menu. The final option is the Flip Switch, which is a little like Cover Switch, but instead of using a queue of windows on each side of the display, the window list stretches into the infinity of your desktop background. In a nod to the good old days of KDE excess, you can also enable more than one switch effect at the same time, creating a cacophony of window selection applets.

Desktop panel

As yet, no one has come up with a better system for launching applications than the desktop panel. Your desktop may feel naked without it, but the layout and design of the panel has changed considerably over the last couple of years - thanks in part to Apple. Many of us now like to restrict the panel to a certain border of the screen and reduce its size from its edge-straddling default of 100%. Neither of these modifications could be made in the previous version of KDE, making the panel feel rather unloved.

Fortunately, this essential portal has received some much-needed attention for the 4.1 release, and you can now perform most of the modifications you might expect. The only real option missing is the ability to change the panel background, but you can accomplish this with a little hacking of the config file.

The key to editing the desktop panel is the small cashew symbol used to deno te KDE's Plasmoids - the desktop widgets now at the heart of the KDE desktop. When widgets are unlocked from the main cashew icon in the top-right, another small icon will appear on the right of the panel border. This is because the panel is really just another Plasmoid, albeit one with a special function.

Clicking on this new icon opens the configuration panel, which looks like the tab ruler in a word processor and performs a similar function. There should be one grey arrow on the upper left, a blue arrow on the upper right and a green arrow beneath this. Clicking and dragging the grey arrow changes the length of the panel; the blue arrow changes the maximum size of the panel; and the green arrow the minimum size for the panel.

As with a word processor, you can choose between three alignment modes by clicking on their respective icons in the panel configuration strip. Each mode will display different alignment arrows, but their function remains the same. If the blue and green arrows are in different positions, the panel will grow to the size specified by the blue arrow, as icons and applications are added to the panel.

If the blue and green arrows are in the same location, the icons and applications within the panel will be forced to rescale themselves, and the panel will remain the same size. We found our optimum settings were achieved by using the central alignment option, and dragging the blue arrows that appear on either edge of the window in by around 10-15%. The grey arrow appears in the centre of the panel and ensures the panel's length on either side is the same.

But there's more than this to the configuration panel. If you look carefully, there's a small grab bar in the middle. Click and drag this to resize the thickness of the panel by either dragging the edge into the centre of the display or out towards the side. The various applications and icons within the panel will adjust themselves automatically to make best use of the space - and there's nothing stopping you filling half the screen with the panel if that's what you need.

The last arrangement option is accomplished by clicking and dragging within the panel itself, as this moves the panel from one edge to another. Unlike the old KDE 3.5 panel, the 4.1 version is actually quite good at re-arranging itself vertically on the left or right border of the screen, although it's not as neat as Apple's.

The new panel is better suited to being vertically stacked than the last version, but certain widgets still don't like it.

If this is the location you'd prefer, you might want to remove some of the more problematic icons, such as the clock. In configuration mode, applets and icons can finally be moved by dragging them with the mouse. KDE 4.1 will neatly animate the other icons as you drag, enabling you to see where the icon will best sit. If you want to remove an icon completely, you need to leave configuration mode and right-click on the icon before choosing Remove This from the menu.

Icons and applets are added to the panel slightly differently. To add a link to an application, right-click on its entry in the KDE menu and select Add To Panel. You can add Plasmoid widgets, too, but they aren't all compatible with the panel's restrictive space.

There are several ways to add applications to the panel, but the easiest is to right-click on it from the K menu.

Open the Add Widgets window, either from the large cashew in the top-right or the Add Widgets button in the panel configuration strip, and drag the widget into the panel. If i t isn't compatible you'll see a no entry symbol, but widgets such as the Digital Clock and Pager will fit perfectly. When you've finished configuring your panel, select Lock Widgets from either of the cashew menus to free up a little desktop space.

Desktop

There's a big change on the desktop, and it's caused some ruction. The desktop's purpose as a metaphor for a desktop surface has gone. You can no longer drag files and folders on to the desktop to move them to the /Desktop directory. Dragging a file on to the desktop will now create a Plasmoid that links to the original file or location. And you can only do this if widgets are unlocked in the cashew menu.

A click will still launch the application associated with the file, but its physical location on the disk won't have changed. This new approach has annoyed people who use their desktops as a temporary storage area, but there is a workaround.

KDE 4.1 compensates for the lack of temporary storage on the desktop with a new Plasmoid widget called Folder View, which provides a window on to a certain folder (this includes remote locations as well as local ones).

After you've dragged the folder from the Add Widget window, click on the spanner configuration icon and choose the location you want to view. Clicking on Show The Desktop Folder is the closest you can get to the old-style desktop, and if you resize the folder view widget to fill the screen you could convince yourself you have almost the same functionality.

You can cut, copy and paste files and folders from the folder view into any other file management view, and we got used to the new approach within a week or two.

More Plasmoids

If you've been messing around with the Folder View Plasmoid, as well as the panel, you might have noticed that the desktop hardly crashes at all. The KDE development team put a lot of effort into the widgets for this release and they're now at a point where we'd consider them operational.

New Plasmoids are added with each release, but compatibility with Apple and Google's desktop widgets is still some way off.

Along with this much needed stability, the new release benefits from a few additional widgets - although with only 34 bundled in total, Plasma isn't yet the cornucopia of utility promised by its lead developer over 12 months ago. There's the predicable array of clocks, a news ticker and a moon phase calculator.

This is also where some essential panel functionality hides, and if you try to add either the task manager or the system tray to your desktop (as opposed to the panel), you'll be greeted with a useless circular widget. For the next release, the developers should split desktop and panel Plasmoids into separate categories.

Fortunately, there's a handful of better widgets. The dictionary tool works well either on the desktop or the panel, and the picture frame Plasmoid can neatly display a collection of images, but the promised 'image of the day' retrieval from online repositories doesn't work for us.

Our favourite Plasmoid is the dictionary lookup widget - probably because we need it the most.

There's also the Dashboard. If you're familiar with OS X, you'll have seen this paradigm being used before: a certain keyboard combination overlays widgets on the current view. This is a useful place to hide small tools and applicatio ns, and KDE's Dashboard widget performs a similar function.

Clicking on the icon clears everything from your desktop except your widgets. This is useful if you add the widget to your panel and often use apps in full-screen mode, but it would be better if it fully emulated the OS X version by overlaying an area where you can add new widgets that don't otherwise take up valuable desktop space.

File management: The battle between Dolphin and Konqueror continues...

The usurping of the all-powerful Konqueror file manager and web browser by the humble Dolphin has been one of the more contentious design decisions for KDE 4. But KDE 4.1 has gone a little way to improve things, with the addition of tree view in Dolphin - taken from Konqueror. This makes the transition a little easier, and even we'd agree that Dolphin does almost everything a file manager should do.

It's going to be an essential part of the Nepomuk social semantic desktop, which is why the option to add comments, as well as a five-star rating system, is so conspicuous in the right-hand panel. The idea is that your desktop becomes a portal to local and online content.

As a result, Dolphin attempts to remove some of the worry about where a file or folder is by presenting the filesystem as a friendly array of data. But it mostly feels like a cut-down version of Konqueror - an application that can, thankfully, still be found on KDE 4.1.

Regardless of the differences in the way these applications handle file management, there are several problems that affect both. The most annoying for a default KDE 4 installation is the lack of an image preview or thumbnail on images of a certain size.

Dolphin users get a more logical place to alter this. Just open the Preferences window, click on the View Modes page and increase the maximum file size from which previews will be generated. This defaults to 5MB, which is too small for many digital images, and increasing it to 10MB or even 20MB should cover 99% of your image collection. This setting also applies to the folder view Plasma widget on the desktop, as this takes its settings from Dolphin, which is handy if you happen to download images to your old desktop directory.

Both Dolphin and Konqueror only generate previews for relatively small files by default.

Konqueror users can find a similar slider in the Previews And Metadata page of its Configuration panel. This defaults to 1MB and has the same effect on previews within Konqueror, but the sliders aren't connected to the same hidden parameter, so you'll have to change both if you use the two applications.

Launch defaults

Another annoying aspect of Konqueror is that it often seems to have a mind of its own when it comes to launching applications. For example, text files will default to opening in KWrite rather than the better specified and faster Kate editor.

Thankfully, the solution for this problem applies to both Konqueror and Dolphin, and resides within the System Settings application. Choose File Associations from the Advanced page. This displays a window with various file types grouped into types in a panel on the left.

Selecting a file type, such as '.text.', opens a panel on the right that presents the options for that file type. For text files, you'll see there are two common file extensions (*.asc and *.txt), along with a list of applications that are launched when the user clicks on a corresponding file.

For text files, you should see that KWrite takes top priority, followed by the bloated KWord and, finally, Kate. To put Kate in its rightful place as the first application to be launched, select it and click on the Move Up button until it's at the head of the list. As soon as you click on Apply, KDE will launch Kate in preference to any other text editor.

Another great feature is file embedding. KDE 4 seems to have abandoned this space-saving ability in favour of launching a new window when you click on a file, but we prefer to see the embedded version for certain file types - text and PDF documents in particular.

Viewing files on Konqueror is a great way of saving screen space and keeping your display from becoming cluttered.

Switch from the General page to Embedded in the text file type editor. This presents you with options for how to tackle file embedding. Select Show File In Embedded Viewer and make sure the Embedded Advanced Text Editor is top of the Services Preference Order. Now, when you click on a text file you'll see the contents within the same file manager window, rather than an external app. We'd recommend making the same change for image and PDF files, though these will only work with Konqueror.

First published in Linux Format magazine

You should follow us on Identi.ca or Twitter


Your comments

3D effects

ATI has released specs on its video hardware. Soon we may have OpenSource 3D OpenGL drivers for that hardware. When that happens I will consider buying such hardware. But until then, lots of people (including me) can't be bothered with any of this eye-candy that requires OpenGL. Maybe next year.

"Many of us now like to

"Many of us now like to restrict the panel to a certain border of the screen and reduce its size from its edge-straddling default of 100%. Neither of these modifications could be made in the previous version of KDE, making the panel feel rather unloved."

Completely incorrect on both counts.

Many options missing, actually..

In the article, you say "the only real option missing is the ability to change the panel background, but you can accomplish this with a little hacking of the config file."

Actually, ALL panel options from previous versions are missing. There were five pages and many subpages of controls -- now there are none. Aside from resizing the panel and moving the panel (both controls to do these things are beautiful but ultimately painfully hard to use or even figure out that these features exist), all options are missing. There were dozens of controls in prior versions, ranging from size and border to align the Kicker to, to configurable hide buttons, to auto-hide, transparency versus none, etc.

Essentially, KDE 4.x is a huge step backward in configurability, just like Gnome 2.x. Many things have actually become harder to do.

KDE 4x is absolutely mind-bendingly beautiful compared to prior versions, just like KDE 3x looked far better than 2x with full-color icons... and I remember well how awesome I thought KDE 1x was at the time. Many parts of it are more beautiful than OS X and Vista combined. The default window decorations are pretty blah, but many options are available at kde-look.org.

Some things are much nicer. Most of the important (to me) stuff in Konsole is still there, and some of it has improved! The new K-Menu is nice but too slow and hard to navigate, but the old style is readily accessible (highly recommended for corporate desktops.) The simple "Do you want to restore your desktop" question after a crash is a huge leap forward over previous versions that either did it automatically (if enabled) or didn't do it at all. (And if it was enabled, frequently the same thing that caused it to crash the first time would cause it to do so again, so that behaviour was disabled by default in most distributions.)

That said, for the first time ever, KDE 4.0 AND 4.1 (the only one I've tried) is a huge step backwards for a new release. Many, many features and controls have reduced functionality or are simply missing. There are no options at all to really do anything with the desktop except change the background. No options to modify how a panel looks except it's "theme" and size/shape. No ability to click on the background and get a window list or a menu. No ability to show graphically file sizes in Konqueror, and many other views seem to have just disappeared.

For now, for me, I think even KDE 4.1 and 4.2 is too reduced in functionality. I'm looking forward to KDE 4.3 or 4.4 though!

Flase

"Many of us now like to restrict the panel to a certain border of the screen and reduce its size from its edge-straddling default of 100%. Neither of these modifications could be made in the previous version of KDE, making the panel feel rather unloved."

False. This could be done with KDE3. You could even make the background look "transparent". Though, it wasn't as slick as the real transparency that KDE4 has.

Linux user since 1996

Just started trying out 4.2. Definitely an eye candy, perhaps in some aspects more than either OS X or Vista.

Biggest problems:

1. Glitches when installing on top of 3.5. I had to completely wipe out and reinstall all KDE packages to get it in a somewhat usable state.

2. Crashes when using composite features. I ended up with disabling them, since I need usability much more a fashionable look.

3. What are plasmoids on the desktop for? The button bars popping up from them are ugly and disfunctional.

4. Still did not find out how to do simple and often needed tasks: move icons in the panel, add another language, or safely remove USB storage.

Overall, KDE4 lacks usability severely. Sadly, plenty of eye candy does not make up for that.

using kde 4 in debian testing

I have used kde 4 in other distros and have been annoyed by the lack of performance and otherwise bugginess. Although, in the latest Debian testing build I installed kde 4 and am simply blown away by how well (fast) it runs for me (faster than Gnome default or kde 3 in mepis). I'm enjoying the experience alot more than I ever did with any other interface and am confident in keeping this as my default interface for the long haul. If you're not satisfied with the performance in other distros, especially kubuntu, then give Debian testing build a try, you won't be sorry.

It's pretty but awkward

I'm running SuSE 11.1 and I installed KDE 3.5 so I wouldn't need to fuss with figuring out new things on my work machine, but after I configured 3.5 the way I like then rebooted, 4.1 appeared. I'm very frustrated, because I don't have time to figure out all of these new things, and how to get them to do what I need to do. It's even more frustrating for me that Vista (ugh!) was.
If I cant recover KDE3.5 on this machine I may need to give Gnome a try

KDE 4.3, and still the panel has a LONG way to go...

I'd just be happy if I could lock the battery and USB icons at about 16X16 pixels, instead of 50X100 and 36X36 respectively. Right clicking on things doesn't seem to bring up a whole lot of useful configuration information. All of the visual panel settings options combined add up to less than you could do by holding your left mouse button down and swinging your mouse around wildly in windows 95a...was that really 15 years ago?

KDE SC 4.4 on Kubuntu 9.10 plain rules :D

I never been a KDE fan, even liker, I hated it allways because being so Windowi$h, and therefore was a GNOME Pilgrim, with Compiz and Emerald, everything pretty beautiful, fast and useful.

Now, what blown away my mind and make me embrace KDE4? My new and shiny 24" monitor. And my new PC. Yeah.

KDE4 on my old CRT 17" was unusable, pretty but big, you know, an eggs pain. But with this new monitor... WOW!!! (and I'm not talking about the Vi$ta's wow effect, you know, hehe).
My font size is BitStream Vera Sans 8pt on nearly all functions except monospaced font, 9pt, without antilaliasing with KWIN composite enable thru my Shappire ATI's Radeon card and KDE4 specially in Kubuntu looks GORGEOUS.

So if you have a good monitor, a modern PC -mine's a Quadcore w/4gb I plan to expand and a videocard with a gigabyte of RAM, ok, I use it to play under Win- KDE4 and Kubuntu will blown your chapas off, pelado!!

taking kde 4.x for a spin

I'm pretty much a diehard slackware 12.2 /w KDE 3.5.10 user and very happy

A while back I put slackware 13.0 on another machine and gave KDE 4.x (4.3 ???) a spin

at first, the whole 'plasmoids' and 'oxygen them' and 'widgets' had my head spinning, but I set the Kmenu to 'classic' and kind of took it from there.

I was just starting to get a little comfortable with it and I got the bright idea to use slackpkg to upgrade to -current

bad move......REALLY bad move.

reinstalled SW 12.2 and now upgrading to SW 13.0 and will give it another try.

and I have a feeling a newer BIG monitor will make all the difference, I'm spoiled rotten with my 22" widescreen LCD on my main machine - but I'm using a 17" CRT monitor on my test machine and it's a world of difference.

I'll try again with KDE 4.x and try to keep an open mind, but all those widgets and plasmoids seem very foreign to me, it seems as though it's 'dumbed down' everything for lack of a better way to put it.

I don't 'do windoze' (anymore) but a friend brought a win7 machine over to install a simple music p2p program and tweak the firewall and it was sheer frustration for me......I couldn't even find a !@#%! command prompt or file mangler, but I still got the job done by click click clicking on icons.

At this point, I'm sticking to slackware 12.2 and KDE 3.5.10 as it does everything I could ever need to do beautifully, but I'm keeping an open mind with KDE 4.x on the test machine.

Another try of KDE 4 in 3 years and still no window-list applet

Well I got screwed again by KDE 4. I went through this nightmare 3 years ago with Ku9.04, then retrogressed to Centos 5.5 which had KDE 3.5 (and the window-list applet I had used for about 10 years on Fedora, and Suse Distros.)

Now I just upgraded to Centos 6.2 (~RHEL 6.2) which has KDE 4. But still no windows-list applet.

This is a vital applet for people who use 20 virtual desktops, like me. Why in all these years have the KDE folks let a vital applet like this slip through the cracks, when we have all these novelty applets that nobody would use more than once a year.
KDE folks should build a statistics-gathering tool that measures frequency of use of all applets. Then when you make a major release, you make sure that those with the highest use statistics get migrated over first.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

CAPTCHA
We can't accept links (unless you obfuscate them). You also need to negotiate the following CAPTCHA...

Username:   Password:
Create Account | About TuxRadar