Skip to main content
Topic: Cropping off pixels in xrandr. (Read 403 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Cropping off pixels in xrandr.

I want to use a  stretched 1920x1080 resolution with some vertical litterboxing, or black bars.

I know I can do it using --transform option, but it cuts off the sides, and as far as I could find out, you can only cut out the sides with --transform.

The command I used, just in case I did it the wrong way; I'm not sure how to use it.

xrandr --output eDP1 --mode 1920x1080 --transform 1,0,-30,0,1,0,0,0,1


Re: Cropping off pixels in xrandr.

Reply #2
I still have the same issue, I'm either cropping the sides, or cropping too much. It could be that I don't know what those values present.

I'm on a laptop, and want to use a lower resolution, and litterboxing like vertical black bars.

 

Re: Cropping off pixels in xrandr.

Reply #3
Oh okay, you have one of those laptop panels that stretches the picture.
It could be that when you don't crop the sides the panel aligns everything to the left, at least on thinkpads it does this, so you'd have to offset that too, it's all documented so just look for it and you'll get it done.
Also I had better luck before setting nonstandard resolutions in framebuffer mode, but this wasn't in a conventional desktop so I don't know how to help you here.