Increase Netbeans font size on Linux

This is one of many annoying problems you will have on many operating systems with older applications that aren’t necessarily “old” as in not updated any more, but just so old they were around before 4k was really something to be concerned with. Netbeans is still my go to web development IDE.  After trying several others I just find it the simpliest and most reliable.  I can get all my projects going and have downloaded existing sources and just keep a local copy in sync with the server copy.  It makes a lot of sense and in the event of corruption, version control, or hardware failure I have multiple backups.  It really makes a lot of sense to have local backups of your clients sites if at all possible.

Here is just a quick post on how to fix this issue on Linux.  In your netbeans.conf file located in your Netbeans directory inside the /etc  folder you need this command for the secret sauce.  Obviously change the font size to your preference.  On Kubuntu I use umake so my Netbeans directory was located in

/home/$USERNAME/.local/share/umake/ide/netbeans/etc/netbeans.conf

That may work for you, if not just search in the normal places.

netbeans_default_options=”–laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd -J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true –fontsize 24″

Published by

Ryein C. Goddard

I'm a programmer, auto hobbyist, gardener, father, husband, futurist and Linux enthusiast. I really like PHP for web development using laravel. For desktop/mobile development I like Qt. I also use Python for desktop scripting tasks. I am from the United States and currently live in South East Georgia, or better known as the Florida Georgia line.