View previous topic :: View next topic |
Author |
Message |
SemmZemm n00b
Joined: 05 Jul 2013 Posts: 62 Location: France, Russia
|
Posted: Fri Nov 28, 2014 8:13 pm Post subject: nvidia-optimus+xrandr+xfce: how to cfg multihead [SOLVED] |
|
|
Hi,
I have a laptop with optimus videocard configured with randr.
Here is my .xinitrc
Code: | #!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
startxfce4 |
It worked until I wanted to connect an external screen.
With external screen I can see terminal.
If the screen is connected before I execute "startx" I see the same picture on both screens.
But when I try to modify my .xinitrc like this:
Code: | #!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --output LVDS-1-0 --auto --output VGA-1-0 --auto --left-of LVDS-1-0
startxfce4 |
both screens are black. What do I do wrong?
Last edited by SemmZemm on Sun Nov 30, 2014 2:10 pm; edited 1 time in total |
|
Back to top |
|
|
SemmZemm n00b
Joined: 05 Jul 2013 Posts: 62 Location: France, Russia
|
Posted: Sun Nov 30, 2014 2:10 pm Post subject: |
|
|
solved changing XFCE settings:
Applications > Settings > Settings Manager > Display. Check on and check off "Mirror display" checkbox. |
|
Back to top |
|
|
|