Jump to content

KDE Utils/KGpg: Difference between revisions

From KDE Community Wiki
m fix wrong copy pasta
m formatting
Line 20: Line 20:
=== Shut down the old version ===
=== Shut down the old version ===


In case an older version of '''KGpg''' is already running starting the newly built one will only tell the older one to raise, so you will actually not get the behavior of the new version. Either click Quit from the File menu or use the shortcut to trigger this action, usually <keycap>Ctrl-Q</keycap>. Please note that pressing <keycap>Alt-F4</keycap> or closing the window will not quit the old '''KGpg''' instance in the default configuration, but will just cause it to hide in the system tray.
In case an older version of '''KGpg''' is already running starting the newly built one will only tell the older one to raise, so you will actually not get the behavior of the new version. Either click Quit from the File menu or use the shortcut to trigger this action, usually <keycap>Ctrl + Q</keycap>. Please note that pressing <keycap>Alt + F4</keycap> or closing the window will not quit the old '''KGpg''' instance in the default configuration, but will just cause it to hide in the system tray.


You can also tell KGpg to quit from the command line:
You can also tell KGpg to quit from the command line:

Revision as of 14:18, 29 July 2019

Building

Most of the information about building KGpg are available in Get_Involved/development.

Configuring the build

This additional information can be put in your $HOME/.kdesrc-build to enable the debug build.

options kgpg
    cmake-options -D KGPG_DEBUG_TRANSACTIONS=On -D CMAKE_BUILD_TYPE=Debug
end options

Alternatively in case KGpg is build using git and CMake directly. The Cmake command is:

cmake -D KGPG_DEBUG_TRANSACTIONS=On -D CMAKE_BUILD_TYPE=Debug path/to/project/root

Useful tips

Shut down the old version

In case an older version of KGpg is already running starting the newly built one will only tell the older one to raise, so you will actually not get the behavior of the new version. Either click Quit from the File menu or use the shortcut to trigger this action, usually Ctrl + Q. Please note that pressing Alt + F4 or closing the window will not quit the old KGpg instance in the default configuration, but will just cause it to hide in the system tray.

You can also tell KGpg to quit from the command line:

qdbus org.kde.kgpg /MainApplication quit

Enable debug printing

When you run KGpg from the command line it will print out some useful status information. This printing can be controlled using the tool kdebugdialog. Enter kgpg in the filter at the top of the application window and enable all entries you find. Please note that you do not need to enable the one labled kgpgconf, as that is a totally unrelated application.