Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
Autostart
*.desktopconfiguration files are located in directories/etc/xdg/autostartand~/.config/autostart/. By default, autostart applications in/etc/xdg/autostartare not shown to users in “Startup Applications Preferences” while autostart application in~/.config/autostartare shown to users in “Startup Applications Preferences”.If you use multiple Linux desktop environments, you can customize
desktopconfiguration files for different Linux desktop environments. Please refer to Desktop Entry Specification for details.By default, a
*.desktopfile under/etc/xdg/autostartor~/.config/autostartenables an application to autostart. There are 2 ways to disable autostart of the application.Add the line
Hidden=Trueinto thedesktopfile. This is the recommended way.Remove the
desktopfile. This is not recommended, generally speaking.
If you want to disable an autostart application defined by a
desktopfile in/etc/xdg/autostart, you’d better make a copy of thedesktopfile into~/.config/autostartand disable there unless you want to disable it system-wide .Sometimes, it’s helpful to delay the start of some applications (e.g., Dropbox).
makes your Linux machine boot faster
a non-system application might fail to auto start without configuring a delay
The universal way to configure a delay is to add a
sleepinto theExec=line. For example:::text Exec=sleep 10 && /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/dropbox-app com.dropbox.ClientSome Linux desktop environments support their specific keys for delayed autostart in
.desktopfiles. For example, GNOME supportsX-GNOME-Autostart-Delay. However, some Linux desktop environments (e.g., KDE) don’t have such as equivalent.
A List of Autostart Applications to Disable¶
/etc/xdg/autostart/org.gnome.DejaDup.Monitor.desktop
/etc/xdg/autostart/org.gnome.Evolution-alarm-notify.desktop
/etc/xdg/autostart/org.kde.kdeconnect.daemon.desktop
/etc/xdg/autostart/sogoupinyin.desktop
/etc/xdg/autostart/sogoupinyin-watchdog.desktop
/etc/xdg/autostart/ubuntu-report-on-upgrade.desktop
/etc/xdg/autostart/update-notifier.desktop
/home/dclong/.config/autostart/im-launch.desktop