From 0a47383a1b29f9bac4b62749b14773807df74106 Mon Sep 17 00:00:00 2001 From: Filippo Gentile Date: Tue, 9 Apr 2024 11:52:46 +0200 Subject: [PATCH] Hide lxqt-panel application from applications menu - Add NoDisplay=true to .desktop file CMake: rename autostart desktop variable --- autostart/CMakeLists.txt | 4 ++-- autostart/lxqt-panel_wayland.desktop.in | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/autostart/CMakeLists.txt b/autostart/CMakeLists.txt index 6d044738b..f56d282ff 100644 --- a/autostart/CMakeLists.txt +++ b/autostart/CMakeLists.txt @@ -1,9 +1,9 @@ -set(DESKTOP_FILES lxqt-panel.desktop.in) +set(AUTOSTART_DESKTOP_FILES_IN lxqt-panel.desktop.in) # Translations ********************************** lxqt_translate_desktop(DESKTOP_FILES SOURCES - ${DESKTOP_FILES_IN} + ${AUTOSTART_DESKTOP_FILES_IN} USE_YAML ) add_custom_target(lxqt_panel_autostart_desktop_files ALL DEPENDS ${DESKTOP_FILES}) diff --git a/autostart/lxqt-panel_wayland.desktop.in b/autostart/lxqt-panel_wayland.desktop.in index 089082aea..540955e18 100644 --- a/autostart/lxqt-panel_wayland.desktop.in +++ b/autostart/lxqt-panel_wayland.desktop.in @@ -1,6 +1,7 @@ [Desktop Entry] Type=Application TryExec=lxqt-panel +NoDisplay=true # NOTE: KWin wants absolute path here, get it from CMake install path Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/lxqt-panel