folgende Spielerei:
Ich habe einen physischen Bildschirm mit 1920x1080 Pixeln und verdopple meinen virtuellen Desktop in der Höhe:
Code: Alles auswählen
xrandr --output eDP-1 --mode 1920x1080 --fb 1920x2160 --panning 1920x2160
Genau dieses Scrollen möchte ich unterbinden. Ich möchte, dass der Bildschirm immer den selben Ausschnitt des Desktops anzeigt. Der Cursor soll sich aber (dann teils unsichtbar) auf dem gesamten Desktop bewegen können.*
Die --panning-Option kennt noch "track"- und "border"-Parameter, die mir hier aber offenbar nicht helfen:
Das Setzen von "border_bottom" verhindert jedenfalls nicht das Scrollen:--panning widthxheight[+x+y[/track_widthxtrack_height+track_x+track_y[/border_left/border_top/border_right/border_bottom]]]
This option sets the panning parameters. As soon as panning is enabled, the CRTC position can change with every pointer move. The
first four parameters specify the total panning area, the next four the pointer tracking area (which defaults to the same area). The
last four parameters specify the border and default to 0. A width or height set to zero disables panning on the according axis. You
typically have to set the screen size with --fb simultaneously.
Code: Alles auswählen
xrandr --output eDP-1 --mode 1920x1080 --fb 1920x2160 --panning 1920x2160/1920x2160+0+0/0+0+0+1080
--pos xxy
Position the output within the screen using pixel coordinates. In case reflection or rotation is applied, the translation is applied
after the effects.
Code: Alles auswählen
xrandr --output eDP-1 --mode 1920x1080 --fb 1920x2160 --panning 1920x2160 --pos 0x1080
*) Hintergrund: Die unsichtbare Hälfte des Desktops stelle ich per VNC auf einem anderen Rechner dar, um so Multimonitorbetrieb ohne zweiten Monitor, aber mit zweitem Rechner umzusetzen:
Code: Alles auswählen
x11vnc -display :0 -clip 1920x1080+0+1080