You are not logged in.
I'd like to increase the default font size on my Pinebook 1080P running Openbox.
If I try with xrandr, I get this error:
adminq@pinebook1080p:~$ sudo xrandr --dpi 96
[sudo] password for adminq:
xrandr: Failed to get size of gamma for output default
adminq@pinebook1080p:~$
Is there a way?
Last edited by jschall (2018-12-08 23:07)
Offline
I think this post might help.
Offline
It's recommended to change fonts size for HiDPI screens globally, see example below to set 144 dpi:
$ sudo sh /usr/share/apps/q4os_system/bin/dpi_set.sh 144
You can also change icons sizes, you will find that in Control panel > Appearance a themes > Icons > Advanced tab
Offline
Thank you for that, @q4osteam.
adminq@pinebook1080p:~$ sudo sh /usr/share/apps/q4os_system/bin/dpi_set.sh 144
[sudo] password for adminq:
old args: -dpi 150 -nolisten tcp
new args: -dpi 144 -nolisten tcp
adminq@pinebook1080p:~$
Does that look right?
I rebooted. No apparent difference.
Should the dpi argument be less or more, to say, double the font size?
Last edited by jschall (2018-12-06 14:54)
Offline
DPI value is proportional to font size, higher value increases the size. Nonetheless the command mentioned "dpi_set.sh" is applicable for Trinity desktop only.
Offline
So, how can I increase the font size while running Openbox?
Offline
I found a solution.
I edited the file ~/.X resources, un-commenting the line !Xft: 96 and changing to 144:
adminq@pinebook1080p:~$ cat .Xresources
! render setting for cairo -> pango -> gtk
Xft.dpi: 144
! Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
adminq@pinebook1080p:~$
Offline