diff options
author | Chih-Hsuan Yen <yan12125@gmail.com> | 2021-01-22 17:29:14 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2021-05-30 15:44:09 +0300 |
commit | ae20ee61be12efa9465de2baf7611d2ddf9d4f5c (patch) | |
tree | a0fd12fd22fbff1f3285227162397f39e6c6f798 | |
parent | 7264b7fc268c62409b6689141aaa8514236f3e62 (diff) |
Make KeePassXC start after the system tray is available on LXQt
-rw-r--r-- | src/gui/osutils/nixutils/NixUtils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/osutils/nixutils/NixUtils.cpp b/src/gui/osutils/nixutils/NixUtils.cpp index eacb20060..9f147c59e 100644 --- a/src/gui/osutils/nixutils/NixUtils.cpp +++ b/src/gui/osutils/nixutils/NixUtils.cpp @@ -120,7 +120,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()); |