aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-13 09:36:35 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-13 09:36:35 +0200
commita3907f16d382648153b403c7f1130a3350fc4013 (patch)
tree28d827709e19f30bdc9ea3f59547e45cb097a479
parent7b110fc4aee889bd5cbec9ed74f83bcde8a50c5b (diff)
parent01de53a10eff21e5d75d94b17ad3a76bc1576619 (diff)
downloadayatana-indicator-display-a3907f16d382648153b403c7f1130a3350fc4013.tar.gz
ayatana-indicator-display-a3907f16d382648153b403c7f1130a3350fc4013.tar.bz2
ayatana-indicator-display-a3907f16d382648153b403c7f1130a3350fc4013.zip
Merge branch 'tari01-pr/add-xdg-autostart-stuff'
Attributes GH PR #21: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/21
-rw-r--r--data/CMakeLists.txt10
-rw-r--r--data/ayatana-indicator-display.desktop.in8
2 files changed, 18 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 177e8fd..df734f1 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -29,6 +29,16 @@ install (FILES "${SYSTEMD_USER_FILE}"
DESTINATION "${SYSTEMD_USER_DIR}")
##
+## XDG Autostart Config File
+##
+
+# build it
+configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/${CMAKE_PROJECT_NAME}.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop")
+
+# install it
+install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop" DESTINATION "/etc/xdg/autostart")
+
+##
## Ayatana Indicator File
##
diff --git a/data/ayatana-indicator-display.desktop.in b/data/ayatana-indicator-display.desktop.in
new file mode 100644
index 0000000..d51920d
--- /dev/null
+++ b/data/ayatana-indicator-display.desktop.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Ayatana Indicator Display
+Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/ayatana-indicator-display-service
+OnlyShowIn=Unity;MATE;XFCE;Budgie:GNOME;
+NoDisplay=true
+StartupNotify=false
+Terminal=false