power button behavior
This commit is contained in:
@@ -630,3 +630,33 @@ In order to restore the correct state of the fprintd service if you disconnect/r
|
||||
`sudo systemctl enable laptop-lid.service`
|
||||
|
||||
Now the status should be correct even after connecting/disconnecting when the computer is off.
|
||||
|
||||
## Wifi Connection
|
||||
|
||||
Check wifi connection information
|
||||
|
||||
```bash
|
||||
iw wlp170s0 info
|
||||
```
|
||||
|
||||
Edit connection info (for example, force 5GHz)
|
||||
|
||||
```bash
|
||||
nm-connection-editor
|
||||
```
|
||||
|
||||
## Power Button Behavior
|
||||
|
||||
The power button is controlled from 2 locations:
|
||||
|
||||
1. DCONF (or gnoem settings) at `gnome.settings-daemon.plugins.power`
|
||||
2. ACPI at /etc/acpi/events/powerconf
|
||||
|
||||
The powerconf acpi configuration will execute at the same time the gnome settings do.
|
||||
This can lead to situations where the gnome settings say "suspend" but the acpi settings
|
||||
say "shutdown". On waking up your laptop it will immediately shutdown.
|
||||
|
||||
The solution is to comment out everything in /etc/acpi/events/powerconf and rely on the
|
||||
gnome settings **OR** set the gnome settings to "nothing" and edit
|
||||
`/etc/acpi/actions/power.sh` with the behavior you expect. Either way you should pick
|
||||
one to control power button behavior.
|
||||
|
||||
Reference in New Issue
Block a user