You are not logged in.

#1 2018-03-11 14:27:58

axytric
Member
From: Indonesia
Registered: 2018-03-10
Posts: 5
Website

[SOLVED] Display always reset

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

#2 2018-03-11 15:23:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,857

Re: [SOLVED] Display always reset

Is the autostart service executed at all? (Replace the xrandr call w/ sth. that echos into /tmp/test.log or so)

Offline

#3 2018-03-11 22:46:49

axytric
Member
From: Indonesia
Registered: 2018-03-10
Posts: 5
Website

Re: [SOLVED] Display always reset

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

Board footer

Powered by FluxBB