In Windows you press the shift key when you login to disable any startup scripts from running. Is there an equivalent action in Ubuntu?


No, this is not possible.

There are 2 sorts of scripts:

  • scripts that are started as part of the system and affect all users.
  • scripts that are started when you log in as part of your own session.

Both do not have a keyboard switch to turn them off or on on the fly.

  • Makes sense as Linux is more security focused – Myka Mar 18 '13 at 21:48

Go to dash and search startup, some are hidden for security reasons so in the terminal type this

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

And then try the startup application.

  • Is this change then forever? – Myka Mar 18 '13 at 19:49
  • Yes just like msconfig in windows you will have to re enable them to run at start up. – Goku Mar 18 '13 at 19:52
  • Will give it a go – Myka Mar 18 '13 at 19:54
  • Ok post your findings. – Goku Mar 18 '13 at 20:00
  • How does this disable scripts? It just makes the links visible! – guntbert Mar 18 '13 at 20:22

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.