one@LX2438:~$ sudo apt-get install gnome-tweaks
正在讀取套件清單... 完成
正在重建相依關係... 完成
正在讀取狀態資料... 完成
下列的額外套件將被安裝:
gnome-settings-daemon gnome-settings-daemon-common gnome-shell-common mutter-common
yaru-theme-gnome-shell
建議套件:
usbguard gnome-shell-extension-prefs | gnome-shell-extension-manager
下列【新】套件將會被安裝:
gnome-settings-daemon gnome-settings-daemon-common gnome-shell-common gnome-tweaks mutter-common
yaru-theme-gnome-shell
升級 0 個,新安裝 6 個,移除 0 個,有 0 個未被升級。
需要下載 671 kB 的套件檔。
此操作完成之後,會多佔用 13.2 MB 的磁碟空間。
是否繼續進行 [Y/n]? [Y/n] Y
下載:1 http://ports.ubuntu.com jammy-updates/main arm64 gnome-settings-daemon-common all 42.1-1ubuntu2.1 [17.6 kB]
下載:2 http://ports.ubuntu.com jammy-updates/main arm64 gnome-shell-common all 42.5-0ubuntu1 [183 kB]
下載:3 http://ports.ubuntu.com jammy-updates/main arm64 gnome-settings-daemon arm64 42.1-1ubuntu2.1 [317 kB]
下載:4 http://ports.ubuntu.com jammy-updates/main arm64 mutter-common all 42.5-0ubuntu1 [13.3 kB]
下載:5 http://ports.ubuntu.com jammy-updates/universe arm64 gnome-tweaks all 42~beta-1ubuntu2 [59.5 kB]
下載:6 http://ports.ubuntu.com jammy/main arm64 yaru-theme-gnome-shell all 22.04.4 [80.5 kB]
取得 671 kB 用了 2s (329 kB/s)
選取了原先未選的套件 gnome-settings-daemon-common。
(讀取資料庫 ... 目前共安裝了 251381 個檔案和目錄。)
正在準備解包 .../0-gnome-settings-daemon-common_42.1-1ubuntu2.1_all.deb……
解開 gnome-settings-daemon-common (42.1-1ubuntu2.1) 中...
選取了原先未選的套件 gnome-shell-common。
正在準備解包 .../1-gnome-shell-common_42.5-0ubuntu1_all.deb……
解開 gnome-shell-common (42.5-0ubuntu1) 中...
選取了原先未選的套件 gnome-settings-daemon。
正在準備解包 .../2-gnome-settings-daemon_42.1-1ubuntu2.1_arm64.deb……
解開 gnome-settings-daemon (42.1-1ubuntu2.1) 中...
選取了原先未選的套件 mutter-common。
正在準備解包 .../3-mutter-common_42.5-0ubuntu1_all.deb……
解開 mutter-common (42.5-0ubuntu1) 中...
選取了原先未選的套件 gnome-tweaks。
正在準備解包 .../4-gnome-tweaks_42~beta-1ubuntu2_all.deb……
解開 gnome-tweaks (42~beta-1ubuntu2) 中...
選取了原先未選的套件 yaru-theme-gnome-shell。
正在準備解包 .../5-yaru-theme-gnome-shell_22.04.4_all.deb……
解開 yaru-theme-gnome-shell (22.04.4) 中...
設定 gnome-settings-daemon-common (42.1-1ubuntu2.1) ...
設定 yaru-theme-gnome-shell (22.04.4) ...
update-alternatives: 在自動模式下以 /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource 來提供 /usr/share/gnome-shell/gdm-theme.gresource (gdm-theme.gresource)
設定 gnome-shell-common (42.5-0ubuntu1) ...
設定 mutter-common (42.5-0ubuntu1) ...
執行 mailcap (3.70+nmu1ubuntu1) 的觸發程式……
執行 bamfdaemon (0.5.6+22.04.20220217-0ubuntu1) 的觸發程式……
Rebuilding /usr/share/applications/bamf-2.index...
執行 desktop-file-utils (0.26-1ubuntu3) 的觸發程式……
執行 hicolor-icon-theme (0.17-2) 的觸發程式……
執行 gnome-menus (3.36.0-1ubuntu3) 的觸發程式……
執行 libglib2.0-0:arm64 (2.72.4-0ubuntu1) 的觸發程式……
執行 mate-menus (1.26.0-2ubuntu2) 的觸發程式……
執行 man-db (2.10.2-1) 的觸發程式……
設定 gnome-settings-daemon (42.1-1ubuntu2.1) ...
設定 gnome-tweaks (42~beta-1ubuntu2) ...
雖然順利完成安裝, 但執行 gnome-tweaks 時卻出現警告與錯誤 :
one@LX2438:~$ gnome-tweaks
WARNING : Error getting shell mode
CRITICAL: Error getting shell version
WARNING : Could not list shell extensions
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_appearance.py", line 144, in __init__
extensions = self._shell.list_extensions()
File "/usr/lib/python3/dist-packages/gtweak/gshellwrapper.py", line 76, in list_extensions
return self._proxy.proxy_extensions.ListExtensions()
File "/usr/lib/python3/dist-packages/gi/overrides/Gio.py", line 349, in __call__
result = self.dbus_proxy.call_sync(self.method_name, arg_variant,
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Shell was not provided by any .service files (2)
這樣 Ubuntu 就不會因為一段時間未使用而進入休眠狀態 (暫時不使用時直接關掉螢幕就好啦), 當然就不會有喚不醒問題. 這似乎不是主機板的問題, 而是 Ubuntu 作業系統本身的問題.