How does one use xmonad with the physical screens in portrait orientation?
I have two physical displays and they are both rotated 90 degrees to the right (clockwise with original bottom edges on the left)
I'm on Fedora 21 (3.19.3-200.fc21.x86_64)
I don't know how to tell what window manager is running, but there's a gnome-shell
process running...
When I sudo telinit 3
and then startx
, xmonad comes up with everything in landscape orientation. I don't know how to change it at that point and I don't know how to make it start in portrait mode.
My .xinitrc file says this
#!/usr/bin/env bash
emacs &
gnome-terminal &
exec xmonad
Thanks in advance for any help!
Well, first of all, your window manager seems to be
xmonad
;-). Independent of that,xrandr
does what you need.Shamelessly taken from here (because SO doesn't accept duplicates from unix.stackexchange.com):
Find your output devices with
xrandr
(the first word before "connected", you should find two such lines), e.g. eDP1 if the output isand then have fun with
in your
.xinitrc
.The original answer notices that by using a NVidia card you may have to add
to your
xorg.conf
(which i cannot verify with my setup).