1

With Ubuntu and Gnome classic desktop, sometimes I have separate windows of gedit open on different workspaces.

Since the program has its flaws and can be easily choked, for example by trying to undo a large replace action, I sometimes need to force-quit.

Then, all other windows are also killed. Plus, when one window is stuck, all the others are also not responding either, so I cannot continue to work on other tasks while the one that has a problem is recovering.

I guess if each window would run in a separate process, this would not happen.

Is there a way to make this happen?

2

You are probably looking for this option:

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

(From man gedit.)

  • Ok cool, I tested it and it seems to be two separate processes. Any way to put this into the configuration so that by default each new window is standalone? – Radio Controlled Sep 17 at 6:49
  • I'm using double click to open files and I prefer to keep the behaviour of how it groups files into windows. I usually get new windows by explicitely moving them into a new window or by being on another workspace. – Radio Controlled Sep 17 at 6:52
  • 1
    @RadioControlled there doesn't seem to be dconf key for this (nothing relevant in gsettings list-recursively org.gnome.gedit, anyway). You could: make a copy of /usr/share/applications/gedit.desktop in ~/.local/share/applications/gedit.desktop, and edit the Exec line in the copy to use this option. – muru Sep 17 at 7:06

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.