從 Zroin OS 17 到 Elementary OS 7.1

suuchi
4 min readFeb 17, 2024

這個理由嘛,
Zorin OS
經歷過三次以上的,從待機狀態恢復卻是熒幕一片黑的狀態。
從 X11 到 Wayland ,mpv 的標題欄不見,新的視窗要麼是預設的左上角出現,不然就是用 tweaks 調節到中間的位置,而不是升級之前的在上次記憶的位置。
Elementary OS
上次已經解決了合上蓋子待機的問題。
喜歡折騰,無法忘記她的優雅。
Elementary OS 8 也將使用 Wayland ,到時不知上述 Zorin OS 17的問題解決了沒(Ubuntu 22.04 也是相同的問題)

首先,
備份

快進到作業系統安裝完畢之後的軟體安裝,
Install APPs:
uget fcitx5 fcitx5-rime fcitx5-anthy rhythmbox mpv gedit gnome-disk-utility p7zip-full p7zip-rar qbittorrent file-roller eog software-properties-common gimp
firefox,flatpak install flathub org.mozilla.firefox -y
foliate,flatpak install flathub com.github.johnfactotum.Foliate
(No remote refs found similar to ‘flathub’
sudo flatpak remote-add — if-not-exists falthub https://dl.flathub.org
fsearch ,
sudo add-apt-repository ppa:christian-boxdoerfer/fsearch-stable -y && sudo apt-get update && sudo apt-get install fsearch -y

Uninstall APPs:
io.elementary.tasks/code/music/videos
org.gnome.epiphany pantheon-photos
epiphany* (奇怪,上面明明解除安裝了,又出現了這個)

除錯,
1、合上筆電蓋子能待機:
sudo apt install pm-utils
sudo gedit /etc/systemd/logind.conf
(remove # from bellow)
HandleSuspendKey=suspend
HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend
HandleHibernateKey=suspend
2、筆電開機熒幕顯示的錯誤訊息(SGX disabled by BIOS , tpm _CRB…ACPI region does not cover):
確定 BIOS 裏面沒有這些設定選項,於是編輯 grub 內容 gedit /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=”quiet nosgx splash loglevel=3"
3、flatpak firefox “ add to dock”,plank 上面出現兩個 firefox 圖標
(修改 .desktop 檔沒有解決。snap 沒有這種問題,而且 flatpak 版在 Zorin 下也沒有這個問題)
4、開機 grub2 30s 無操作等待:
(試了修改 timeout=0 和其他的方案,問題依舊)

驚喜發現,
Elementary OS 可以正常定時待機了
(但其實,相比 Zorin OS ,外觀竟然稍微有點粗糙感)

--

--

suuchi

我是什麼樣的人,看我的文章就知道。 那些文字記錄的探索過程,塑造了現在的我。