Fix for menu font size in LibreOffice
April 12, 2021 —
BarryK
This morning posted how LibreOffice was compiled in EasyOS:
https://bkhome.org/news/202104/how-to-compile-libreoffice-in-easyos.html
...and mentioned that menu font size is a bit small.
Well, that is the case for all gtk+3 applications, compared with
gtk+2 apps. The reason is, Easy is released with a theme set for gtk+2
apps, but no theme set for gtk+3 apps. So gtk+3 apps use the default
theme built-in to gtk+3.
Currently, the file /root/.config/gtk-3.0/settings.ini has this in it:
[Settings]
gtk-theme-name =
# ref: https://bkhome.org/news/202010/oe-gcc-target-default-commandline-options.html
gtk-primary-button-warps-slider = false
...no theme specified. The default gtk+2 theme has font "DejaVu Sans 12", so have appended this to settings.ini:
gtk-font-name = DejaVu Sans 12
That does the trick. Ideally though, should have a theme that matches the one chosen for gtk+2.
Tags: easy