Bug 399243

Summary: Ability to set display scale factor programmatically
Product: [Plasma] KScreen Reporter: Luca Allulli <l.allulli>
Component: commonAssignee: Sebastian Kügler <sebas>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: nate
Priority: NOR    
Version: git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luca Allulli 2018-09-30 13:11:42 UTC
It would be nice to be able to programmatically modify the display scaling factor, e.g. via a D-Bus message or running a script.

Possible applications include:
- creating several SDDM configurations, in order to start a Plasma session with a scaling factor that depends on the connected monitor
- modifying scaling factor "on the fly", by running a script, when you switch to a different monitor, etc.

Thank you!
Comment 1 Nate Graham 2022-11-08 20:25:26 UTC
You can do this with `kscreen-doctor`.