From af95999762c1fb872114efdd796c8f4a8e2d7260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4r?= Date: Fri, 21 Jun 2024 17:57:27 +0200 Subject: [PATCH] Set power button to power off --- .../includes.chroot/etc/dconf/db/local.d/00-power-button | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 os/layers/participant/includes.chroot/etc/dconf/db/local.d/00-power-button diff --git a/os/layers/participant/includes.chroot/etc/dconf/db/local.d/00-power-button b/os/layers/participant/includes.chroot/etc/dconf/db/local.d/00-power-button new file mode 100644 index 0000000..e9eefc3 --- /dev/null +++ b/os/layers/participant/includes.chroot/etc/dconf/db/local.d/00-power-button @@ -0,0 +1,5 @@ +# When power button is pressed, show power off dialog. +# The default action is suspend, but laptops can be suspended by closing the +# lid, so it's more useful if the power button does power off. +[org/gnome/settings-daemon/plugins/power] +power-button-action = 'interactive'