stockmind / dell-xps-9560-ubuntu-respin

Collection of scripts and tweaks to adapt Ubuntu and Linux Mint ISO images to let them run smooth on Dell XPS 15 9560.
345 stars 155 forks source link

Disable suspend on lid close #15

Open ahmedatawfik opened 6 years ago

ahmedatawfik commented 6 years ago

Hi Guys,

I now have Ubuntu 18.04 on my Dell XPS 9560 and it's working fine.

One of the problems that I currently have is that I am unable to stop the laptop from sleeping when I close the lid, e.g. when I have an external screen connected or docking station.

Any idea how this can be done?

damageboy commented 6 years ago

I've failed so far in getting this to work through /etc/systemd/logind.conf although there are settings for this there.

But I can make it work by closing the lid while not connected, then connecting the docking station power cable

breakanalysis commented 6 years ago

does it still occur if chosing external monitor as primary one before closing lid?

ahmedatawfik commented 6 years ago

Yes, it doesn't occur only if I totally disable the laptop's display.

Kind Regards / مع تحياتي

أحمد عمرو Ahmad Amr

On Thu, Jun 28, 2018 at 9:04 PM breakanalysis notifications@github.com wrote:

does it still occur if chosing external monitor as primary one before closing lid?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stockmind/dell-xps-9560-ubuntu-respin/issues/15#issuecomment-401122973, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVcV1bNifon-8uP4Pq_bZIA7PbyxsW7ks5uBRqjgaJpZM4UP2n7 .