Kingtous/fclash_linux

Wayland下无法启动

shenmo7192 opened this issue · 3 comments

shenmo23@shenmo23-PC:~/Downloads/a/opt/apps/autotrash/files/bin$ /opt/apps/cn.kingtous.fclash/files/fclash 

(fclash:54335): dbind-WARNING **: 22:24:30.716: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

** (fclash:54335): CRITICAL **: 22:24:30.841: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置

** (fclash:54335): CRITICAL **: 22:24:30.844: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置
Gdk-Message: 22:24:30.872: Error reading events from display: 协议错误

听闻目前deepin 23 wayland还没有xdg-desktop-portal-dde,是否和这个有关呢?

             ............                 shenmo23@shenmo23-PC
         .';;;;;.       .,;,.             --------------------
      .,;;;;;;;.       ';;;;;;;.          OS: Deepin 23 x86_64
    .;::::::::'     .,::;;,''''',.        Host: ASUS TUF Gaming A15 FA506QM_FA506QM (1.0)
   ,'.::::::::    .;;'.          ';       Kernel: 5.15.45-amd64-desktop
  ;'  'cccccc,   ,' :: '..        .:      Uptime: 48 mins
 ,,    :ccccc.  ;: .c, '' :.       ,;     Packages: 1938 (dpkg)
.l.     cllll' ., .lc  :; .l'       l.    Shell: bash 5.1.8
.c       :lllc  ;cl:  .l' .ll.      :'    Resolution: 1920x1080
.l        'looc. .   ,o:  'oo'      c,    WM: Deepin (Wayland)
.o.         .:ool::coc'  .ooo'      o.    Icons: blossom-light [GTK2]
 ::            .....   .;dddo      ;c     Cursor: bloom
  l:...            .';lddddo.     ,o      Terminal: deepin-terminal
   lxxxxxdoolllodxxxxxxxxxc      :l       Terminal Font: Noto Sans Mono (11pt)
    ,dxxxxxxxxxxxxxxxxxxl.     'o,        CPU: AMD Ryzen 7 5800H (16) @ 3.2 GHz
      ,dkkkkkkkkkkkkko;.    .;o;          Memory: 5.80 GiB / 15.11 GiB (38%)
        .;okkkkkdl;.    .,cl:.            Disk (/): 35.05 GiB / 117 GiB (30%)
            .,:cccccccc:,.                Disk (/media/shenmo23/89b74656-e857-4311-927d-1af70ceaaaf0): 85.67 ]
                                          Disk (/media/shenmo23/OS): 236 GiB / 456 GiB (51%) [Removable]
                                          Disk (/media/shenmo23/RESTORE): 15.61 GiB / 19.50 GiB (80%) [Remova]
                                          Disk (/media/shenmo23/XDATA): 464 GiB / 784 GiB (59%) [Removable]
                                          Battery: 96%
                                          Locale: zh_CN.UTF-8

暂时解决方案
export WAYLAND_DISPLAY=wayland-x11

感谢,已更新到Readme :)
Wayland搞了这么久还是没法取代x11

感谢,已更新到Readme :) Wayland搞了这么久还是没法取代x11

我不太清楚这是Flutter对wayland的支持不对劲还是deepin对wayland支持有问题
总之,指定为xwayland启动解决了这个问题
除了export,也可以在desktop的exec前面加上 env WAYLAND_DISPLAY=wayland-x11 来解决