From b05578098419b0ae532f13381319a5bead11576d Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Thu, 4 Apr 2013 21:18:14 +0200 Subject: [PATCH] Add and install a desktop file. --- share/CMakeLists.txt | 1 + share/linux/keepassx.desktop | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 share/linux/keepassx.desktop diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt index d358473b..06b6a52b 100644 --- a/share/CMakeLists.txt +++ b/share/CMakeLists.txt @@ -20,6 +20,7 @@ install(FILES ${DATABASE_ICONS} DESTINATION ${DATA_INSTALL_DIR}/icons/database) if(UNIX AND NOT APPLE) install(DIRECTORY icons/application/ DESTINATION share/icons/hicolor FILES_MATCHING PATTERN "keepassx.png" PATTERN "keepassx.svgz") + install(FILES linux/keepassx.desktop DESTINATION share/applications) endif(UNIX AND NOT APPLE) if(APPLE) diff --git a/share/linux/keepassx.desktop b/share/linux/keepassx.desktop new file mode 100644 index 00000000..c4fb0ccc --- /dev/null +++ b/share/linux/keepassx.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=KeePassX +GenericName=Cross Platform Password Manager +GenericName[de]=Passwortverwaltung +GenericName[es]=Gestor de contraseñas multiplataforma +GenericName[fr]=Gestionnaire de mot de passe +Exec=keepassx %f +Icon=keepassx +Terminal=false +Type=Application +Categories=Qt;Utility; +MimeType=application/x-keepass2;