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());