I have a laptop with a broken 13 inch display. The left half of the display is completely black and I cant’s fix it for now. I was wondering if it’s possible to write a program in any language to limit the display to the right, that means either:
-
Changing the resolution to have half of the width it currently has or
-
Keep the aspect ratio but zoom out the display and send it to the right.
I am preferably looking for a method that can be used in Linux (Windows will be in second priority)
The language is not an issue (though I am assuming C++ would be the way to go) and I’m looking for some hints.
Thanks in advance.
You can change resolution using xrandr Linux command.