Why are some things autostarted via /etc/xdg/autostart? Is it safe to remove them?
This is what's currently in that folder:
-rw-r--r-- 1 root root 305 Mar 25 2015 at-spi-dbus-bus.desktop
-rw-r--r-- 1 root root 3.2K Jun 7 12:27 blueman.desktop
-rw-r--r-- 1 root root 831 Apr 23 2014 clipit-startup.desktop
-rw-r--r-- 1 root root 6.4K Apr 13 14:14 gnome-keyring-gpg.desktop
-rw-r--r-- 1 root root 7.9K Apr 13 14:14 gnome-keyring-pkcs11.desktop
-rw-r--r-- 1 root root 7.5K Apr 13 14:14 gnome-keyring-secrets.desktop
-rw-r--r-- 1 root root 6.1K Apr 13 14:14 gnome-keyring-ssh.desktop
-rw-r--r-- 1 root root 7.6K Oct 3 2013 gsettings-data-convert.desktop
-rw-r--r-- 1 root root 5.6K Aug 27 19:15 nm-applet.desktop
Let's take nm-applet for example. Why is it inside that folder? What put it there? I use my i3 config to autostart it, could any problems arise from that double autostarting? Is it safe to remove everything I autostart myself from this folder?
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 3mobru
2 comments
/etccontains system wide configuration files. When you installnetwork-manager-appletit assumes that you want it to start on every user. You can remove it of course if you don't want that. Make a backup of the.desktopthough if it contains a special execute command.Some applications will have problems if they are started twice. But in case of nm-applet I am guessing it looks if there are instances running before it starts.
Not everything listed there is auto-started, at least for me on XFCE.
For example, I have xfce4-notes-autostart.desktop at that location, but no there's no related process running and Session and Startup show me that Notes is unticked.
To answer your question of what put it there. Try:
pkgfile -s /etc/xdg/autostart/nm-applet.desktop
Now you know what you installed that gave you that file.
In regards to i3, I suspect you are fine, unless you are using i3 somehow in conjunction with a DE that obeys XDG standards. Perhaps your journal may clue you in as whether or not you do indeed have a double-start issue.