Friday, December 21, 2018

13.10 - Enable line numbers in gedit



I can't find how to enable the line numbers, current line highlight, and other goodness in 13.10.



enter image description here



If you've removed indicator-appmenu to remove global menus then either





  1. Reinstall indicator-appmenu or


  2. run this command (one long line):



    gsettings set org.gnome.settings-daemon.plugins.xsettings overrides '@a{sv} {"Gtk/ShellShowsAppMenu": }'


    (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": }'

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...