In windows I can change screen orientation by "Ctrl + Alt + Arrow" as Arrow can be up, left, down or right.
What is the shortcut on Ubuntu? thanks!
12 Answers
@Dionos's answer is good. On 13.10, I found that the correct commands to rotate are:
xrandr -o left
xrandr -o right
xrandr -o normal
xrandr -o invertedMoreover you can use builtin settings for custom shortcuts. [Windows] > type: "keyboard" > select keyboard settings ("Keyboard") > [Shortcuts] > "Custom shortcuts" > [+]. After adding you can assign a shortcut.
2There doesn't seem to be a default keyboard shortcut for this, but you could easily define one yourself. The commands for rotating the screen are:
xrandr --rotate left
xrandr --rotate normal
xrandr --rotate rightYou should be able to define your own shortcuts in the "Keyboard" application (Shortcuts tab), as explained here: How can I rotate my display in the most easy way?. If this works for you, that's great! However, I wasn't able to make it work this way.
As an alternative, you may want to delete the functions that are assigned to the keyboard combinations originally (they should be in the "Windows" section of the previous tab). After that, install a small program called "xbindkeys" to assign these keys.
sudo apt-get install xbindkeysCreate a configuration file:
gedit .xbindkeysrcand enter this inside the config file
"xrandr --rotate left"
Control+Alt + Left
"xrandr --rotate right"
Control+Alt + Right
"xrandr --rotate normal"
Control+Alt + UpHope this works out for you. You can find more info on xbindkeys online!