10

I'm running a Laptop with Arch Linux, X.org and i3. Due to a broken LCD panel, I would like to disable/ignore the left ~228 Pixels of the screen until I have time to get it repaired.

So far, I've tried using a non-standard resolution and then adding an offset, but had no success. Is there any simple solution for this?

lutoma
  • 103
  • 5

1 Answers1

7

You can use xrandr.

I have tested this breathy on a single monitor.

First look at current resolution and subtract 228 from X. Replace X and Y below for new resolutions Y=y, X=x-228. (note in the text below lower case x is a literal x). Run xrandr to get output name.

Then xrandr --fb XxY --output OUTPUT_NAME --transform 1,0,-228,0,1,0,0,0,1

ctrl-alt-delor
  • 27,473
  • 9
  • 58
  • 102