2

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.

11
  • 1
    Possible duplicate of Where are gedit's preferences?
    – kos
    Jan 12, 2016 at 15:08
  • I deleted my answer since I found a duplicate, this answer worked for me: askubuntu.com/a/671398/380067
    – kos
    Jan 12, 2016 at 15:09
  • @kos Check my edit. I asked the method to enable it, which is not asked anywhere in askubuntu. Jan 12, 2016 at 15:23
  • "How can I make that preferences option appear in gedit even when I open it by double-clicking text file ?": the answer is in the linked question, and specifically in this answer.
    – kos
    Jan 12, 2016 at 15:25
  • 1
    Please post output of stat -c "%A %u %n" $HOME/.config/gedit/* Jan 12, 2016 at 16:05

0

You must log in to answer this question.

Browse other questions tagged .