Cannot open menu on WorkRave system tray icon

Problem

I started using WorkRave on a Ubuntu 14.04 machine. It was working fine. When I tried WorkRave on a Ubuntu 16.04, I had problems. The system tray icon of WorkRave would not respond to any mouse click. If it does not display the right-click menu, there is no way to open its settings and change its configuration!

Solution

This seems to be a known bug with KDE Plasma 5, which is what ships in Ubuntu 16.04. This bug report is here. Until this bug is fixed, I do not see how I will be able to even use WorkRave on Ubuntu 16.04.

How to group windows as tabs in KDE

KDE/Plasma/KWin 4.x that ships in Ubuntu 14.04 has one amazing feature that I discovered today. I keep many XTerm, RXVT and related file explorer windows open. These were related to many servers I was SSHed to and I was looking for a way to group windows related to each server together. Guess what, KDE 4.x has a fantastic solution!

KDE 4.x allows you to group any set of open application windows together as tabs. Just right-click on the titlebar of an application and choose Attach as tab and pick the other application with which you want to group this one. These two application windows will now appear in a single window as tabs! You can repeat this operation and group together apps as tabs inside super-windows. (In older KDE, this option appears as Move window to group.) This works for any application window, they can be from different applications. What a great way to organize your windows on the desktop!

Sadly, this feature is missing in the recent KDE/Plasma/KWin 5.x series that ships in Ubuntu 16.04. It lies on the missing features list and I really hope they will reimplement this great feature.

How to restart KDE desktop

On some rare occasions I find that some parts of the KDE desktop might disappear, like the Start menu or Panel for example. Restarting the KDE desktop is easy in such situations.

  • Switch to a terminal or open the Run dialog (Ctrl + F2). Note that this command does not work from a virtual terminal like (Ctrl + Alt + 1).

  • If you are using KDE 4.x or Kubuntu 14.04, try: plasma-desktop

  • If you are using KDE 5.x or Kubuntu 16.04, try: plasmashell

Single click to open not working in Dolphin

Problem

I recently upgraded a Kubuntu 15.10 operating system to Kubuntu 16.04. I used to use single-click to open files and directories in the Dolphin file manager. This stopped working after the upgrade. Only double-click would open files and directories.

Solution

  • The option to choose between single-click or double-click can be set in System Settings → Input Devices → Mouse. However, this had no effect in Dolphin. I even checked that it was set:
$ cat ~/.config/kdeglobals | grep SingleClick
SingleClick=true
  • Further investigation showed that this was a known bug. It is fixed, but I guess it will be a while before that flows downstream to Kubuntu.

  • The only solution that worked for me was to install the older Dolphin from KDE 4 and running it instead of the default Dolphin from KDE 5:

$ sudo apt install dolphin4
$ dolphin4

KDE Screen Ruler

A screen ruler is indispensable for a programmer who works with images, windows or the web. KDE Screen Ruler is the best screen ruler I have used. It can show the ruler in vertical or horizontal orientations, ruler opacity is configurable and it has a RGB color picker value that is always displayed on it.

Installing it is easy:

$ sudo apt install kruler

Note that if you do not have any KDE application installed, installing this one may pull in many KDE packages to be installed. This is not a problem for me, since I do use some KDE applications.

Tried with: KDE Screen Ruler 4.13.0 and Ubuntu 14.04