Browse Source

ubuntu24: disable suspend

Signed-off-by: weishanshan1084 <weishanshan1084@phytium.com.cn>
pull/26/head
weishanshan1084 5 months ago
parent
commit
96c036592c
  1. 2
      board/phytium/common/ubuntu-package-installer

2
board/phytium/common/ubuntu-package-installer

@ -84,6 +84,8 @@ do_distrorfs_second_stage() {
for pkg in xfce4 unity-greeter; do
DEBIAN_FRONTEND=noninteractive apt -y install $pkg || true
rm -rf /usr/share/unity-greeter/logo.png || true
DEBIAN_FRONTEND=noninteractive apt -y install dbus-x11 || true
sudo -u lightdm dbus-launch gsettings set com.canonical.unity.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing' || true
done
if [[ $2 = jammy || $2 = noble ]]; then
sed -i 's/debian-x-terminal-emulator/gnome-terminal/g' /etc/xdg/xfce4/helpers.rc || true

Loading…
Cancel
Save