How to force Gedit always, any time, in any place open new doc in a new window? And never, nowhere open it in a new tab?
Asked
Active
Viewed 350 times
1 Answers
1
You need to alter .desktop
shortcut:
- Replace
gedit %U
withgedit -s %u
. - Disable DBus activation.
The command line to do both modifications at once:
$ sed "s/\(Exec=gedit \)%U$/\1-s %u/;s/\(DBusActivatable=\).*/\1false/" /usr/share/applications/org.gnome.gedit.desktop | sudo tee /usr/local/share/applications/org.gnome.gedit.desktop

Trudy
- 180
- 1
- 7