Gedit preferences option is not displayed when I open a text file by double-clicking. However, when I open gedit by using sudo gedit
command from terminal, preferences option will be displayed. But, the changes made in that preferences will not be seen in the gedit opened by double-clicking the file.
I know that we can change different preferences from terminal, but I need that preferences option itself to be displayed.
I am using Ubuntu 15.10 and I have installed gnome UI (gdm). I have also changed file permissions to check if it was permission problem.
How can I make that preferences option appear in gedit even when I open it by double-clicking text file ?
Edit:
This question is not duplicate of Where are gedit's preferences?. This is a different situation here. I was getting that option when opened using sudo gedit
but not when opened by double-clicking. Also, I needed the method to make preferences option appear, for which I couldn't find question anywhere and I want to know why sudo gedit
works for me.
Edit 2:
I would also like to know why running sudo gedit
displays preferences option while double-clicking file doesn't.
stat -c "%A %u %n" $HOME/.config/gedit/*