38

I am using Ubuntu 11.10. This seems to be an easy question, yet I cannot find an answer anywhere.

On pre-unity Ubuntu, I was using gedit-zoom plugin to zoom text in editor window in/out, either with Ctrl++/-, or by holding Ctrl+ scrolling mouse-wheel. The same plugin does not seem to work in Ubuntu 11.10.

Any way I can get text zooming capability?

v2r
  • 9,367
  • 11
  • 49
  • 52
Greg V.
  • 505
  • 1
  • 5
  • 11
  • 1
    The functionality appears to be broken in 12.04. Ctrl+"-" and Ctrl+"0" work, while Ctrl+"+" and Ctrl+mousewheel do not. – Greg V. May 15 '12 at 12:51

3 Answers3

50

v2screenshot

  1. Under EditPreferencesPlugins, you can tick the Text Size box and zoom in with ctrl++.

    • Click on gedit-plugins Install gedit-plugins to install the Gedit plugins.

    • You can also manually download/install the plugin.

  2. ctrl+Trackpad scroll (up/down) enables you, to zoom in and out as well, not only within gEdit, but also in your Webbrowser, File System etc.

Both possibilities work just fine in Ubuntu 11.10.


Update information for Ubuntu 17.x.x, 18.x.x and later, as suggested by code_dredd - tested and works:

sudo apt-get install -y gedit-plugin-text-size

enter image description here

v2r
  • 9,367
  • 11
  • 49
  • 52
  • 1
    I don't have the plugin you mentioned in here. – jokerdino Mar 01 '12 at 06:03
  • You can always install it (: You know how to..right!? – v2r Mar 01 '12 at 06:15
  • 1
    That was a hint to tell you to add the part about installing the plugin. ;) – jokerdino Mar 01 '12 at 06:19
  • 1
    indeed it was (: ftp://ftp.gnome.org/pub/gnome/sources/gedit-plugins/ however doesn't seem to work right now, but you can also type in "gedit" in "Ubuntu Software Center" and add plugins from there. – v2r Mar 01 '12 at 06:27
  • I edited the answer a bit. I hope you don't mind. – jokerdino Mar 01 '12 at 07:38
  • No, not at all! – v2r Mar 01 '12 at 07:45
  • The post doesn't make this *explicitly* clear, so just in case someone's still lost, **1)** open a terminal, **2)** run the following command: `sudo apt-get install -y gedit-plugins`, and **3)** enter your admin passphrase to proceed – code_dredd Oct 20 '16 at 04:28
  • Hello Ray, thank you for pointing it out. That's standards procedure! – v2r Nov 07 '16 at 15:11
  • 9
    These steps no longer work on Ubuntu 17.10. The `gedit-plugins` package does *not* include the `gedit-plugin-text-size` package with it. You now have to install the package manually: `sudo apt-get install -y gedit-plugin-text-size`. – code_dredd Mar 22 '18 at 15:34
  • 1
    @v2r It's better to avoid some assumptions :) BTW, one of your URLs is broken, and it'd be beneficial if you could update your answer to reflect the most recent steps necessary to accomplish this. You can look at my previous comment for that. – code_dredd Mar 22 '18 at 15:35
  • 2
    Thank you code_dredd! I added your suggestion to my original answer. Both links are working fine now: Sunday, May 5th 2019; 9:42:37 AM – v2r May 05 '19 at 08:04
  • 10 years old, and this answer went from being right, to being (slightly) wrong, back to being right again (in Ubuntu 21.10). – robm Jan 26 '22 at 02:51
  • Worked perfectly for me on Ubuntu 20.04.3 LTS, thank you! – user2279952 Jan 28 '22 at 01:00
5

enter image description hereYou can change the fontsize in the preferences menu under the fonts tab

vanjoe
  • 359
  • 1
  • 11
2

I didn't see "Text size" plugin in the list of the plugins when I opened Preferences->Plugins even after installing gedit-plugins package(via apt install) and restarting gedit few times. So, I downloaded manually the corresponding deb file(gedit-plugin-text-size_3.22.0-2_amd64.deb) from the launchpad (http://launchpadlibrarian.net/335063179/gedit-plugin-text-size_3.22.0-2_amd64.deb) for my Ubuntu 17.10 x86_64 and installed it, restarted gedit and saw "Text size" plugin thereafter in the list. Enabled it and finally got the zoom-in/out feature with mouse-scroll-wheel I much needed.

Cheers.