SDDM and hidpi.conf

On EndeavourOS with Plasma Desktop SDDM doesn’t have hidpi enabled by default. This means that you have to create file hidpi.conf into /etc/sddm.conf.d/ with these settings to get it work correctly:

[Wayland]
EnableHiDPI=true

[X11]
EnableHiDPI=true

And if using Wayland, add this to the end of .conf file you created:

[General]
GreeterEnvironment=QT_SCREEN_SCALE_FACTORS=2,QT_FONT_DPI=192

Be noted, that on QT_SCREEN_SCALE_FACTORS number defining scale factor MUST be in in form 1, 1.75, 2 etc. and NOT in hundreds like 175, because this creates greeter in colossal size that’s unusable.

Hope this helps. :slightly_smiling_face:

And if I have messed up something, give me heads up so I’ll fix it here. :slightly_smiling_face:

2 Likes

Anyone tested this ?

Me :grin:

At least on my machine it works. :slight_smile:

I am using this config (with the right values for me) for a few months now.
Also this for the fonts in grub.

1 Like

I’m using this as @Dinomonster described and it works perfect for my laptop.
It should be noted that without the HiDPI.conf, the system applies the Hi-DPI settings from the system for subsequent screen lock/unlock sleep/wake instances (at least on mine), but adding the HiDPI.conf file forces those settings for the first login after restart…which is nice.
Thanks!

1 Like

For what screen resolution ? i have 2560x1440

Scale is defined by these. :slight_smile:

Yes so which one would fit best ? Is there a way to fast test this ?

I have nearly same resolution as you and use 1.75 and that “default” DPI.

I don´t see any difference, i just rebooted with the settings posted in post 1. :sweat_smile:

Edit: It’s only for the login screen ? i boot my OS without login screen.

1 Like