mihomo-party-org / mihomo-party

:electron: Another Mihomo GUI.
https://mihomo.party
GNU General Public License v3.0
5.36k stars 297 forks source link

[Feature] 请求适配wayland环境 #123

Closed wxmup closed 2 months ago

wxmup commented 2 months ago

Verify steps

操作系统

Linux

描述

我是arch linux,使用的是kde桌面的wayland环境,安装的包是mihomo-party-electron-bin. 我发现在覆写mihomo-party yaml代码的时候,mihomo-party闪个不停,fcitx5输入法的输入面板非常小,这些都表明当前mihomo-party不运行在wayland. 于是我给添加了--enable-features=WaylandWindowDecorations --ozone-platform-hint=auto --enable-wayland-ime这三个启动参数,但都不能生效.mihomo-party仍然是不能以wayland运行.

pompurin404 commented 2 months ago

.config/mihomo-party-flags.conf

--ozone-platform=wayland
--enable-wayland-ime
wxmup commented 2 months ago

.config/mihomo-party-flags.conf

--ozone-platform=wayland
--enable-wayland-ime

已解决,谢谢老公