EDIT: I changed the topic, since I am now trying to configure xrandr to do what I want. Look at post #3
.
I need to start two instances of (at least) “mate-session” and “mate-panel” for dual monitor setup. (Need two separate desktops). This is because having separate x screens running.
Where is the script (or similar) that starts up these? I can not find, and Google does not help me.
Directions on the second link were partially wrong, but it was a good start
Here is what I have now:
xrandr --auto --output DP-0 --left-of DVI-D-0
but it gives error
warning: output DP-0 not found; ignoring
Also in the display I am using xrandr does not see DP-0 display, only way it sees it is to type:
DISPLAY=:0.1 xrandr
Anyone have idea how do I make a setting that is referred to second monitor?
Here is detailed info of those command and outputs:
when typing:
xrandr
it gives me following output:
Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 32767 x 32767
DVI-D-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 59.95*+ 59.88
1680x1050 59.95
1600x1200 60.00
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
but typing:
DISPLAY=:0.1 xrandr
it gives this output:
Screen 1: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080 60.00*+ 59.94 50.00 60.05 60.00 50.04
1680x1050 59.95
1600x1200 60.00
1440x900 74.98 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94
Btw, does it matter that I am using GTX 1050 and Nvidia proprietary driver, and set it to separate x screen? I think not, but but…
EDIT: this does not work: xrandr --auto --output DISPLAY=:0.1 DP-0 --left-of DVI-D-0