koishijs / koishi-desktop

Launch Koishi from your desktop
https://koishi.chat/manual/starter/
GNU Affero General Public License v3.0
89 stars 7 forks source link

AppImage 整合在无桌面环境的 Linux 系统中无法启动 #123

Open hoah2333 opened 9 months ago

hoah2333 commented 9 months ago

OS: Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-91-generic x86_64)

操作:在 Releases 中下载 koishi-desktop-linux-x64-v1.0.0.AppImage,并使用 ./koishi-desktop-linux-x64-v1.0.0.AppImage 启动。程序在释放文件之后出现如下报错:

systray error: failed to register our icon with the notifier watcher (maybe no tray is running?): The name org.kde.StatusNotifierWatcher was not provided by any .service files

随后不再出现任何消息。如图所示。 Snipaste_2023-12-20_20-19-57

个人认为没有桌面环境 Linux 系统应该是不需要 register our icon 这种行为的,系统中应该也未带有注册的环境。

建议:在检测到注册失败时让用户选择是否跳过注册。

ilharp commented 9 months ago

这是一个日志显示上的问题,Koishi Desktop 实际已经正常启动,直接访问 http://127.0.0.1:5140 即可开始使用 Koishi 了。

后续会优化此处日志的显示。