@@ -, +, @@ --- qt/Makefile.am | 2 ++ qt/main.cpp | 2 ++ qt/org.gnupg.pinentry-qt.desktop | 5 +++++ 3 files changed, 9 insertions(+) create mode 100644 qt/org.gnupg.pinentry-qt.desktop --- a/qt/Makefile.am +++ a/qt/Makefile.am @@ -24,6 +24,8 @@ bin_PROGRAMS = pinentry-qt EXTRA_DIST = document-encrypt.png pinentry.qrc +desktopdir = $(datadir)/applications +dist_desktop_DATA = org.gnupg.pinentry-qt.desktop if FALLBACK_CURSES ncurses_include = $(NCURSES_INCLUDE) --- a/qt/main.cpp +++ a/qt/main.cpp @@ -372,6 +372,8 @@ main(int argc, char *argv[]) i = argc; app = new QApplication(i, new_argv); app->setWindowIcon(QIcon(QLatin1String(":/document-encrypt.png"))); + app->setOrganizationDomain(QStringLiteral("gnupg.org")); + app->setDesktopFileName(QStringLiteral("org.gnupg.pinentry-qt")); } pinentry_parse_opts(argc, argv); --- a/qt/org.gnupg.pinentry-qt.desktop +++ a/qt/org.gnupg.pinentry-qt.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=Pinentry dialog +Icon=document-encrypt +NoDisplay=true --