From 7768d84c5632309c402d824beda428dc1d49eb2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4r?= Date: Sat, 22 Jun 2024 15:46:40 +0200 Subject: [PATCH] Set power button also for gdm --- .../includes.chroot/etc/dconf/db/gdm.d/00-power-button | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 os/layers/training-installer/includes.chroot/etc/dconf/db/gdm.d/00-power-button diff --git a/os/layers/training-installer/includes.chroot/etc/dconf/db/gdm.d/00-power-button b/os/layers/training-installer/includes.chroot/etc/dconf/db/gdm.d/00-power-button new file mode 100644 index 0000000..e9eefc3 --- /dev/null +++ b/os/layers/training-installer/includes.chroot/etc/dconf/db/gdm.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'