Opening Flatpak upon Boot

Hi. Been using Tumbleweed since my first try on linux last June 2024.

Took me till this time to finally ask for help regarding the performance of flatpaks…

Flatpaks generally won’t open upon boot (including restart, and wake from suspend).
Have to click any flatpak multiple times for it to open.
But once a flatpak app opens, succeeding clicks on any flatpak opens the clicked app during the first click.

Anything I can do or check to resolve this?

There’s not enough there to even begin to speculate on the issue.

I almost exclusively use applications through flatpak and haven’t ever seen this behavior.

Which flatpaks? Which Desktop Environment? X11 or Wayland?

I’m on Gnome, Wayland.

Any flatpak. Just the initial attempt to open a flatpak after booting.

Once a flatpak has been opened, then the succeeding flatpaks I click to open will open with just 1 click.

You mean after first login after a boot? Or does this happen on every login?
And what about another user?

after every login… unfortunately…
and only one user is setup on this machine…

Which means that the phenomenon has nothing to do with boot as your topic title suggests.

It would then be a good idea to create another one and see if it has the same problem.

I just called it boot 'cuz it happens after every time I started the machine… whether it’s from a power on, restart, or wake on suspend…

Will try to create a new user and see if this will still happen.

Will have to check more carefully… just created another user and logged out of my current user account and flatpaks opened on first click.

Then tried logging back in on my current account. Flatpaks also opened on first click.

Seems that it only happens on restart, power on, or upon wake up on suspend.

Wait… sorry for that… I meant to say on power on and on restart only…
Waking on suspend also opens flatpak on first try…
Sorry for that…

I can do a recording later to simulate the issue real-time…

Just for fun and zero profit … after a reboot | fresh start up , select GNOME / X11 at login, and check for the issue.

(sidenote: we use KDE Plasma / X11, and have ZERO issues with Flatpak app start ups … Wayland is troublesome for us).

1 Like

Will try that too

Made a video of the issue in action…

Tried opening flatpaks on a freshly made user upon boot and flatpaks open on first click.
Just… not immediately…
Have to click a bunch of flatpaks before the flatpaks opened up in succession.

@myswtest can’t test on any X11 session, cuz screen is just black… have to restart machine to be able to interact with it…

@x-105 what is the output from flatpak list --runtime if you start a flatpak from the command line what happens?

This is the output from flatpak list --runtime --column=name,application,version,branch,origin,installation.

Name                                    Application ID                                   Version                    Branch        Origin         Installation
Freedesktop Platform                    org.freedesktop.Platform                         freedesktop-sdk-23.08.30   23.08         flathub        system
Freedesktop Platform                    org.freedesktop.Platform                         freedesktop-sdk-24.08.18   24.08         flathub        system
Freedesktop Platform                    org.freedesktop.Platform                         freedesktop-sdk-24.08.18   24.08         flathub        user
Mesa                                    org.freedesktop.Platform.GL.default              25.0.3                     23.08         flathub        system
Mesa (Extra)                            org.freedesktop.Platform.GL.default              25.0.3                     23.08-extra   flathub        system
Mesa                                    org.freedesktop.Platform.GL.default              25.0.3                     24.08         flathub        system
Mesa                                    org.freedesktop.Platform.GL.default              25.0.3                     24.08         gnome-nightly  user
Mesa (Extra)                            org.freedesktop.Platform.GL.default              25.0.3                     24.08extra    flathub        system
Mesa (Extra)                            org.freedesktop.Platform.GL.default              25.0.3                     24.08extra    gnome-nightly  user
nvidia-570-144                          org.freedesktop.Platform.GL.nvidia-570-144                                  1.4           flathub        system
nvidia-570-144                          org.freedesktop.Platform.GL.nvidia-570-144                                  1.4           flathub        user
Mesa                                    org.freedesktop.Platform.GL32.default            25.0.3                     23.08         flathub        user
nvidia-570-144                          org.freedesktop.Platform.GL32.nvidia-570-144                                1.4           flathub        user
Intel VAAPI driver                      org.freedesktop.Platform.VAAPI.Intel                                        23.08         flathub        system
Intel VAAPI driver                      org.freedesktop.Platform.VAAPI.Intel                                        24.08         flathub        system
Intel VAAPI driver                      org.freedesktop.Platform.VAAPI.Intel                                        24.08         gnome-nightly  user
gamescope                               org.freedesktop.Platform.VulkanLayer.gamescope   3.16.4                     24.08         flathub        system
FFmpeg extension with extra codecs      org.freedesktop.Platform.ffmpeg-full                                        23.08         flathub        user
FFmpeg extension with extra codecs      org.freedesktop.Platform.ffmpeg-full                                        24.08         flathub        user
i386                                    org.freedesktop.Platform.ffmpeg_full.i386                                   23.08         flathub        user
openh264                                org.freedesktop.Platform.openh264                2.4.1                      2.4.1         flathub        system
openh264                                org.freedesktop.Platform.openh264                2.5.1                      2.5.1         flathub        system
openh264                                org.freedesktop.Platform.openh264                2.5.1                      2.5.1         flathub        user
GNOME Application Platform version 46   org.gnome.Platform                                                          46            flathub        system
GNOME Application Platform version 47   org.gnome.Platform                                                          47            flathub        system
GNOME Application Platform version 48   org.gnome.Platform                                                          48            flathub        system
i386                                    org.gnome.Platform.Compat.i386                                              46            flathub        user
Adwaita dark GTK theme                  org.gtk.Gtk3theme.Adwaita-dark                                              3.22          flathub        system
Breeze GTK theme                        org.gtk.Gtk3theme.Breeze                         6.3.4                      3.22          flathub        system
KDE Application Platform                org.kde.Platform                                                            6.8           flathub        system
DXVK                                    org.winehq.Wine.DLLs.dxvk                        2.4.1                      stable-23.08  flathub        user
Gecko                                   org.winehq.Wine.gecko                                                       stable-23.08  flathub        user
Mono                                    org.winehq.Wine.mono                                                        stable-23.08  flathub        user

a. If screen is black, that’s indicative of an issue.

b. To use X11, yes, you have to log out, switch, and then login - that’s a given (restart not required)

1 Like

Any advice on how to solve these issues? Actually… there’s still more… just trying to ask for help one by one… :sweat_smile:

@x-105 so you have a mixture of system and user flatpaks, I would suggest moving all to user (as in --user) rather than system.

Why gnome-nightly?

I would suggest installing Flatseal as your user, then can set permission via this.

1 Like

that’s the default repo from the gnome software? any advice on this?

btw… this is the list of flatpak repos…

Name          Options
flathub       system
flathub       user
gnome-nightly user

Just thought about trying to open system flatpak and user flatpak upon boot.

System flatpaks are easier to open… although it also doesn’t open on one click (have to click several flatpaks), it later opens successively.

While user flatpaks don’t open later on, until some more clicks are done…

Please start the flatpack from the command line.

I do not see LibreWolf in your “flatpack list” output.

Because he was requested to show flatpak list --runtime. This only lists runtimes. To show apps you need to use flatpak list --app
To show apps and runtimes, simply use flatpak list.

1 Like