Hi,

I've came across this bug report, when dealing with the same problem on
Dell E7450 (pretty much always docked) on kernel 5.9.11.

For anyone who stumbles upon this:

button.lid_init_state=open itself wasn't satisfactory, because it left
my laptop display ON of course, making it the main one. I've took the
naive approach, as my laptop is pretty much docker all the time.


cat /etc/X11/xinit/xinitrc.d/10-lid-workaround.sh 
#!/usr/bin/bash

display_cnt=$(xrandr | grep -c " connected")
if [ $display_cnt -eq 3 ]; then
  xrandr --output DP1-1 --auto --left-of DP1-2 --output  eDP1 --off
fi


which turns the laptop display off after login, while maintaing monitor 
arrangemment I want ....display names might differ in your case.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1626689

Title:
  During boot process, system goes to sleep

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1626689/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to