Can I make a shortcut to toggle display scaling percentage? (Plasma Desktop)

I am running Fedora KDE. I generally use 150% scaling. When I am using game streaming like Boosteroid or GeForce Now, I want to set that to 100%.

Is there an easy way to configure a "toggle" for this? Is there a shell command for example that I could turn into a script?

19 points · 3 comments · view on lemmy.world

3 Comments

oopsallnaps@piefed.ca · 7 pts · 1y (2 replies)

I'm not at a computer atm, but I believe you can use kscreen-doctor to do that. It exposes pretty much all of kdes display settings.

Ephera@lemmy.ml · 5 pts · 1y

Yep, apparently this works, for example, to set the scaling to 150% on monitor 1:

kscreen-doctor output.1.scale.1.5
raptir@mander.xyz · 2 pts · 1y

Thank you, this is it!