Last week I installed KGpg and created a 4096 RSA key (took about 25 minutes!). I added my key to KMail and it works great with KMail.
Rog131 gave a great intro to KGpg in an answer to a previous question.
The problem is that this afternoon when I attempted to start KGpg in my home account it refused to start and it would not appear in the system tray.
When I tried to run it from a Konsole it left the following message:
I am running the following dbus services:
I consulted the launchpad and noticed that this bug has been around for over FOUR years, and in just about EVERY major distro, including KDE Neon! It is NOT just a Kubuntu issue. From all appearances it appears to be buried deep in the bowls of the QT API QDBusService module. One launchpad moderator called the bug "harmless" but if one does not know what causes the bug that pronouncement is premature, to say the least.
You can get it to run from the Konsole by issuing
kgpg &2> /dev/null
It will not automatically appear on the system tray unless, while it is running, you open the System Tray Settings command and switch the KGpg Icon setting from auto to show. Unfortunately the golden color of the lock icon becomes a the matte gray flat outline. If you run kate with
kdesudo kate
and navigate to and open
/usr/share/applicatioons/kde4/kgpg.desktop
you can append "&2> /dev/null" to the end of the execute command and save the file.
Using "&2> /dev/null" to block error flags returned to the environment isn't a good way to fix bugs, but unless this nasty bug is fixed this is the only way I've found that we presently have. It is a bug that affect many KDE applications: Dolphin, Kate, KWrite, KGpg and a host of others, but not all at the same time or on the same installation.
Rog131 gave a great intro to KGpg in an answer to a previous question.
The problem is that this afternoon when I attempted to start KGpg in my home account it refused to start and it would not appear in the system tray.
When I tried to run it from a Konsole it left the following message:
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
:~$ systemctl | grep dbus
dbus.service loaded active running D-Bus System Message Bus
dbus.socket loaded active running D-Bus System Message Bus Socket
j:~$
dbus.service loaded active running D-Bus System Message Bus
dbus.socket loaded active running D-Bus System Message Bus Socket
j:~$
You can get it to run from the Konsole by issuing
kgpg &2> /dev/null
It will not automatically appear on the system tray unless, while it is running, you open the System Tray Settings command and switch the KGpg Icon setting from auto to show. Unfortunately the golden color of the lock icon becomes a the matte gray flat outline. If you run kate with
kdesudo kate
and navigate to and open
/usr/share/applicatioons/kde4/kgpg.desktop
you can append "&2> /dev/null" to the end of the execute command and save the file.
Using "&2> /dev/null" to block error flags returned to the environment isn't a good way to fix bugs, but unless this nasty bug is fixed this is the only way I've found that we presently have. It is a bug that affect many KDE applications: Dolphin, Kate, KWrite, KGpg and a host of others, but not all at the same time or on the same installation.
Comment