How do people get flatpak applications to work in Ubuntu Mate?

I have 2 applications who do not publish .debs or snaps, but flatpaks. This should be fine; I have installed flatpak via apt per many guides out there, and added flathub as a remote repository. I downloaded one of the flatpak files (Nextcloud Talk as it were) and did "flatpak install --user Nextcloud.Talk-linux-x64.flatpak" and it pulled down some dependencies and installed. I also want to confirm that $XDG_DATA_DIRS was set in my profile so I don't get that warning. If I "flatpak run com.nextcloud.talk" the application launches, however despite what everyone says, the app does NOT show up in the Brisk menu. I have rebooted, I have done "update-desktop-database" but no dice.

I know I can manually create entries, but this feels like it shouldn't be this hard. How do other people get this working?

I have had mixed luck with Flatpak, but in your case, I went to Nextcloud and downloaded the .pak file for Talk, installed it and it works fine.

Are you downloading the file from github or did you download it from Flathub?

3 Likes

I got it directly from their website, not the github, but the checksums match. Where is your .desktop file for it located?

Interesting... it is not in the usr/share/applications with the rest of them.

Here is the command line.

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk @@u %U @@

Just to confirm, you said you installed Flatpak via apt but I have found there are a variety of different instructions out there. Here is the page for Ubuntu installation and this is what I used to install Flatpak.

https://flatpak.org/setup/Ubuntu

2 Likes

That's exactly what I did, however I don't use gnome software so I skipped that, and I enabled the repo for system AND --user.

1 Like

Sorry dude. Not sure what to tell you. Like I said, I have had mixed results with Flatpak and I tend to avoid it when I can. Regardless, if it were me, I would try the old "turn it of and back on again" approach and completely remove Flatpak and install it again.

Unfortunately, I don't know enough about Linux to give you a more technical solution.

Good luck!

1 Like

In a pinch I can manually make menu entries, but that stinks. There's a streamdeck UI as well which is only flatpak or binary, and I'm having the same issue on another system.

You may want to have a look at

and try to rejuvenate the issue.

1 Like