Is there an X11 utility to scale a window? - Desktop Customization & Workflow

Users browsing this thread: 2 Guest(s)
mcol
Nixers
(21-08-2017, 09:41 PM)Tmplt Wrote: As a hacky workaround, I could probably use xrandr(1)'s --scale option, but the less I have to mess with my monitors' alignments, the better.

Scaling to view only a subregion of the X Screen isn't ideal, because of the mentioned alignment issue, but simply changing the resolution of the output keeps everything tidy and deals with all the scaling, DPI, whatever for you:

Code:
xrandr --output eDP-1 --mode 1920x1080
game
xrandr --output eDP-1 --mode 2560x1440

Steam has a nice feature where you can modify the launch command on a per game basis, so if only some games need it (and of course, if you're using steam), a launch command equivalent to the above should do it for the games that can't use the full resolution themselves.


Messages In This Thread
RE: Is there an X11 utility to scale a window? - by mcol - 27-10-2020, 01:20 PM