疑難排解
AppImage 開不起來
Section titled “AppImage 開不起來”如果啟動時印出 dlopen(): error loading libfuse.so.2,表示系統缺少 AppImage 需要的 libfuse2
(Ubuntu 22.04 起預設不再安裝)。安裝它:
sudo apt install libfuse2或不經 FUSE 執行 AppImage:
./Spekterm-<version>.AppImage --appimage-extract-and-run從桌面選單啟動 spekterm 時找不到 claude
Section titled “從桌面選單啟動 spekterm 時找不到 claude”從桌面選單啟動的程式不會繼承你終端的環境。spekterm 在啟動時讀一次你的登入 shell 的環境,並用其中的
PATH 尋找 claude。所以:
- 確認含有
claude的目錄有在 shell 的啟動檔裡加進PATH(zsh 是.zshrc或.zprofile); - 改完之後重新啟動 spekterm —— 環境只在啟動時讀一次,開一個新的 session 不夠。
改了 shell 的環境卻沒有生效
Section titled “改了 shell 的環境卻沒有生效”同一個原因:spekterm 只在啟動時讀一次你的環境。結束 spekterm 再重新啟動。
側欄或檔案樹停止更新
Section titled “側欄或檔案樹停止更新”多半是 inotify 的監看上限太低(錯誤 ENOSPC 只會出現在 spekterm 的標準錯誤輸出)。查看目前的值:
cat /proc/sys/fs/inotify/max_user_watches若是 8192,調高它:
echo 'fs.inotify.max_user_watches=524288' | sudo tee /etc/sysctl.d/60-inotify.confsudo sysctl --system我在跑的是哪一份建置?
Section titled “我在跑的是哪一份建置?”設定 → 關於 列出版本、建置時間與 commit。在 GitHub 回報問題時請附上它們。