When i start my Ubuntu its connected to my monitor. How can i always default start in rotate mode? (not the default one that we use daily). I was trying to make it -90 or -180 or -45 but cant make it yet.
I've come across a script that does what you want to do:
#!/bin/sh rotation=`xrandr -q | grep "Current rotation" | cut -d"-" -f2` if [ $rotation = "normal" ] ; then xrandr -o left <-------- change it to whatever you want else xrandr -o normal fi
- Simply save these lines in a file and make it executable. The script simply checks for the current rotation mode. If it’s normal then it sets it to left, otherwise it sets it to normal. (note that to use this script, you must have the RandR extension and your video driver must support it).
As you can see you can change just those values to fit your needs.
Or just type this:
xrandr -o orientation <------- where "orientation" is left, right, normal, etc.