aboutsummaryrefslogtreecommitdiffci
path: root/root/tmp/SayaAndy
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-08-04 15:00:48 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-08-19 20:25:00 +0700
commit935707ec3e1627a5d080d8d4ba7e2e7bebe0f880 (patch)
tree3bb855acb1063f160c80ac2eab16f4af046cd73c /root/tmp/SayaAndy
parent61bdf88b3f2845fd113c91d7c1c371bfda3f2ae7 (diff)
downloadkiwi-descriptions-935707ec3e1627a5d080d8d4ba7e2e7bebe0f880.tar.gz
kiwi-descriptions-935707ec3e1627a5d080d8d4ba7e2e7bebe0f880.zip
fix: switch suspend to interactive on power button press in gnome
session fix: switch 'deep' suspend to 's2idle'
Diffstat (limited to 'root/tmp/SayaAndy')
-rw-r--r--root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-power-button2
-rw-r--r--root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/profile/user2
-rw-r--r--root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/kernel/cmdline2
-rw-r--r--root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/systemd/logind.conf.d/60-surface-power-key.conf2
4 files changed, 7 insertions, 1 deletions
diff --git a/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-power-button b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-power-button
new file mode 100644
index 0000000..1b69eab
--- /dev/null
+++ b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-power-button
@@ -0,0 +1,2 @@
+[org/gnome/settings-daemon/plugins/power]
+power-button-action='interactive'
diff --git a/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/profile/user b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/profile/user
new file mode 100644
index 0000000..aca0641
--- /dev/null
+++ b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/profile/user
@@ -0,0 +1,2 @@
+user-db:user
+system-db:local
diff --git a/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/kernel/cmdline b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/kernel/cmdline
index 9479627..5b92d02 100644
--- a/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/kernel/cmdline
+++ b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/kernel/cmdline
@@ -1 +1 @@
-rootflags=subvol=root clk_ignore_unused pd_ignore_unused systemd.tpm2_wait=0 rhgb quiet
+rootflags=subvol=root mem_sleep_default=s2idle clk_ignore_unused pd_ignore_unused systemd.tpm2_wait=0 rhgb quiet
diff --git a/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/systemd/logind.conf.d/60-surface-power-key.conf b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/systemd/logind.conf.d/60-surface-power-key.conf
new file mode 100644
index 0000000..c6fc547
--- /dev/null
+++ b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/systemd/logind.conf.d/60-surface-power-key.conf
@@ -0,0 +1,2 @@
+HandlePowerKey=suspend
+HandlePowerKeyLongPress=poweroff