mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2025-05-08 11:34:08 +02:00
Linux: Add autostart delay to avoid tray issues #6518
It seems that sometimes the tray implementation isn't ready on system startup. Retrying later seems to not help. Delaying the start of the client is the workaround that people have reported as effective.
This commit is contained in:
parent
5da48a5239
commit
d496aa5933
@ -82,7 +82,8 @@ void setLaunchOnStartup_private(const QString &appName, const QString &guiName,
|
||||
<< QLatin1String("Categories=") << QLatin1String("Network") << endl
|
||||
<< QLatin1String("Type=") << QLatin1String("Application") << endl
|
||||
<< QLatin1String("StartupNotify=") << "false" << endl
|
||||
<< QLatin1String("X-GNOME-Autostart-enabled=") << "true" << endl;
|
||||
<< QLatin1String("X-GNOME-Autostart-enabled=") << "true" << endl
|
||||
<< QLatin1String("X-GNOME-Autostart-Delay=10") << endl;
|
||||
} else {
|
||||
if (!QFile::remove(desktopFileLocation)) {
|
||||
qCWarning(lcUtility) << "Could not remove autostart desktop file";
|
||||
|
Loading…
Reference in New Issue
Block a user