Kde-Neon
無法通過 KDE Neon 中的 KDE 連接瀏覽我的 android 手機
我在 KDE Neon 5.14 上。在 Neon 和 Android 上使用最新版本的 KDE 連接。我正在嘗試瀏覽我的手機文件系統,但收到此錯誤:
The process for the kdeconnect://92e92185f23aaf5b protocol died unexpectedly
我已確保 android 上的 KDE 連接具有所有權限,並且雙方都啟用了外掛。
~/.xsession-errors
這是嘗試此操作時的輸出。kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kio_kdeconnect.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kio_kdeconnect.so' QCoreApplication::arguments: Please instantiate the QApplication object first QCoreApplication::applicationDirPath: Please instantiate the QApplication object first QCoreApplication::applicationFilePath: Please instantiate the QApplication object first QCoreApplication::arguments: Please instantiate the QApplication object first KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = path = pid = 13797 KCrash: Arguments: kdeinit5: PID 13797 terminated. Could not find service for job "Job 13" with app name "org.kde.kdeconnectd" Could not find service for job "Job 13" with app name "org.kde.kdeconnectd" qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60266, resource id: 100663303, major code: 142 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60267, resource id: 83886155, major code: 142 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60271, resource id: 83886155, major code: 142 (Unknown), minor code: 3 trying to show an empty dialog trying to show an empty dialog qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60701, resource id: 83886155, major code: 142 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60702, resource id: 83886161, major code: 142 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60703, resource id: 83886173, major code: 142 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60704, resource id: 83886155, major code: 142 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60705, resource id: 83886161, major code: 142 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60706, resource id: 83886173, major code: 142 (Unknown), minor code: 3
journalctl -xe
當時的輸出:Oct 21 16:07:22 neon org.kde.kdeconnect[975]: kdeconnect.plugin.sftp: Mount device: "Xiaomi Redmi 4X" Oct 21 16:07:23 neon org.kde.kdeconnect[975]: kf5.kio.widgets: KRun(0x55e19f43e5d0) ERROR 143 "The process for the kdeconnect://92e92185f23aaf5b protocol died unexpectedly." Oct 21 16:07:25 neon org.kde.kdeconnect[975]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9418, resource id: 42156835, major code: 40 (TranslateCoords), minor code: 0
更新:錯誤修復
使用 KDE Connect 版本 1.3.3,此問題中描述的問題已得到解決。此版本已到達 Neon 使用者版軟體包儲存庫,因此您應該能夠更新並且沒有新問題!
回答:
Neon >= 5.14.1 上的 KDE Connect 存在一個錯誤,該錯誤阻止通過 Dolphin 使用的 KIO 安裝和瀏覽手機文件系統
錯誤報告在這裡。在這一點上,它肯定會縮小到 Neon 5.14.1,所以除非您有新資訊要添加,否則無需添加“+1”,但您可以隨時將自己添加到訂閱者列表中,當它出現時您會收到提醒是固定的。
作為一種解決方法,您可以使用 kdeconnect 的 DBus 介面手動掛載電話,然後在命令行上瀏覽它或手動複製路徑。說明在錯誤報告中,但也複製在這裡:
做
qdbus org.kde.kdeconnect /modules/kdeconnect/devices/<deviceID>/sftp mountAndWait qdbus org.kde.kdeconnect /modules/kdeconnect/devices/<deviceID>/sftp getDirectories
(如果您不喜歡 qdbus,請隨意替換不同的 dbus 瀏覽器)
您可以通過執行獲取您的設備 ID
kdeconnect-cli --list-devices
第一個命令應該返回 true,第二個命令應該列印出已安裝位置的列表。將這些位置複製/粘貼到文件瀏覽器的地址欄中,您應該一切順利。