this post was submitted on 18 Aug 2023
8 points (100.0% liked)

Arch Linux

7744 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

so closing the lid actually stops the wifi the bluetooth but since I am using swayidle for some reson suspending by closing the lid doesn't tell swayidle to actually show up even though pressing the shutdown button which I made it suspend for tests it actually works in the shutdown button so I am guessing this is an nvidia issue I am using nvidia-dkms not even the open ones so to mitigate this issue I though about making systemd ignore it when the lid closed and just right my own script when runs when the system suspends which is basically just systemctl suspend so any ideas

UPDATE_1: yes I wanted to add that I thoroughly checked "journalctl --system" and it was not helpful at all it seems my laptop sends an unknown key that correspends to other laptops tablet mode and that is funny since my laptop has none

well and systemd basically rfkill soft block wifi and doesn't actually enable it again when the lid is open so yeah I guess the solution I gave is fair enough I guess

all 2 comments
sorted by: hot top controversial new old