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/*
– Sergiy Kolodyazhnyy Jan 12 '16 at 16:05sudo gedit
and couldn't find any file owned by root in my home directory afterwards. – kos Jan 12 '16 at 16:17sudo gedit
displays the context menu entry and why opening gedit by double-clicking on a text file doesn't? If so please rephrase your question like so and I'll remove my close vote, but if just want to know just how to enable the context menu entry when opening gedit by double-clicking on a text file there's really no reason to leave this question open. – kos Jan 12 '16 at 16:21/home/varun/.config/gedit/accels
. Try deleting or moving that file out of the.config/gedit
directory, see if that helps – Sergiy Kolodyazhnyy Jan 12 '16 at 18:10