Yast2 startet on Plasma5 and KDE on a laptop with hidpi screen. The command is
/usr/bin/xdg-su -c /sbin/yast2
The font is really tiny and I’ve no idea how to change that. How do I get a Yast2 window with larger fonts?
Yast2 startet on Plasma5 and KDE on a laptop with hidpi screen. The command is
/usr/bin/xdg-su -c /sbin/yast2
The font is really tiny and I’ve no idea how to change that. How do I get a Yast2 window with larger fonts?
It used to be that ~/.config/Trolltech.conf could control YaST2 fonts. That doesn’t seem to work in Plasma any more.
One alternative is to raise your fonts DPI in system settings, but if only YaST2 has the font size problem, that wouldn’t be appropriate.
Another is to force current DPI upward. Prior to starting YaST2, run xrandr --dpi 180 (or some other number bigger than 96). The problem with this is it sticks through the session, so you may need to log out and back in.
If your Konsole fonts are appropriately sized, including after using Ctrl-+ to adjust them upward, then you could just run yast instead of yast2.
Installing package qt5ct and running it to size QT fonts used to be an option to control QT YaST2 that could cause negative side effects in Plasma, but it may be worth trying now several releases later. Inexplicably, it doesn’t affect the main YaST2 window font sizes, but it does each of the selectable components offered for configuration. Changes it makes are in ~/.config/qt5ct/.
Yast runs as root so may need root settings for fonts and such. Run system settings as root to set the configs in /root
are you running an Apple device?
I forgot to mention that I’m using wayland. No Mac, it’s a thinkpad. qt5ct fails with
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
I logged in as root and tried to change settings there, but to no avail. Probably yast2 is ruled by gnome settings and kde / Plasma don’t change that.
Is yast2-control-center-qt installed?
Yes, installed. In the end I solved it by »forcing« dpi to be 192 dots per inch in the systemsettings / fonts. That made the Yast2 fonts reasonably large. But I failed to find a way to directly configure the font size of Yast2.