I'm using the MATE desktop version of Ubuntu 14.04. If I right click on a text file via the desktop, and choose "Text editor" then it opens in gedit, and all is fine.
However, if I do
gedit path/to/file.txt on the command line, then it opens in a "locked down" version of gedit: any changes I make in preferences either refuse to change or switch back to the previous setting immediately.
Doing the "About" option in both reveals them to be the same gedit.
What's the difference between these two things? (desktop vs command line?)
If I could do whatever the desktop does, from the command line, and open files in a gedit where I can change the preferences, that would be ok. Does anyone know how to do that? Thanks.
EDIT - I tried
gnome-open path/to/file.txt but that has the same effect as doing
gedit path/to/file.txt, ie opening it in a "locked" gedit.
EDIT - as requested:
$ which gedit /usr/bin/gedit
permissions: I think they're ok...
$ ls -l ~/.config |grep gedit drwxrwxr-x 2 max max 4096 Dec 3 10:07 gedit $ ls -l ~/.config/gedit/ total 8 -rw-rw-r-- 1 max max 4231 Dec 3 10:35 accels