如何启动使用 flatpak 安装的软件?

如何启动使用 flatpak 安装的软件?

希望,我在正确的网站上回答这个问题。

所以我尝试安装克尺与 flatpak 一起做flatpak install org.kde.kruler,然后尝试运行它,flatpak run --user org.kde.kruler这给了我

error: app/org.kde.kruler/x86_64/stable not installed

我尝试调试的内容:

运行flatpak list产量

Name               Application ID              Version Branch      Installation
...
Adwaita theme      org.kde.KStyle.Adwaita              5.15-21.08  system
KDE Application P… org.kde.Platform                    5.15-21.08  system
KRuler             org.kde.kruler              22.12.2 stable      system
...

再次尝试flatpak install org.kde.kruler(选择1)也失败:

Looking for matches…
Remotes found with refs similar to ‘org.kde.kruler’:

   1) ‘flathub’ (system)
   2) ‘flathub’ (user)

Which do you want to use (0 to abort)? [0-2]: 1
Skipping: org.kde.kruler/x86_64/stable is already installed

我认为上面的选项2是因为我做了

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

我已经删除并重新安装,但不知道如何继续。我怎样才能找到解决这个问题的方法?如果有关系的话我会跑步Linux 精简版 6.0,它基于 Ubuntu 22.04.1 LTS (Jammy Jellyfish)。

答案1

之后flatpak install org.kde.kruler,您必须选择2为您的用户安装它。

Looking for matches…
Remotes found with refs similar to ‘org.kde.kruler’:

   1) ‘flathub’ (system)
   2) ‘flathub’ (user)

Which do you want to use (0 to abort)? [0-2]: 2

org.kde.kruler permissions:
    ipc       fallback-x11         wayland              x11
    dri       file access [1]      dbus access [2]

    [1] xdg-config/kdeglobals:ro
    [2] com.canonical.AppMenu.Registrar, org.kde.KGlobalSettings,
        org.kde.kconfig.notify


        ID                       Branch    Op    Remote    Download
 1. [✓] org.kde.kruler.Locale    stable    i     flathub     6,6 kB / 110,1 kB
 2. [✓] org.kde.kruler           stable    i     flathub   264,2 kB / 305,9 kB

Installation complete.

然后flatpak run --user org.kde.kruler按预期工作:

Gtk-Message: 10:13:56.607: Failed to load module "xapp-gtk3-module"
Qt: Session management error: Could not open network socket

(日志消息是无害.)

相关内容