How to change the font of the SDDM Login Screen?

I want to change the font of /usr/share/sddm/themes/breeze to HarmonyOS Sans

But I cannot find the font config. My system font has all changed to Harmony Sans

Now it is this:

  1. When I open the laptop it will use the original font

which the : in 11:16 is aligned at the bottom line

  1. When I unlock the laptop it will use Harmony OS Sans

which the : in 11:17 is aligned at the middle line

And I want it to use Harmony OS Sans when opening the laptop, or whenever I get into SDDM Login screen

Open /usr/lib/sddm/sddm.conf.d/default.conf as root and there you will find a Font parameter. Change it to your liking:

Font=HarmonyOS Sans
1 Like

2 solutions:

  1. I should change the /etc/sddm.conf and add Font=HarmonyOS Sans

  2. System Settings >> Startup and Shutdown >> Login Screen (SDDM) >> Apply Plasma Settings

I use this font because I like its Clock Font Features

HarmonyOS Boldface supports clock font features. For example, the colon format is automatically adjusted based on the time format.

I find these in man sddm.conf

FILES
       /usr/lib/sddm/sddm.conf.d
              System configuration directory

       /etc/sddm.conf.d
              Local configuration directory

       /etc/sddm.conf
              Local configuration file for compatibility

and it say that:

Font=  Name of the font to be set before starting the display server. Please note that the theme can still override this option.

I use KDE Plasma Breeze Theme

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.