Contents

KDE

KDE is a great desktop environment suite, with two big assets from the start:

  • it's free sofware
  • it's based on the wonderful Qt toolkit

Some of the best free software available, such as kdenlive, have been developed for this environment (like gimp for gnome).

The latest generation, kde4, however brought us backward and things are only slowly recovering. It started full of irritating flaws, ludicrous loss of functionalities as compared to older versions, cast in a pompous and useless design that makes it painfully slow.

A typical atrocity is that instead of konqueror as a universal browser (a sort of emacs for whatever goes beyond text-editing), konqueror is now relegated to mere internet browsing and an atrocious so-called dolphin takes over for file browsing. This is a terrible mistake and a sacrifice of the great kde insight of a universal browser.

Overall, it is somehow of a recurrent trauma that each upgrade brings changes to habits so dearly enforced for decades that they became traditions. Any little change counts. For instance, I didn't like reading this:

laussy@wulfrun:~$ sudo apt-cache search ksnapshot
kde-spectacle - Screenshot capture utility, replaces KSnapshot

ksnapshot has a leading 'k' to what it really does. What is this "spectacle" nonsense instead? I installed it so many times that I now have a ritual of setting up a kde environment.

Below I list some problems and, whenever possible, a fix for them.

Shortcuts

I use keyboard shortcuts a lot, for instance, lw in krunner brings me to this web (like wp does for wikipedia or gg for google). This you can get with in Web Shortcuts:

http://laussy.org/wiki/Special:Search?search=\{@}&go=Go

This is an example of a Custom Shortcut to enter a <pre></pre> tag:

:<:P:R:E:SHIFT+<:RETURN:RETURN:<:SHIFT+/:P:R:E:SHIFT+<:HOME:UP:

You can see all my shortcuts for more sophisticated examples.

Problems with solutions

If you have a better solution, please, contact me.

Remove Dolphin

You can't completely get rid of it, everything being interconnected. You merely want it never ever to pop up. Enforce konqueror as file browser in System Settings > Personal > Default Applications > File Manager.

Lock zoom in Gwenview

See this link for how to lock zoom when scrolling between images: (invaluable for a scientist)

kwriteconfig --file gwenviewrc --group ImageView --key ShowLockZoomButton true

Show terminal within konqueror

A convenient feature of konqueror is to embed a terminal inside (at the bottom) so that you can work from a konsole into the content of the displayed folder, neat. This is different than opening a separate terminal. When working all right, these two different features appear as such:

Terminals-kde.png

Sometimes the second one is missing and most fixes on the internet propose something else (linking it to the shortcut F8 for instance, the problem not being the shortcut but that the very option is not available). It appears to be a bug because that typically is possible from within Dolphin. It seems that installing the package "krusader" enables it back.

Invisible tooltips (white text on grey background

This problem that affects gtk applications is almost bearable as gurus don't need to see what they click on to know what that does, till the point where even guessing is not enough, at which stage it is too late to retain your sanity. That's an example of the issue:

Spectacle.y31062.pngSpectacle.D31275.png

Some people suggest to hack a ~/.gtkrc-2.0 file [1][2]. However, this can be simply resolved by ticking the "Apply colors to non-Qt applications" in System Settings→Colors, as shown above, right.

Slow desktop effects

If there is a bug with shifting virtual desktops (that persist in fading despite the option "no animation", which can be very annoying for people constantly shifting screens) then bring "Animation speed" to 'Instant' in system's settings "Display and Monitor".

Tooltips not visible (light grey on white)

This is a bug from gnome. Go in Settings, Application Color Scheme, Options, and untick "Apply colors to non-Qt applications" (could be non-kde4 applications). It should revert to a readable white onto black.

Play a video in minimal mode

If you want to keep a video in so-called "minimal mode", meaning you only display the video with no borders, no menu, no status bar, nothing, then use Kaffeine. Enter and exit this mode with "." and use Alt+F3 (More Actions->No Border + Keep Above Others) along with pinning to all Desktops, if you wish.

Pompettes-snapshot.png

Developers don't want to implement this feature~[3] for Dragon player, although a patch is available~[4]. MPlayer is also an option, especially if you want to launch videos from YouTube through SMTube. Use "T" to toggle "Stay on Top". Gnome MPlayer does not even remove the menu bar~[5] so use MPlayer instead.

No more a problem

Things tend to get fixed as time goes on. I keep the list below for my records, but they should not be necessary anymore.

Hotkeys

(fixed in 4.4.2)

There was a comfortable, powerful manager of hotkeys in previous versions of kde. Now it's rubbish. For most things, you have to edit the following file by hand:

.kde/share/config/kglobalshortcutsrc

An important thing that I refuse to negotiate about is circulating through virtual desktops with the keyboard. This is achieved with the following lines:

Switch One Desktop Down=Ctrl+Down,Ctrl+Down,Switch One Desktop Down
Switch One Desktop Up=Ctrl+Up,none,Switch One Desktop Up
Switch One Desktop to the Left=Ctrl+Left,Ctrl+Left,Switch One Desktop to the Left
Switch One Desktop to the Right=Ctrl+Right,Ctrl+Right,Switch One Desktop to the Right

The same but grabbing a window as you go along:

Window One Desktop Down=Ctrl+Shift+Down,Ctrl+Shift+Down,Window One Desktop Down
Window One Desktop Up=Ctrl+Shift+Up,Ctrl+Shift+Up,Window One Desktop Up
Window One Desktop to the Left=Ctrl+Shift+Left,Ctrl+Shift+Left,Window One Desktop to the Left
Window One Desktop to the Right=Ctrl+Shift+Right,Ctrl+Shift+Right,Window One Desktop to the Right

Essential kde

  • KIM, the KDE Image Menu, download and ./install.sh works. This provides very important batch-processing of images. Key files are in /usr/share/kservices5/ServiceMenus/ and have to be installed by hand (see [6]).
  • KIM became increasingly problematic to install. Instead, re-image does something similar.

Preferences

What are yours? Here's a list of my favorite settings (in case I forget them myself, which is always the case when I upgrade and find the computer not obeying my thoughts anymore).

  • Virtual desktops, with Ctrl+(Left, Right, Up, Down)
  • Window focus: 'Focus follows mouse'. Delay focus by 0ms. New windows get focus, otherwise given by the mouse pointer. Windows remain active if the mouse points nowhere.

Details of preferences can be found in my Ritual of setting up a kde environment.

Tips & tricks

  • To activate and deactivate the touchpad on and off:~[7]
synclient TouchpadOff=0
synclient TouchpadOff=1