8

ラップトップの画面の上部が壊れており、1600x82 の長方形内で何も表示できません。

Wayland/XWayland で仮想画面を変換して、モニターの可視領域のみを使用することはできますか?

xrandr を使用して、X でソリューションをハックすることができました。

#!/bin/sh

xrandr --newmode "1600x818_60.00"  107.33  1600 1688 1856 2112  818 819 822 847  -HSync +Vsync
xrandr --addmode eDP1 1600x818_60.00
xrandr --output eDP1 --fb 1600x818 --panning 1600x818 --mode 1600x818_60.00

# Yes this is hacky, but it's necessary to work around xrandr weirdness
sleep 1
xrandr --fb 1600x818 --output eDP1 --mode 1600x900 --transform 1,0,0,0,1,-82,0,0,1

ただし、Wayland でもこれを実行できるようにしたいと考えています。

4

0 に答える 0