Skip to content

/boot/config.txt rotate screen & mouse #3559

@greedyvegan

Description

@greedyvegan

Raspberry 4 running Debian GNU/Linux 12 (bookworm)

the directions to rotate the screen says to go to /boot/config.txt
the config.txt in boot says to go to /boot/firmware/config.txt

wlr-randr --output HDMI-A-1 --transform 90
xrandr --output HDMI-1 --rotate right
DISPLAY=:0 wlr-randr --output HDMI-1 --rotate right
xrandr --output HDMI-1 --reflect x

doesn't work, anymore

error: XDG_RUNTIME_DIR is invalid or not set in the environment.
failed to connect to display
are my results

when I rotate the screen from the pi, only the screen rotates; the cursor/mouse does not.
Left is up, up is right etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions