From e29cf8bfef73d1511d0222acc563854b6933bd7a Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Fri, 22 Jan 2021 22:29:14 +0800 Subject: [PATCH] Make KeePassXC start after the system tray is available on LXQt --- src/gui/osutils/nixutils/NixUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/osutils/nixutils/NixUtils.cpp b/src/gui/osutils/nixutils/NixUtils.cpp index 1fcde60ef..db39b1ace 100644 --- a/src/gui/osutils/nixutils/NixUtils.cpp +++ b/src/gui/osutils/nixutils/NixUtils.cpp @@ -137,7 +137,8 @@ void NixUtils::setLaunchAtStartup(bool enable) << QStringLiteral("MimeType=application/x-keepass2;") << '\n' << QStringLiteral("X-GNOME-Autostart-enabled=true") << '\n' << QStringLiteral("X-GNOME-Autostart-Delay=2") << '\n' - << QStringLiteral("X-KDE-autostart-after=panel") << endl; + << QStringLiteral("X-KDE-autostart-after=panel") << '\n' + << QStringLiteral("X-LXQt-Need-Tray=true") << endl; desktopFile.close(); } else if (isLaunchAtStartupEnabled()) { QFile::remove(getAutostartDesktopFilename());