aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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