Skip to main content

Increase Ubuntu high resolution font size

I recently got a new laptop with Ubuntu 17.10 and a 14" screen. The screen is awesome and allows an awesome resolution of 1920 x 1080. However, this caused the fonts to appear very small. This small font issue was observed in,
  • Titles of the windows
  • The font  in general in several applications
  • Browser, in my case Firefox
You can do away with all the trouble by simply choosing a lower resolution. But, if you want the higher resolution minus all the font troubles, read ahead.



After several trials and techniques, I finally found solutions that worked for me.

  • Window Titles
    • Settings -> Universal Access -> Large Text
      This would increase your font size of window titles and the OS UI.
  • Applications
    • Several applications will by default show small fonts. Adjust them as per your liking using their respective preferences.
      • Kate Editor ( Version 17.04 )
        • Settings -> Configure Kate -> Fonts & Colors -> Font
          Choose the font size you prefer.
      • Konsole ( Version 17.04 )
        • Settings -> Edit Current Profile (or whichever you prefer) -> Appearance -> Font
  • Browser ( Firefox / Version 56)
    • My browser was the one giving most of the trouble, I had to zoom in everytime I loaded a page. The solution is to open
      about:config ( Type this in the URL bar of your new tab ) in your firefox. Search for 'layout.css.devPixelsPerPx'. By default it is set to '-1'. I changed it to 1.3 and that works best for me. Change the values and choose the one that best matches your requirements.

Comments

Popular posts from this blog

Formatting XML in Kate - KDE Editor

TLDR;   Kate is one awesome editor ( If you don't like Vim for its 'CLI'ness ) When working from the command line we can use a handy tool ' xmllint ' to format XML files using its --format option. But it is a tedious task to use it when you have some content in Kate ( more so if it is an unsaved file ) and want to format it. Incase, you don't have xmllint installed, simply hit sudo apt-get install libxml2-utils and that will install it for you. If you use xmllint you would do something like this, Save File ( MySavedFile.xml ) Go to Command Line cat MySavedFile.txt | xmllint --format - > MySavedFile.txt and then reload our file in Kate . If you wish to remain in Kate and get this done then you would need to do, Select text ( Complete or Partial ) Hit ' Ctrl + \ '  or go to Tools -> Filter Text Incase your Kate does not have the option for 'Filter Text' under tools, you just need to enable the 'Text F...

Formatting JSON in Kate - KDE Editor

Some years ago, I wrote a post on Formatting XML in Kate - KDE Editor . This one  below is for JSON format. Like the XML one this one also makes use of a tool installed on your machine and is invoked from Kate as a filter. TLDR;   Kate  is one awesome editor ( If you don't like  Vim  for its 'CLI'ness ) When working from the command line we can use a handy tool ' jq ' to format JSON files and pretty print them. Well, the good news is we can use the same from within Kate  as well But it is a tedious task to use it when you have some content in  Kate  ( more so if it is an unsaved file ) and want to format it. Incase, you don't have  jq  installed, simply hit sudo apt-get install jq and that will install it for you. If you use  jq  you would do something like this, Save File (  MySavedFile.xml  ) Go to Command Line cat MySavedFile.txt | jq '.' - > MySavedFile.txt and then reload our file in  Kate . If you wish t...

Setting up HMA on Ubuntu

There are variety of reasons for wanting to setup a proxy connection on your machine. Getting this done on a Windows OS is simple, with tools like HMA! ( Hide My Ass! ) However, the surprise is it is quite easy to get it done on Ubuntu as well. This is for Ubuntu 18.10, I haven't really tried on another OS but the steps would remain the same. Do note that you will need a valid HMA username and password for this to work. There are 3 ways you can connect using HMA, I chose OpenVPN. Steps: First you need to setup OpenVPN on your machine if it is not available already     sudo apt-get install network-manager-openvpn-gnome Next you need the download the certificate and VPN config files from official HMA website          Download HMA VPN Configs Here! Save it in a folder on your machine and extract it. I prefer ~/vpn_HMA/     cd ~/     mkdir vpn_HMA/ Once you have the extracted folder in p...