27. March, 2014
With KDE 4.11, a new annoying feature was added: The window manager now moves a window beyond the screen edge. The original idea was to make the scroll bar easily accessible.
But a lot of people didn’t like this for various reasons.
My reason is that I use clicking on the window border to move a window to the front. By careful arrangement of the windows on my second monitor, I can easily switch between 5 windows by moving them against the screen edge: That way, I can use the mile high menu bar trick to position the mouse and one click to bring the window to the front (and no, I can’t use the usual click to front behavior; I know much better than the computer when I want to change the stacking order and when not).
With the window border hidden beyond the screen edge, this wasn’t possible anymore.
Here is a script that solved the issue for me: Snap to Deco 1.1
Once downloaded, the script needs to be installed via
> plasmapkg -t kwinscript -i filename.kwinscript
which unpacks and copies files to ~/.kde4/share/apps/kwin/scripts/ but doesn’t activate them. In order to activate, use the scripts KCM (KConfig Module) graphical interface:
> kcmshell4 kwinscripts
and tick the required script.
11. September, 2012
Does Firefox crash for you when you open a new window?
Report the crash using the built in tool, then browse “about:crashes” (shows you which crashes you reports), click the topmost link.
If frame #0 in “Crashing Thread” (bottom of the page) reads “libtracker-sparql-0.12.so.0.1205.0”, then this package is the culprit: tracker-miner-firefox
Delete it and Firefox should work again. If that helps in your case, you’ve been hit by this bug.
What’s this piece of crap do? From the web site:
Tracker is a semantic data storage for desktop and mobile devices. Tracker uses W3C standards for RDFontologies using Nepomuk withSPARQL to query and update the data.
If you don’t know, Nepomuk is the great technology that builds search indexes over anything on your disk. Unfortunately, it’s developed by people who believe quality in software is nice to have. So it tends to hog the CPU wasting your time, it can fill your harddisk with useless junk, and please, don’t run it on computers with more than 100 MB (that’s 0.1 GB) of disk space or more than 1’000 files; otherwise, it might never finish. If you try to search something, bring some time – useless results take a moment to come up with.
Don’t disable it either, or apps like Dolphin will be unhappy. It’s already beyond the abilities of these people to hide the UI elements for rating and tags when you try to protect yourself.
I opened a bug to have Nepomuk removed from KDE until it reaches alpha status but that bug was closed.
29. June, 2012
When you upgrade openSUSE 12.1’s KDE 4.7 to 4.8 (using this repo), suspend to disk or ram might stop working. If so, you’ve encountered bug 758379: STR (Suspend to RAM) fails when NetworkManager running and NFS shares mounted
The description is a bit misleading. It also happens for suspend to disk (STD) and when you don’t use NetworkManager.
Workaround: Unmount your NFS shares before you try to suspend:
sudo umount -t nfs -a
If you use NFS v4, then the command is:
sudo umount -t nfs4 -a
To check whether it worked, use this:
mount | grep nfs
This shouldn’t print anything with “type nfs” anymore. Afterwards, suspend should work.
21. August, 2011
Here is the recipe if you need to run ssh-agent when you log in. First, create a start-up script $HOME/.kde4/env/start-ssh-agent.sh
To make sure the agent is killed when you log out, you need a script $HOME/.kde4/shutdown/kill-ssh-agent.sh
Tested with KDE 4.7 on openSUSE 11.4.
20. August, 2011
Nepomuk is probably a suitable name for the tool suite. The name is related to the “Pumuckl” which was a gremlin that causes all kinds of grief and havoc. I think the name is suitable since that’s what the Nepomuk framework and all related tools always did for me: Cause grief.
Either they locked up my computer, crashed my KDE session or hogged some resource (CPU, RAM, hard disk). Just now I installed this sh…software on a new laptop where it effectively prevented me to log in.
Trying to be proactive, I created a bug. Vote for it if you hate Nepomuk, too.
Rationale: We have this stuff several years to grow up. Apparently, it’s not happening.
23. February, 2011
If you have problems with your screen in KDE 4.6 (application windows don’t get restored correctly after minimizing them; windows won’t update after a change; when overwriting selected text, part of the selected text stays on the screen; popup windows leave black boxes), try this: Switch the “Compositing Type” from “OpenGL” to “XRender” (in “System Settings” -> “Desktop Effects” -> “Advanced” tab).
As a nice side effect, this reduced the CPU usage of KWin from 10-30% to 0%.
Some desktop effects don’t work with this setting but in return, the UI feels more snappy.
11. August, 2010
As I write the last blog entry, I noticed that the cursor was somehow … glued to the last character. In the web browser, the last character would be underlined and in the shell, it would be displayed in reverse. When typing a symbol like comma or tick, I would get an umlaut like ç or é.
The culprit is called SCIM – “Smart Chinese/Common Input Method”. If you look at the running tasks, you should see a small window in the lower right corner of your screen:
SCIM can get in your way
Click on the icon to quit this beast.
As I found out while writing this blog post, SCIM is pretty dangerous. If you start it in the foreground and then press Ctrl+Z to put it in the background, all programs which take text input freeze. Stopping SCIM in the middle of a session can also leave Google Chrome dead. Great.