![]() Registered Member ![]()
|
Hi, I'm looking for the config file which controls the DPI setting of fonts in KDE 4 (Under LinuxMint12). I checked in all the places recommended here: http://www-archive.mozilla.org/unix/dpi.html , but I came up empty.
I did find the setting to switch between 96DPI and 120DPI in the SystemSettings app, but I would like to play around with a setting besides those two choices. Thanks! |
![]() ![]()
|
|
![]() Registered Member ![]()
|
Looked promising, but no DPI setting available there: <?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <match target="font"> <edit mode="assign" name="rgba"> <const>rgb</const> </edit> </match> <match target="font"> <edit mode="assign" name="hinting"> <bool>true</bool> </edit> </match> <match target="font"> <edit mode="assign" name="hintstyle"> <const>hintfull</const> </edit> </match> <match target="font"> <edit mode="assign" name="antialias"> <bool>true</bool> </edit> </match> </fontconfig> |
![]() ![]()
|
the general system dpi is contolled by xrandr and can also be set in /etc/X11/xorg.conf (this is to fix your screen dpi)
fontconfig manpage: http://freedesktop.org/software/fontcon ... -user.html i don't know which one the kde dialog affects you btw /can/ actually enter random numbers in "kcmshell4 fonts" - just the steping moves between some defaults |
![]() Registered Member ![]()
|
I have the /etc/X11 folder, but there is no "xorg.conf" file there.
It references DPI, but I can't find a DPI setting in any of the .conf files it references.
I tried that originally, and I just tried it again, but there is no mechanism to allow me to enter any value in the box; my only choices are "disabled", "96 DPI", or "120DPI". |
![]() Manager ![]()
|
re: /etc/X11/xorg.conf
xorg.conf is no longer mandatory nor always shipped but can be created, from the Fedora wiki (as an example)
|
![]() Registered Member ![]()
|
That looked promising, but when I went to create the xorg.conf file I got:
sudo: Xorg:1: command not found I know the DPI has to be set somewhere, because when I run : xrdb -query | grep dpi it returns the value I set in "kcmshell4 fonts" |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]