Flatpak 安装 Sublime Merge 启动报错无法加载模块 canberra-gtk-module

使用Flatpak安装了一个应用Sublime Merge,可是却无法启动,报错如下:

→ flatpak run --branch=stable --arch=x86_64 --command=sublime_merge com.sublimemerge.App
Gtk-Message: 15:39:27.372: Failed to load module "canberra-gtk-module"
No protocol specified

(sublime_merge:2): Gtk-WARNING **: 15:39:27.372: cannot open display: :99.0

canberra-gtk-module相关的包都已经安装了的:

→ sudo zypper se canberra
正在加载软件源数据...
正在读取已安装的软件包...

S  | 名称                          | 摘要                                                          | 类型  
---+-------------------------------+---------------------------------------------------------------+-------
   | canberra-gtk-play             | Portable sound event library -- Utility                       | 软件包
   | canberra-gtk-play-gnome       | Portable sound event library -- Utility                       | 软件包
   | libcanberra-devel             | Portable sound event library -- Development files             | 软件包
   | libcanberra-gtk-devel         | Portable sound event library -- Development files             | 软件包
i+ | libcanberra-gtk-module-common | Portable sound event library -- Common Files for GTK+ Modules | 软件包
i+ | libcanberra-gtk0              | Portable sound event library -- GTK+ 2 Library                | 软件包
i+ | libcanberra-gtk0-32bit        | Portable sound event library -- GTK+ 2 Library                | 软件包
i+ | libcanberra-gtk2-module       | Portable sound event library -- GTK+ 2 Module                 | 软件包
i+ | libcanberra-gtk2-module-32bit | Portable sound event library -- GTK+ 2 Module                 | 软件包
i+ | libcanberra-gtk3-0            | Portable sound event library -- GTK+ 3 Library                | 软件包
i  | libcanberra-gtk3-0-32bit      | Portable sound event library -- GTK+ 3 Library                | 软件包
   | libcanberra-gtk3-devel        | Portable sound event library -- Development files             | 软件包
i+ | libcanberra-gtk3-module       | Portable sound event library -- GTK+ 3 Module                 | 软件包
i+ | libcanberra-gtk3-module-32bit | Portable sound event library -- GTK+ 3 Module                 | 软件包
i+ | libcanberra0                  | Portable sound event library                                  | 软件包
i+ | libcanberra0-32bit            | Portable sound event library                                  | 软件包

请有经验的帮忙看看什么问题?

谢谢!

它不是说系统上没装,是说那个 flatpak 里没有

Ok, 那我还是使用原生包安装吧,不用flatpak了

1赞

本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。