O truque é usar o mais recente --rotate em vez de -o , que precisa ser usado com um argumento --output :
xrandr --output "$internal" --rotate "$xrandr_rotation"
Exemplos
xrandr --output LVDS1 --rotate left
xrandr --output LVDS1 --rotate right
xrandr --output LVDS1 --rotate normal
xrandr --output LVDS1 --rotate inverted