Bug 387845 - Make it possible to modify ServerArguments
Summary: Make it possible to modify ServerArguments
Status: RESOLVED INTENTIONAL
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (show other bugs)
Version: 5.11.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-12 22:17 UTC by Peter Eszlari
Modified: 2017-12-13 06:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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