You are not logged in.
Pages: 1
Hello,
Im using Deepin DE, and i have problem with my display.
Im using laptop, i want to disable my second display (VGA-1-2).
Im using autostart .desktop
[Desktop Entry]
Type=Application
Exec="xrandr --auto && xrandr --output VGA-1-2 --off"
But still, this VGA-1-2 always turn on when im reboot my laptop.
How to fix it?
Thanks!
Last edited by axytric (2018-03-11 22:47:52)
Offline
Is the autostart service executed at all? (Replace the xrandr call w/ sth. that echos into /tmp/test.log or so)
Offline
Okay, this issues fixed by add new config disable-vga.conf ( /usr/share/X11/xorg.conf.d/disable-vga.conf ).
Section "Monitor"
Identifier "VGA-1-2 monitor"
Option "ignore" "true"
EndSection
Section "Device"
Identifier "onboard"
Option "Monitor-VGA-1-2" "VGA-1-2 monitor"
EndSection
Offline
Pages: 1