It should be there in the Edit, Preferences dialog!
And this is gedit version 3.8.3
There has been a similar issue reported over at ubuntuforums.org. The problem apparently arose when Unity's global menu was removed (by sudo apt-get remove indicator-appmenu). The solution involves using dconf editor to restore menu items or restoring the global menu.
If you've removed indicator-appmenu to remove global menus then either
Reinstall indicator-appmenu or
run this command (one long line):
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides '@a{sv} {"Gtk/ShellShowsAppMenu": <int32 0>}'
(If the above doesn't copy as a single line, this code box here will work).
If you've edited gedit.desktop to add an env to keep menus in their window then remove the env, typically env UBUNTU_MENUPROXY=.
As an aside: if one wanted the app menu present in a root nautilus browser then removing indicator-appmenu and running the above from a root prompt will achieve that.
Example:
sudo -i
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides '@a{sv} {"Gtk/ShellShowsAppMenu": <int32 0>}'
The fastest way to enable/disable displaying line numbers in Gedit is by clicking the downward pointing triangle ▾ in the lower right corner of Gedit where it shows LnXX, ColXX to show the dropdown menu in the below screenshot.
Check/uncheck the Display line numbers checkbox to toggle displaying line numbers. This action is temporary. It will not display line numbers the next time you open Gedit, so you can use this feature to quickly show the line numbers to find a line in a text file without permanently changing Gedit's preferences for all files.
If there are files open in multiple tabs in Gedit, checking the Display line numbers checkbox will only affect the file in the tab that has the focus. This action will not affect the files that are open in other tabs.
It should be there in the Edit, Preferences dialog!
And this is gedit version 3.8.3
There has been a similar issue reported over at ubuntuforums.org. The problem apparently arose when Unity's
global menu
was removed (bysudo apt-get remove indicator-appmenu
). The solution involves usingdconf editor
to restore menu items or restoring theglobal menu
.If you've removed
indicator-appmenu
to remove global menus then eitherReinstall
indicator-appmenu
orrun this command (one long line):
(If the above doesn't copy as a single line, this code box here will work).
If you've edited
gedit.desktop
to add anenv
to keep menus in their window then remove theenv
, typicallyenv UBUNTU_MENUPROXY=
.As an aside: if one wanted the app menu present in a root nautilus browser then removing
indicator-appmenu
and running the above from a root prompt will achieve that.Example:
I'm not sure if this is specific to gnome users, but I was able to get to the preferences by clicking up the top, like this:
The fastest way to enable/disable displaying line numbers in Gedit is by clicking the downward pointing triangle ▾ in the lower right corner of Gedit where it shows
LnXX, ColXX
to show the dropdown menu in the below screenshot.Check/uncheck the Display line numbers checkbox to toggle displaying line numbers. This action is temporary. It will not display line numbers the next time you open Gedit, so you can use this feature to quickly show the line numbers to find a line in a text file without permanently changing Gedit's preferences for all files.
If there are files open in multiple tabs in Gedit, checking the Display line numbers checkbox will only affect the file in the tab that has the focus. This action will not affect the files that are open in other tabs.