Bug 351826

Summary: KScreen turns off external screen when lid is closed
Product: [Plasma] KScreen Reporter: Heiko Tietze <tietze.heiko>
Component: kdedAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, kde, sebas
Priority: NOR    
Version: 5.4.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 353029    
Attachments: sudo journalctl -xe ... lid action ... copy/paste
xrandr -q > xrandr.txt

Description Heiko Tietze 2015-08-26 20:10:31 UTC
Notebook with external monitor, lid close -> both displays go off (powerdevil set properly)
kscreen2 stopped in system settings and lid close -> external display remains on

from journalctl:
Aug 26 21:44:46 Venus systemd-logind[438]: Lid closed.
...
Aug 26 21:44:47 Venus systemd-logind[438]: Lid opened.
(lid was kept closed for at least a couple pof seconds)

Reproducible: Always

Steps to Reproduce:
Close lid
Switch kscreen off
Close lid


Actual Results:  
Both displays go off

Expected Results:  
External monitor remains on
Comment 1 Heiko Tietze 2015-08-26 20:11:47 UTC
Created attachment 94233 [details]
sudo journalctl -xe ... lid action ... copy/paste
Comment 2 Kai Uwe Broulik 2015-08-26 20:19:09 UTC
We disabled the KScreen kded module and the problem went away.

"Lid closed without system going to suspend -> turning off the screen"

It seems the external monitor is recognized as Panel and so KScreen turns it off. Please provide the output of xrandr -q
Comment 3 Heiko Tietze 2015-08-26 20:26:07 UTC
Created attachment 94234 [details]
xrandr -q > xrandr.txt

kscreen restarted, lid opened but get the same result with lid closed and stopped
Comment 4 Heiko Tietze 2015-08-26 20:27:20 UTC
Maybe important: external monitor is connected via d-sub cable; dvi cable attached (to old PC) but not active (i.e. off).
Comment 5 Heiko Tietze 2015-09-22 06:52:08 UTC
It depends on the what side the notebook is placed. The issue here does not occur when it is placed to the right of the TFT display. However, shuting down the system with lid closed switches the enabled state off in KScreen. Will file another bug report.
Comment 6 David Edmundson 2016-07-10 21:26:22 UTC
kscreen_console bug

provides better output. Please include that when you're running kscreen with the bug
Comment 7 Sebastian Kügler 2016-08-19 11:05:12 UTC

*** This bug has been marked as a duplicate of bug 367490 ***