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 enables an application to autostart. There are 2 ways to disable autostart of the application.- Add a line
X-GNOME-Autostart-enabled=false(or similarly for other Linux desktop environment) into thedesktopfile. This is the recommended way. - Remove the
desktopfile. This is not recommended, generally speaking.
- Add a line
-
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 then disable it unless you want to disable it system-wide . -
For a must-have autostart application (e.g., Dropbox), it might help to configure a delay to launch it so that your Linux machine can boot faster.
X-GNOME-Autostart-Delay=30
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