ads' corner

Extract GPS coordinates in KDE with just a right click

Oftentimes I need the GPS coordinates from where a picture was taken. In the past I was using exiftool, but that still includes too many steps. KDE has a feature where one can create custom context menus, called service menus, which let me define a right click menu for images, and a script is populating the clipboard with the coordinates.

Arch Linux: mount: unknown filesystem type 'exfat'

A short while ago I moved a couple of laptops from Ubuntu to Manjaro. It's all going well, except today the kid came to me and told me: 'Can't open the SDcard from my camera. It's not working.' Don't you like it when all you get is 'it doesn't work'? Usually such a message by itself is not helpful, but in this case that was all he was able to tell me. Checked and indeed, when the card reader is attached, KDE pops up a notification, and the 'mount and open' option does nothing when clicked on the drive.

Can't login into Spotify on Arch Linux or Manjaro: no browser window is opened

Installed the AUR Spotify client on my new Manjaro Linux system, started the app, tried to login - nothing happens. It is supposed to open a browser window where I enter my credentials, but that does not work.

Enable and disable window dimming in KDE

When I make changes in OpenStreetMap, I often need to extract the object colour from a picture or a video, as example for a building, bench or a roof. This collides with a feature in KDE which I really like: Dim Inactive Windows.

How to reset your KDE (without deleting everything else)

I’m a (more or less) happy KDE user, ever since the KDE 3 days. Before that, I used fvwm2 for a long time, but that is a different story. It also happens that I never really reinstalled my home directory - the oldest files I can find are from 1997, and that is pretty much when I switched from an old Slackware system with self-compiled updates, to something with a more modern distribution. That means, that all the time from 1997 to today, I carry the same /home/ads across my computers. The home directory grew from a few MB to 133 GB today (maybe I should clean it up, but then again it’s cheaper to buy a bigger harddisk).

It also means, that I never deleted my KDE config, even when upgrading to KDE 4 or Plasma.


konsole in KDE 4 with fixed size

The (for me) most annoying “feature” in KDE 4 was the konsole behaviour: every new window was opened in the last saved size. Those who (like me) open dozens of terminal windows each and every day will understand the annoyance of this non-deterministic behaviour. In addition, early KDE 4 versions always ignored the default settings for the window size (and also ignored the according commandline parameters), priority was given to the saved session data. In the meanwhile (KDE 4.3) the software was improved and with some manipulations konsole can be forced to start with a fixed size.


Start multiple ssh sessions with KDE konsole

I have shell accounts on different servers. Sometimes - especially if new Debian/Ubuntu/Redhat/Fedora updates are available - I have to open a ssh session to each server. That takes time and too many keyboard clicks and being a lazy admin I thought this job can be scripted.


Remove entries from "Run command" history in KDE

Sometimes I use the “Run command” functionality in KDE (Alt+F2) to start a program - that’s faster than clicking all the way through the menu until I found the entry and given the fact that the dialog is saving a history I usually only type one or two characters and have the full command line available. But the command history grows and grows - and sometimes I want to remove old and no longer used entries (like gaim which is pidgin now). That’s not possible ouch at least not in the “Run command” dialog or in the preferences. The Mozilla/Firefox-way (Shift+Del) also does not work.

Time to descend into the personal .kde directory and dig in some config files …


Binding external programs on keybord shortcuts in KDE

It’s not entirely clear, how to bind in KDE an external program without KDE support on a keyboard shortcut, the “System Settings -> Keyboard & Mouse -> Keyboard Shortcuts” has no such option.