x11 轉 wayland 後 qBittorrent 啟動閃退

沙滩炒花蛤發表於2024-04-12

qBittorrent 啟動閃退

  • date: 2024-04-12

在啟動中心(選單欄)點選 qBittorrent 無法啟動,沒有錯誤資訊,沒有啟動畫面,就像什麼都沒有發生。從終端啟動也是什麼都沒有發生。

最近系統進行了升級,可能是 x11 升級到了 wayland

解決辦法:刪除配置資料夾 ~/.config/qBittorrent/ 即可

$ printenv |grep way
XDG_SESSION_TYPE=wayland
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service/memory.pressure
WAYLAND_DISPLAY=wayland-0
$ qbittorrent -v
qBittorrent v4.6.3
$ qbittorrent

Qbittorrent won’t launch after update to Plasma 6. 2024.3.7:qt6-wayland 6.6.2已安裝;我這裡不存在 /usr/local/etc/rc.d/qbittorrent,因為/usr/local/etc是空的;使用 journalctl -f 監聽時,啟動 qb 依舊失敗,監聽顯示兩行(反覆嘗試啟動時,這兩行變化的只有 1.176)

kded6[906]: Registering ":1.176/StatusNotifierItem" to system tray
kded6[906]: Service  ":1.176" unregistered 

如果在終端嘗試帶引數啟動(引數是從啟動中心屬性發現的),啟動顯示qb彈窗錯誤資訊,標題是“無效 Torrent”,內容是 “載入 Torrent 失敗: %U.錯誤:開啟檔案出錯。檔案:“%U”. 錯誤:“此檔案或目錄不存在””,有一個確定按鈕。點選按鈕後彈窗關閉,在工作列小圖示區域(system tray)發現 qb,點選可顯示視窗。此時監聽顯示三行內容,是上面兩行的重複,退出qb後監聽就顯示多一行,是上面兩行資訊中的最後一行

$ qbittorrent %U

相關文章