Skip to content

Commit 1a1691c

Browse files
committed
Hide lxqt-panel application from applications menu
- Add NoDisplay=true to .desktop file CMake: rename autostart desktop variable
1 parent 3a2dfd7 commit 1a1691c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

autostart/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
set(DESKTOP_FILES lxqt-panel.desktop.in)
1+
set(AUTOSTART_DESKTOP_FILES_IN lxqt-panel.desktop.in)
22

33
# Translations **********************************
44
lxqt_translate_desktop(DESKTOP_FILES
55
SOURCES
6-
${DESKTOP_FILES_IN}
6+
${AUTOSTART_DESKTOP_FILES_IN}
77
USE_YAML
88
)
99
add_custom_target(lxqt_panel_autostart_desktop_files ALL DEPENDS ${DESKTOP_FILES})

autostart/lxqt-panel_wayland.desktop.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[Desktop Entry]
22
Type=Application
33
TryExec=lxqt-panel
4+
NoDisplay=true
45

56
# NOTE: KWin wants absolute path here, get it from CMake install path
67
Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/lxqt-panel

0 commit comments

Comments
 (0)