Leap 16 Small Font Login Screen

Hi folks,

I successfully installed Leap 16 on my Dell Laptop and I love it.
The only problem i couldn’t figure out is the login screen setting. Everything is too very small.
I played unsuccessfully with all the option under Login Screen (SDDM) … like Apply Plasma Settings etc …
My current global scale display settings is at 212.5% global settings.
Fonts “force font DPI” = 200

Any idea how to get a normal font sized login screen?

See if the following helps:
https://wiki.archlinux.org/title/SDDM#Enable_HiDPI

1 Like

@henry_1:

The same here with this HiDPI monitor – 140 dpi –

 # inxi -xxx -z --graphics
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Picasso/Raven 2 [Radeon Vega
    Series / Radeon Mobile Series] vendor: ASUSTeK driver: amdgpu v: kernel
    arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports: active: HDMI-A-1
    empty: DP-1 bus-ID: 07:00.0 chip-ID: 1002:15d8 class-ID: 0300 temp: 39.0 C
  Display: unspecified server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.6
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,vesa alternate: fbdev dri: radeonsi gpu: amdgpu
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x572mm (40.00x22.52")
    s-diag: 1166mm (45.9")
  Monitor-1: HDMI-A-1 model: Idek Iiyama PL3288UH serial: <filter>
    res: 3840x2160 hz: 60 dpi: 140 size: 698x393mm (27.48x15.47")
    diag: 801mm (31.5") modes: max: 3840x2160 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: radeonsi surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.3 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon Vega 11 Graphics (radeonsi raven
    LLVM 19.1.7 DRM 3.61 6.12.0-160000.5-default) device-ID: 1002:15d8
  API: Vulkan v: 1.4.309 layers: 1 surfaces: xcb,xlib device: 0
    type: integrated-gpu driver: N/A device-ID: 1002:15d8
 #

I’ve tried various solutions and, have given up – but, I haven’t tried any of the alternative offered by the KDE Plasma “System Settings”.

  • I’m living with the tiny bottom left font size on the “Breeze for openSUSE” SDDM login screen for the moment.
    Maybe I’ll raise a Bug Report at sometime in the future …
 > cat /etc/sddm.conf.d/10-HiDPI.conf
[X11]
EnableHiDPI=true

[Wayland]
EnableHiDPI=true
 > 
 > grep -i 'HiDPI' /usr/lib/sddm/sddm.conf.d/*
/usr/lib/sddm/sddm.conf.d/00-general.conf:EnableHiDPI=true
 > cat /usr/lib/sddm/sddm.conf.d/00-general.conf 
[XDisplay]
ServerPath=/usr/bin/X
SessionCommand=/usr/etc/X11/xdm/Xsession
DisplayCommand=/usr/etc/X11/xdm/Xsetup
# No effect in 0.20.0, might change in the future again
MinimumVT=7
# boo#1089932
EnableHiDPI=true

[Users]
# boo#979775
ReuseSession=true

[Autologin]
Session=default.desktop
 > 

BTW, the Leap 16 ‘sddm.conf’ man page, doesn’t mention the section name [XDisplay]

  • Oh dear – I can feel “Yet Another Bug Report” in these old bones … :smiling_imp:

Try adding

export QT_SCALE_FACTOR=1.5
export QT_FONT_DPI=140
export QT_AUTO_SCREEN_SCALE_FACTOR=0

to /usr/etc/X11/xdm/Xsetup

@deano_ferrari:

That will increase the font size of everything – not only the small print on the SDDM login screen …

I suspect that, the better way is to change the “Breeze for openSUSE” SDDM login screen …

I tried the “Breeze”, “Elarun”, “Maldives” and “maya” SDDM login screens –

  • Only “maya” had an acceptably sized Session type selector …
  • Apart from “Breeze”, they all have only US keyboard input and, virtual on-screen keyboards – no fun trying them out …

AFAICS, one way forward will be to raise a KDE Bug Report requesting that, the “Breeze” [which is a KDE theme anyway] SDDM login screen be changed with respect to the bottom left session selector text.

Another way forward:

  • I hit the “Apply Plasma Settings…” on the KDE Plasma System Settings “Colors & Themes” → “Login Screen (SDDM)” page.
    This dropped a file named ‘kde_settings.conf’ into “/etc/sddm.conf.d/” with the following content:
[Autologin]
Relogin=false
Session=default.desktop
User=

[General]
HaltCommand=
Numlock=on
RebootCommand=

[Theme]
Current=breeze-openSUSE
CursorTheme=Oxygen_White
Font=DejaVu Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1

[Users]
MaximumUid=60000
MinimumUid=1000

The bottom left session selector text of the SDDM Login Screen is now a little bit larger and definitely more readable than what was previously there.

Yes, you can do that, but best to copy and modify the theme you are using, eg breeze6 → breeze6-hdpi