diff --git a/docs/desktopEntry/package/flameshot-config.desktop b/docs/desktopEntry/package/flameshot-config.desktop deleted file mode 100644 index 9631c6e3..00000000 --- a/docs/desktopEntry/package/flameshot-config.desktop +++ /dev/null @@ -1,17 +0,0 @@ -[Desktop Entry] -Name=Configure Flameshot -Name[es]=Configurar Flameshot -Name[zh_CN]=配置 Flameshot -GenericName=Screenshot tool -GenericName[es]=Herramienta de captura de pantalla -GenericName[zh_CN]=截图工具 -Comment=Powerful yet simple to use screenshot software. -Comment[es]=Potente pero simple de usar software de capturas. -Comment[zh_CN]=强大又易用的截图软件 -Keywords=flameshot;screenshot;capture; -Keywords[zh_CN]=flameshot;screenshot;capture;截图; -Exec=flameshot config -Icon=flameshot -Terminal=false -Type=Application -Categories=Graphics; diff --git a/docs/desktopEntry/package/flameshot-init.desktop b/docs/desktopEntry/package/flameshot-init.desktop deleted file mode 100644 index 0548d271..00000000 --- a/docs/desktopEntry/package/flameshot-init.desktop +++ /dev/null @@ -1,20 +0,0 @@ -[Desktop Entry] -Name=Launch Flameshot -Name[es]=Iniciar Flameshot -Name[tr]=Flameshot Başlat -Name[zh_CN]=启动 Flameshot -GenericName=Screenshot tool -GenericName[es]=Herramienta de captura de pantalla -GenericName[tr]=Ekran kayıt aracı -GenericName[zh_CN]=截图工具 -Comment=Powerful yet simple to use screenshot software. -Comment[es]=Potente pero simple de usar software de capturas. -Comment[zh_CN]=强大又易用的截图软件 -Keywords=flameshot;screenshot;capture; -Keywords[zh_CN]=flameshot;screenshot;capture;截图; -Exec=flameshot -Icon=flameshot -Terminal=false -Type=Application -Categories=Graphics; -StartupNotify=false diff --git a/docs/desktopEntry/package/flameshot.desktop b/docs/desktopEntry/package/flameshot.desktop index 1311e103..f4413f20 100644 --- a/docs/desktopEntry/package/flameshot.desktop +++ b/docs/desktopEntry/package/flameshot.desktop @@ -1,20 +1,20 @@ [Desktop Entry] -Name=Take graphical screenshot -Name[es]=Tomar captura gráfica -Name[zh_CN]=进行图形截图 -GenericName=Screen capture tool -GenericName[es]=Herramienta de captura de pantalla -GenericName[tr]=Ekran kayıt aracı -GenericName[zh_CN]=屏幕截图工具 +Name=Flameshot +GenericName=Screenshot tool Comment=Powerful yet simple to use screenshot software. -Comment[es]=Potente pero simple de usar software de capturas. -Comment[tr]=Güçlü ve kullanımı kolay ekran kayıt yazılımı. -Comment[zh_CN]=强大又易用的截图软件 Keywords=flameshot;screenshot;capture; -Keywords[zh_CN]=flameshot;screenshot;capture;截图; -Exec=flameshot gui +Exec=flameshot Icon=flameshot Terminal=false Type=Application Categories=Graphics; StartupNotify=false +Actions=Configure;Capture; + +[Desktop Action Configure] +Name=Configure +Exec=flameshot config + +[Desktop Action Capture] +Name=Take screenshot +Exec=flameshot gui diff --git a/flameshot.pro b/flameshot.pro index 299aa1b9..b06a9fdf 100644 --- a/flameshot.pro +++ b/flameshot.pro @@ -229,13 +229,8 @@ unix:!macx { desktopentry.path = $${BASEDIR}$${PREFIX}/share/applications desktopentry.files = docs/desktopEntry/package/flameshot.desktop - desktopentryinit.path = $${BASEDIR}$${PREFIX}/share/applications - desktopentryinit.files = docs/desktopEntry/package/flameshot-init.desktop - - desktopentryconfig.path = $${BASEDIR}$${PREFIX}/share/applications - desktopentryconfig.files = docs/desktopEntry/package/flameshot-config.desktop - servicedbus.path = $${BASEDIR}$${PREFIX}/share/dbus-1/services/ + packaging { servicedbus.files = dbus/package/org.dharkael.Flameshot.service } else { @@ -245,8 +240,6 @@ unix:!macx { INSTALLS += target \ icon \ desktopentry \ - desktopentryinit \ - desktopentryconfig \ qmfile \ servicedbus \ dbus \