second monitor doesn't work with laptop lid closed
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
second monitor doesn't work with laptop lid closed
I have a laptop setup with 2 external monitors. Both monitors are daisy chained via DP and then to my laptop via USB-C.
I have setup in display setting to disable laptop display, Monitor 1 primary, Monitor 2 secondary. If I have my laptop's lid open, it's display is shut (normal), and both monitors work. As soon as I close the lid, Monitor 1 is the only one on. I go to display settings, I see Monitor 1 only, not the second at all.
Manjaro GNOME | kernel 5.0 and also tried with 4.20
AMD Ryzen 2500U cpu and Vega 8 gfx.
I have a laptop setup with 2 external monitors. Both monitors are daisy chained via DP and then to my laptop via USB-C.
I have setup in display setting to disable laptop display, Monitor 1 primary, Monitor 2 secondary. If I have my laptop's lid open, it's display is shut (normal), and both monitors work. As soon as I close the lid, Monitor 1 is the only one on. I go to display settings, I see Monitor 1 only, not the second at all.
Manjaro GNOME | kernel 5.0 and also tried with 4.20
AMD Ryzen 2500U cpu and Vega 8 gfx.
You might check.
Gnome systemd_logind has options to disable the interpretation of the switch.
I found it for ubuntu - and found it on Fedora. There may be some other options you might want to tweak as well.
The file on Fedora was /etc/systemd/logind.conf. On Fedora the file is loaded with the options (commented out) that are supposed to be the default values.
Gnome systemd_logind has options to disable the interpretation of the switch.
I found it for ubuntu - and found it on Fedora. There may be some other options you might want to tweak as well.
The file on Fedora was /etc/systemd/logind.conf. On Fedora the file is loaded with the options (commented out) that are supposed to be the default values.
This is what I'm getting:
Code:
sudo /etc/systemd/logind.conf
sudo: /etc/systemd/logind.conf: command not found
sudo /etc/systemd/logind.conf
sudo: /etc/systemd/logind.conf: command not found
It is a configuration file. Not an executable. you edit it.
On my system it has:
Code:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
There are three "HandelLidSwitch*" entries. I set them to "ignore".
You might change them one at a time to see if it does what you want.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.