Bug 387845

Summary: Make it possible to modify ServerArguments
Product: [Applications] systemsettings Reporter: Peter Eszlari <peter.eszlari>
Component: kcm_sddmAssignee: David Edmundson <kde>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.11.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Eszlari 2017-12-12 22:17:42 UTC
At the moment one has to change the option "ServerArguments" in sddm.conf to make sddm scale correctly when using a HiDPI display:

[X11]
ServerArguments=-nolisten tcp -dpi 192
Comment 1 Nate Graham 2017-12-12 22:46:04 UTC
The more elegant approach would be to not need to do this song-and-dance at all; SDDM should be able to detect the DPI itself, or we should pass it along automatically.
Comment 2 David Edmundson 2017-12-12 22:49:06 UTC
>?SDDM should be able to detect the DPI it

Surprisingly complex, but yes, that's the way to go.

I'm not adding a GUI option for arbitrary command line args. If you can modify command lines you can modify a config.
Comment 3 Nate Graham 2017-12-12 22:51:05 UTC
Do we have an SDDM bug report tracking that already? Or is it imminently planned such that there's no need for one?
Comment 4 Peter Eszlari 2017-12-13 01:21:55 UTC
(In reply to David Edmundson from comment #2)
> I'm not adding a GUI option for arbitrary command line args. If you can
> modify command lines you can modify a config.

Yes, for me personally it would only be convenience. But what about novice users who are no command line experts?

Maybe instead of the whole command, just add an option for changing the DPI like the one in kcm's font config menu? (that then gets translates into the command line behind the scene)
Comment 5 David Edmundson 2017-12-13 01:24:24 UTC
>Do we have an SDDM bug report tracking that already? 

Yes.
Comment 6 Nate Graham 2017-12-13 06:26:40 UTC
> Maybe instead of the whole command, just add an option for changing the DPI like the one in kcm's font config menu?

That's basically https://github.com/sddm/sddm/issues/672

Also related: https://github.com/sddm/sddm/issues/894