I've tried numerous methods of getting the following commands to run at startup
xrandr --output DFP10 --rotate left
xrandr --output DFP11 --right-of DFP10
This is necessary because my left monitor is portrait. When I launch Ubuntu Gnome 14.04.2,it sets DFP10 (the portait monitor which is on the left) to be on the right, and does not rotate it to portait).
I have tried putting a script in /etc/rc.local & usr/share/applications, adding the command to startup applications in the form: xrandr --output DFP10 --rotate left && xrandr --output DFP11 --right-of DFP10.
None of these work. Yet, I know that the commands work, if I run them myself in terminal.
Here's some background the situation, that i think might be relevant:
I'm definitely not an expert on this. I know that there a bunch of different config files for editing display options. xorg.conf, xorg.conf~ (a backup), xorg.conf.fglrx-0 and xorg.conf.fglxr-0~ (backup) all exist within /etc/X11 but editing them does not solve my problem.
The situation involving the display driver is fairly complex. I'm running the latest fglrx-updates on my AMD R9 280X, which took some work... I have used a workaround for installing the driver on 14.04.2 (necessary due to bug with LTS Enablement Stacks)
TLDR; how do I make this: xrandr --output DFP10 --rotate left and this xrandr --output DFP11 --right-of DFP10 run at startup?
thanks in advance