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 392 times
1 Answers
2
You need to alter .desktop shortcut:
- Replace
gedit %Uwithgedit -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
- 230