You are not logged in.

#1 2021-02-27 09:18:45

dictionary
Member
Registered: 2021-02-19
Posts: 23

UI elements size are a mess

My screen is a 1920x1080 15.6'' , I use KDE Plasma on X11, amd open drivers installed. The manufacturer doesn't report the screen dpi, but math says it's 141.

All text and menus were really small, so I read this, this and this.
X11 was detecting a wrong screen size & dpi, so I set it correctly to 345x194 mm and now it correctly recognizes 141 dpi.
After that QT elements look decent, but I still have issues with:
-gtk apps
-some icons and mouse pointer size
-systray icons

About gtk apps, I fix Firefox website texts with the value "layout.css.devPixelsPerPx=1.46875", and menu fonts editing in ~/.conf/gtk-3.0/settings.ini the value "gtk-font-name" from "Noto Sans,  10" to "Noto Sans,  15". The problem is kde settings resets it at every boot.
Other apps like Filezilla look... ok... maybe icons are little, I don't know anymore what's normal and broken.

"export GDK_SCALE=x" does nothing. "export GDK_DPI_SCALE=x" has effect but makes things too much big now that the screen dpi is fixed. "export PLASMA_USE_QT_SCALING=1" that should fix tray icons, has no effect.

With so much confusion, I then decided to create a new temp user to see the default appearance with the fixed dpi value and you can see the result here.
To me, the bottom bar icons look giant, the mouse looks tiny and the tray icons look at the same size of the mouse. I can't be possible this is the correct default UI...

So the questions are, is there a way to fix all this mess and set the ideal Plasma sizes or do I really just need to eyeball these to my preference?
Are tray icons size editable? Is there a better way to fix Firefox fonts other than write-protecting ~/.conf/gtk-3.0/settings.ini ?

Edit: adding the variable "QT_SCREEN_SCALE_FACTORS=1.46875" now at least all QT apps look correct. Plasma system defaults don't do it, so I guess Plasma still sees a wrong dpi.

Last edited by dictionary (2021-02-27 09:58:44)

Offline

#2 2021-02-27 17:58:43

dictionary
Member
Registered: 2021-02-19
Posts: 23

Re: UI elements size are a mess

Ok forget all settings in the first post, I disabled all of them and set screen scaling at 150%. Almost everything is fixed!
I then edited the plasma panel height to my preference because it was still little... and same for the mouse pointer size.

The only thing remaining broken are Filezilla inner text.

Offline

Board footer

Powered by FluxBB