diff --git a/CMakeLists.txt b/CMakeLists.txt index b4a4fb6..8e6bfa9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,6 +117,7 @@ set(QRC_FILES qml/qml.qrc res/res.qrc) set(DESKTOP_FILE data/ukui-menu.desktop) set(GSETTING_FILE data/org.ukui.menu.settings.gschema.xml) set(GLOBAL_CONFIG_FILE data/ukui-menu-global-config.conf) +set(DBUS_SERVICE_FILE data/org.ukui.menu.service) # data files #set(DATA_FILES data/xxx) # extension @@ -160,4 +161,5 @@ install(FILES ${QM_FILES} DESTINATION "${UKUI_MENU_TRANSLATION_DIR}") install(FILES ${DESKTOP_FILE} DESTINATION "/etc/xdg/autostart") install(FILES ${GSETTING_FILE} DESTINATION "/usr/share/glib-2.0/schemas") install(FILES ${GLOBAL_CONFIG_FILE} DESTINATION "${UKUI_MENU_DATA_DIR}") +install(FILES ${DBUS_SERVICE_FILE} DESTINATION "/usr/share/dbus-1/services/") #install(FILES ${EXTENSION_IFACE_QML_FILES} DESTINATION "${UKUI_MENU_EXTENSION_IFACE_QML_DIR}") diff --git a/data/org.ukui.menu.service b/data/org.ukui.menu.service new file mode 100644 index 0000000..3a0ea89 --- /dev/null +++ b/data/org.ukui.menu.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.ukui.menu +Exec=/usr/bin/ukui-menu