hello and custom Font DPI

Hi guys I’ve actually only been using openSuse for a few days now and I chose to install KDE as it is openSuse’s default DE (although in the installer it assured me that all it’s DE’s were equally supported) to give it a whirl. I’ve already had Ubuntu (with Gnome) established as my system of choice for about a year maybe and am running it on another machine.

I’ve already found openSuse’s KDE to be a lot less glitchy than Ubuntu’s implementation of it. In fact the only two glitches I’ve had yet were with the Network Manager. All in all I’m enjoying my openSuse experience so far.

My question is this: How can I set a custom font DPI setting in KDE? I know where to force it to 96 or 120 but those are the only options given to me. I was looking for 72. I’ve done this in Gnome and was hoping I could do it in KDE as well.

Thanks!

Hello and welcome to the forum :slight_smile:

For my desktop I had to manually force the DPI because otherwise the font is too small (nvidia driver). To change my DPI I edited /etc/X11/xorg.conf (the one that nvidia-xconfig created) and added under the Monitor section:


Option "DPI" "96 x 96"

Simply change 96 to whatever DPI you want. I think you can use


Xorg -configure

To generate an xorg.conf

I ran

sudo Xorg -configure

and got this

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

Please consult the The X.Org Foundation support
at X.Org Wiki - Home
for help.

OK log out and press control+alt+f1 to get to tty and log in as root. Then run:


/etc/init.d/xdm stop
Xorg -configure

Then edit xorg.conf and add DPI to monitor section from my post above


vi /etc/X11/xorg.conf

Then start X again


/etc/init.d/xdm start

Which section of the file am I supposed to add the Option line?

Oh oops nvmd I re-read your first post.

Ok plus it made my conf file as “/root/xorg.conf.new”.

I saved the “Option” line in that file but I don’t see the option in the fonts thing yet

I went back and copied “/root/xorg.conf.new” to “/etc/X11/xorg.conf” and now xorg.conf actually exists in there but I still don’t see the option in the font forcing menu

You are meant to modify the DPI line in xorg.conf to what you want your font DPI to be.

So it’s supposed to be an immediate change? Well nothing’s happened yet. Was it supposed to be “72 x 72” or “72 * 72”? Cause I did the former

try adding this line before the “DPI” line in /etc/X11/xorg.conf


Option         "UseEdidDpi" "FALSE"

then restart

Still no change…

Perhaps seeing as I needed to create xorg.conf in the first place it means that my system isn’t even using or depending on that file. Maybe we need to find a way to make the system use it or write the changes into whatever “-configure” used to create it in the first place?

Could it be, you still have DPI enabled in KDE, either to 96 or 120. Should be disabled. Then setting it to 72x72 should work.

Edit: you may have to reboot to effect the changes, or at least switch to runlevel 3, then back to 5

No it was disabled and I rebooted but not immediately. It still is disabled and I’ve rebooted a few times since then anyway.

Wait do I need to have desktop effects enabled? I’d try it right now but I broke it so I have to fix that first.