You are not logged in.
Hi there, I have a laptop with a second monitor on my right, I m using openbox, and I did some configurations with xrandr and add it to autostart file, everything works fine, but then I try a "permanent" configuration in /etc/X11/xorg.conf.d/10-monitor.conf, but didn't work, because now to change monitors I have to move the mouse cursor to the left instead to the right.
config file autostart xrandr, that works:
xrandr --output LVDS-1 --auto --pos 0x312 --output HDMI-1 --auto --pos 1366x0My config file /etc/X11/xorg.conf.d/10-monitor.conf, dont work:
Section "Monitor"
Identifier "LVDS-1"
Option "PreferredMode" "1366x768"
Option "Position" "1920 312"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "HDMI-1"
Option "PreferredMode" "1920x1080"
Option "Position" "0 0"
Option "RightOf" "LVDS-1"
EndSectionMy goal is do the right configuration on the 10-monitor.conf to work like is working with xrandr.
Thanks.
Last edited by Gabriel-Costa (2019-06-14 14:48:13)
Offline
Please wrap the command and file contents in "code" tags (only here) and remove the two "Position" options (on your system as well)
Online
remove the two "Position" options (on your system)
yes that almost work, now I can move the cursor to the right way but the position os the screens is not right, I want something as this.
(0,0)-----------------+
| |(1920,312)---+
| 1920 x 1080 || |
| HDMI1 || 1024 x 768 |
| || VGA1 |
+---------------------++------------+What I really want is the bottom of the screens aligned.
Last edited by Gabriel-Costa (2019-06-14 12:16:55)
Offline
Then remove the RightOf and add use the proper "Position" parameters (the ones you posted don't resemble your xrandr call at all, just use the same coordinates as in the xrandr call)
Online
Then remove the RightOf and add use the proper "Position" parameters (the ones you posted don't resemble your xrandr call at all, just use the same coordinates as in the xrandr call)
That also don't work.
Offline
Neither "that" nor "don't work" is actual information. Please post the updated config and the result.
Online
Neither "that" nor "don't work" is actual information.
Yes you are right, and I apologise for that.
I solve the problem after my last awnser to you, when I was looking to the position values in xrandr configuration, and I noticed that the values were not the same as in the /etc/X11/xorg.conf.d/10-monitor.conf file, my mistake was that I was giving the values of Arch wiki documentation, as you can see here
(0,0)-----------------+
| |(1920,312)---+
| 1920 x 1080 || |
| HDMI1 || 1024 x 768 |
| || VGA1 |
+---------------------++------------+in my file at the first time
Option "Position" "1920 312"and
Option "Position" "0 0"I should have done like this ( the same in xrandr config )
Option "Position" "0 312"and
Option "Position" "1366 0"So this is the configuration that solved the problem.
Section "Monitor"
Identifier "LVDS-1"
Option "PreferredMode" "1366x768"
Option "Primary" "true"
Option "Position" "0 312"
EndSection
Section "Monitor"
Identifier "HDMI-1"
Option "PreferredMode" "1920x1080"
Option "Position" "1366 0"
EndSectionseth thank you for your time was really helpful.
Offline