In Xubuntu, how do I remove a startup application that was set in Menu –> Setting –> Settings Manager –> Sessions and Startup without using the GUI? My startup command breaks the gui, and I need to disable it using the command line.


Quoting the Xfce Docs ("Some of my applications are always started when I login"):

You can also manually delete those files in ~/Desktop/Autostart and ~/.config/autostart.

For example: open a terminal, type

cd ~/.config/autostart

then rm the files that you want to delete.

  • For Ubuntu 16.04, ~/.config/autostart is the directory – Yu Shen Nov 22 '17 at 19:34

If you previously not disabled anything in there then you should need to create folder autostart:

mkdir ~/.config/autostart

and then create .desktop files for applications you want to disable
For example, disabling print-applet:

cat > ~/.config/autostart/print-applet.desktop <<EOF
[Desktop Entry]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.