On Friday, January 13, 2017 at 12:41:20 AM UTC-6, John Smith wrote:
> 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.

Have you tried placing it in /rw/config/rc.local?

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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to