I just installed i3wm and it switches my 2 displays from extended to mirrored. 
In effort to fix this, I wrote a simple script called rc.local containing the 
following commands:

xrandr --output DP-1 --auto
xrandr --output VGA-1 --right-of DP-1
xrandr --output VGA-1 --mode 1920x1080

The script works fine when I execute it manually from the terminal (I've 
already done chmod+x). However, at the end of my /etc/i3/config file i added 
the line:

exec /etc/rc.local

I added this line to automatically run the script when i reboot my computer but 
for some reason it doesn't work. I've tried it with single and double quotes as 
well as exec_always and --no-startup-id but nothing seems to work. Any ideas 
how I can get this working? I've also tried putting the commands directly into 
the config without calling the script but that didn't work either. Even echo 
test >> /tmp/testfile didn't output anything. Any ideas would be much 
appreciated, thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b44ebe1a-19cc-4ac7-a37b-679418280f88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to