aboutsummaryrefslogtreecommitdiffci
path: root/config.sh
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-09-09 10:02:15 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-11-05 15:13:58 +0400
commit9cba40a8f0788ab2980085ae27553e85e247380e (patch)
treeedab8d127bbb0e945b7ba42b350ac4bce4a9c232 /config.sh
parent2460fc9bcc626c812f099221de38b592a431f3c4 (diff)
downloadkiwi-descriptions-9cba40a8f0788ab2980085ae27553e85e247380e.tar.gz
kiwi-descriptions-9cba40a8f0788ab2980085ae27553e85e247380e.zip
fix: disable ambient light sensor as it is outputting garbage
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/config.sh b/config.sh
index dd6f458..5093a93 100755
--- a/config.sh
+++ b/config.sh
@@ -774,17 +774,13 @@ install -Dm644 /tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/systemd/system
/etc/systemd/system/surface-video-firmware.service
systemctl enable surface-video-firmware.service
-# Suspend on Snapdragon is still very unstable. This is the reason why
-# 'mem_sleep_default=s2idle' is set explicitly in the cmdline as 'deep' mode
-# does not function at all.
-# Even then, suspending via gnome settings daemon results in hard freeze.
-# This is why:
-# logind behavior is kept intact with suspend behavior.
-# gnome default power button behavior was replaced with 'interactive'.
install -Dm644 /tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/systemd/logind.conf.d/60-surface-power-key.conf \
/etc/systemd/logind.conf.d/60-surface-power-key.conf
-install -Dm644 /tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-power-button \
- /etc/dconf/db/local.d/00-power-button
+
+# Ambient light sensor seems to go nuts after I fixed iio-sensor-proxy. Turning
+# it off for now.
+install -Dm644 /tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-als \
+ /etc/dconf/db/local.d/00-als
install -Dm644 /tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/profile/user \
/etc/dconf/profile/user