rotate.sh
· 222 B · Bash
Orginalformat
# https://bbs.archlinux.org/viewtopic.php?id=94059
# monitor rotated 90 degrees clockwise
echo 3 > /sys/class/graphics/fbcon/rotate_all
# monitor 90 degrees counter clockwise
echo 1 > /sys/class/graphics/fbcon/rotate_all
1 | # https://bbs.archlinux.org/viewtopic.php?id=94059 |
2 | |
3 | # monitor rotated 90 degrees clockwise |
4 | echo 3 > /sys/class/graphics/fbcon/rotate_all |
5 | |
6 | # monitor 90 degrees counter clockwise |
7 | echo 1 > /sys/class/graphics/fbcon/rotate_all |