You are not logged in.
I have this xorg config file:
➜ cat /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "eDP-1"
Option "LeftOf" "HDMI-1"
Option "Ignore" "true"
EndSection
Section "Monitor"
Identifier "HDMI-1"
VendorName "LG"
ModelName "24UD58"
Option "RightOf" "eDP-1"
Option "DPMS" "true"
Option "Primary" "true"
EndSectionBut I want It to be applied only when I have the HDMI-1 connected. Is It possible? I have not seen anything related to this in the wiki
Last edited by karlospv94 (2017-07-27 13:29:27)
Offline
Assuming you're not running a DE that provides likewise functionality, you could go for https://keithp.com/blogs/x-on-resize/ and a script that queries "xrandr -q | grep "HDMI-1 connected" to know whether to "xrandr --output eDP-1 --auto" or "xrandr --output eDP-1 --off" (this assumes you want to toggle the screens, right?)
Offline
Is this of any use?
Offline
I finally managed it with the KDE interface. Even so, it should be great to configure the primary monitor before login. I have being looking for it in https://wiki.archlinux.org/index.php/SDDM but it doesn't seem possible.
Offline
From https://wiki.archlinux.org/index.php/SD … te_display follow the link to https://wiki.archlinux.org/index.php/Xr … figuration and look into the gree box and below ;-)
Offline
From https://wiki.archlinux.org/index.php/SD … te_display follow the link to https://wiki.archlinux.org/index.php/Xr … figuration and look into the gree box and below ;-)
True, thanks! I didn't see it...
Offline