I’m trying to rotate my HyperPixel 4.0 Screen to be in landscape mode with the power on the Raspberry Pi 4 on the bottom of the screen.
Currently it is stuck in the default portrait mode and won’t rotate.
I’ve edited the boot/config.txt file to amend:
display_rotate=1(display_rotate did not exist on a line before I added it if that matters??)
Next I used:
I got the following error:
Can’t open display
Traceback (most recent call last):
File “”, line 3, in
ImportError: No module named screenlayout
Setting matrix: 0 -1 1 1 0 0
usr/bin/hyperpixel4-rotate: line 10: xinput: command not found
Saving touch settings to /etc/udev/rules.d/90-hyperpixel4-calibration.rules
Any help would be appreciated.