How do I reduce the font size on tabs in Chrome in Ubuntu?
Solution 1:
Click with the right button of mouse on the Chrome shortcut and "Properties".
Use this: chromium-browser --force-device-scale-factor=0.5
Now you can scale whatever you want, even bigger shit like factor=2 :D
Solution 2:
From here: https://productforums.google.com/forum/#!topic/chrome/GCd_JxQ33cU
I found something of a workaround for my own system. You probably know about your
~/.Xdefaults
file, Well, it turns out there is a default value that helps. Modify the file, and reload using the commandxrdb -load ~/.Xdefaults
. Then restart Chrome browser, and, -- voila -- the tab font got larger. The lines I added are as follows:!! Xft settings help the problem with small font in google chromium tabs! !! Xft.dpi: 96 is the setting that makes the tab font larger Xft.dpi: 96 Xft.antialias: true Xft.rgba: rgb Xft.hinting: true Xft.hintstyle: hintslight
I found the above in a thread where people were talking about improving the appearance of fonts in chrome on Linux, and discovered that the 96dpi setting has the side-effect of increasing the font size on the tabs. I should say that I am NOT a font expert, so I cannot guarantee this will work on any system (possible depending on what fonts you have installed?), but I'd say it is quick and worth a try.
Solution 3:
For window managers that do not handle the font settings correctly, you can use your ~/.Xdefaults
file. Set Xft.dpi
to e.g. 96
:
Xft.dpi: 96
And issue the command xrdb -merge ~/.Xdefaults
. Then restart your browser to see the effects of the settings. Tweak the dpi
value until you are satisfied.