I'm running Ubuntu 14.04 LTS trusty on a Dell Dimension M6500 and try to get 2 monitors automatically positionned.
Graphic card: Quadro FX 2800M NVIDIA Driver Version:331.38
I put the line
xrandr --output DP-0 --left-of LVDS-0
which works as a command line in various files: .profile, .xsession, .xinitrc, /etc/X11/Xsession.d/45custom_xrandr-settings
put a sleep 2 before, tried to launch it via batch
the lines
xrandr -q >> xrandr.log xrandr --output DP-0 --left-of LVDS-0& xrandr -q >> xrandr.log
work in the .profile file and show that the re-positionning occured but went back before I can see anything !
Any ideas ?
I know this is a bit old, but I found this post while looking for the solution myself, so I thought I'd help.
Make a script called
setup_monitors
in/usr/bin/
and dosudo chmod +x /usr/bin/setup_monitors
Add this to
setup_monitors
Then in your
/etc/lightdm/lightdm.conf
add the following:Restart your desktop environment (logout/restart computer), and it should work.