Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was reading man gedit, when I stumbled upon this:

-s, --standalone
              Run gedit in standalone mode.

The official gedit documentation on this subject did not make me much wiser. So...

  • What does standalone mode really mean?
  • When would I need this?
share|improve this question

2 Answers 2

up vote 3 down vote accepted

Looking it at the source, -s makes gedit always start a new process and a new window, rather than adding a tab to an existing gedit window that's already running. Useful if you're worried about one window crashing taking down the other. You can do the same thing with gnome-terminal with the "--disable-factory" switch, which is useful, as g-t has been known to crash, and take down the processes running in all your tabs and windows with it!

Edit: And the docs you linked above point out that it's also useful if you're invoking gedit from a batch file, or from a mail program, etc. - "gedit -s" will create a new process that won't exit until the window is closed, whereas plain "gedit" will return immediately if there's already a gedit process running.

share|improve this answer

My guess is that standalone mode will not use your settings and profile to start, so it can be usefull if you have a corrupted profile or settings that avoid you from starting the application.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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