change landscape to portrait in ubuntu code example Example: set ubuntu display landscape xrandr -o normal xrandr -o left xrandr -o rigth