Bug 399243 - Ability to set display scale factor programmatically
Summary: Ability to set display scale factor programmatically
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: git
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-30 13:11 UTC by Luca Allulli
Modified: 2022-11-08 20:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

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