Where are gedit's preferences?
Solution 1
I'm not sure how to get preferences
back in your menus, but you can use gsettings
to display line numbers. Enter this command into the terminal:
gsettings set org.gnome.gedit.preferences.editor display-line-numbers true
In case you need to change other settings for gedit
, you can use this command to find quite a few that are available: (thanks to this answer)
gsettings list-recursively | grep -i gedit
Solution 2
if you are using GNOME 3, you can access the preferences via the top menu.
you should have "activities" on the top left corner of your screen. on the right side of activities, you will have gedit. click on it, and you should see the preferences.
Solution 3
To get the preferences entry back to the edit menu perform the following command in a terminal:
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides '@a{sv} {"Gtk/ShellShowsAppMenu": <int32 0>}'
The problem results from Gnome3 putting the preferences menu entry to the top menu.
Solution 4
Just type Alt+E, then again E when you are in gedit. A new window called "gedit Preferences" should appear.
Solution 5
Faced similar problem...got the preference option in the activities bar in the left hand corner..I am using gedit v3.22.1
Related videos on Youtube
Amanda
Updated on September 18, 2022Comments
-
Amanda over 1 year
This is incredibly weird. I don't see "preferences" in any of my gedit menus. I'm running Version 3.8.3. All I want to do is show line numbers, but I can't do that without preferences.
Where the heck are they hiding?
note: I did remove
indicator-appmenus
because I dislike having the menus detached from the window.2015 Update: somehow this is being flagged as a dupe of Enable line numbers in gedit which is a little confusing. The solution is the same but the questions are different.
-
Amanda over 10 yearsNo dice, I'm afraid.
-
Radu Rădeanu over 10 years@Amanda I am using gedit 3.8.3 in Ubuntu 13.10 and this is how I open preferences in gedit. I made you also a picture to prove you.
-
Amanda over 10 yearsI believe you, but my edit menu ends at "Insert Date and Time"
-
OSE over 10 years@Amanda You can also use
gsettings
to changegedit
's settings. -
Amanda over 10 yearsBoom. @OSE ... you should make that an answer.
-
Irfan over 10 yearsI do see preferences, but clicking it doesn't bring up anything.
-
Amanda over 10 years@Power-Inside if you've got a top menu but the "preferences" menu item isn't doing anything, you probably want to start a new question.
-
BufBills about 10 yearscannot believe why gedit became so hard to use these days....
-
jozxyqk about 9 yearsew! yet another reason for me not to return to gnome. why move preferences to a mac style location?? absurd
-
Admin over 8 years+1 because this answer is valid for Gedit in GNOME 3.12 and probably for newer releases also. Gedit in newer releases doesn't seem to have the preferences dialog as described here.
-
dschinn1001 over 8 years@Amanda + it can be that gedit has different outfit in menu, whether you use Gnome, or Unity or simply xfce4 (to save memory).
-
crobicha about 8 yearsThank you, this was the only solution that worked for me (using CentOS but solution is the same). Can't believe this is hidden by default!!
-
hata almost 8 yearsIt helps me. Thank you! I found a lot of tips for accessing through "edit" menu, however I couldn't find on my Ubuntu GNOME 16.04. I couldn't imagine that it moved onto a global menu.
-
WinEunuuchs2Unix about 7 yearsAlthough this is true, it doesn't explain how to access preferences when using
gedit
with super usersudo
powers. -
user1708042 over 5 yearslaunching it with sudo the preferences are in the standard three-bar, and not the top bar, and preferences are locked (gedit 3.30 under Arch)
-
WinEunuuchs2Unix over 5 years@user1708042 You can have
sudo -H gedit
inherit user preferences though: askubuntu.com/questions/270006/… -
蔡宗容 about 4 yearsThe best excellent solution without the command line!!
-
thybzi about 4 yearsThat is the best answer for me! No need to use cli or disable ui extensions. Just right-click gedit icon in panel - and you got it! You just saved my day, thanks a lot!
-
Jasen almost 4 years"top menu" is the bit on the gnome desktop top bar that says "Text Editor" or "gedit" wnen gedit is focussed
-
Olumide over 3 yearsI don't get this mad dash by designers to remove the menu. Leave the menu alone. Its useful