On ubuntu it is under monitors (might be a gnome thing) and you just select right or left under rotation.
I'm sure kde has something similar, but one thing to be aware of is that some monitors are specifically designed to be viewed horizontally so fonts and other things may render weird when rotated.