当我单击 Firefox 图标时,它似乎可以工作,因为小轮子出现并旋转。但是,它很快就消失了,然后什么也没有发生。当我进入终端并询问哪个 Firefox 时,结果是 /snap/bin/firefox,但是当我在终端中使用此路径时,它不起作用。我在任何名为“bin”的目录中都找不到 Firefox,它位于 snap 文件夹中。
答案1
我遇到了同样的问题。这是“snap list --all”和在命令行上运行 Firefox 的结果。注意:从命令行启动时,Firefox 会不顾警告运行。(由于我无法发表评论,因此在此添加信息。)
~$ snap list --all
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
core18 20230503 2751 latest/stable canonical✓ base,disabled
core18 20230530 2785 latest/stable canonical✓ base
core20 20230404 1879 latest/stable canonical✓ base,disabled
core20 20230503 1891 latest/stable canonical✓ base
core22 20230531 750 latest/stable canonical✓ base
firefox 114.0.1-1 2760 latest/stable mozilla✓ -
firefox 114.0-3 2748 latest/stable mozilla✓ disabled
gnome-3-38-2004 0+git.6f39565 137 latest/stable canonical✓ disabled
gnome-3-38-2004 0+git.6f39565 140 latest/stable canonical✓ -
gnome-42-2204 0+git.ff35a85 111 latest/stable canonical✓ -
gnome-42-2204 0+git.587e965 105 latest/stable canonical✓ disabled
gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical✓ -
gtk-common-themes 0.1-79-ga83e90c 1534 latest/stable canonical✓ disabled
hunspell-dictionaries-1-7-2004 1.7-20.04+pkg-6fd6 2 latest/stable brlin -
musescore 3.6.2 216 latest/stable musescore✓ disabled
musescore 3.6.2 228 latest/stable musescore✓ -
snapd 2.59.2 19122 latest/stable canonical✓ snapd,disabled
snapd 2.59.4 19361 latest/stable canonical✓ snapd
~$ firefox
(firefox:2923946): Gtk-WARNING **: 05:43:19.840: Theme parsing error: gtk.css:1:21: Failed to import: Error opening file /home/lee/snap/firefox/2760/.config/gtk-3.0/colors.css: No such file or directory
Gtk-Message: 05:43:19.858: Failed to load module "colorreload-gtk-module"
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
ATTENTION: default value of option mesa_glthread overridden by environment.
(firefox:2923946): dconf-WARNING **: 05:43:20.362: unable to open file '/etc/dconf/db/site': Failed to open file “/etc/dconf/db/site”: open() failed: No such file or directory; expect degraded performance