Questions tagged [flatpak]

28 questions
36
votes
1 answer

Getting this error when trying to use flatpak, “No remote refs found similar to ‘flathub’”

I am trying to use flatpak and whenever I try and install anything I get this error stating: error: No remote refs found similar to ‘flathub’ I have googled this error and it seems that this occurs when flatpak does not know about this repo. This…
John554
  • 473
12
votes
1 answer

How to move/reinstall flatpak apps from user to system or viceversa?

I am using Pop!_OS 21.10. By default, the Pop!_Shop installs flatpak on user mode, which is annoying because I have multiple users on the system. I have now added the Flathub repo system-wide, so now I have both sources: $ flatpak remotes…
Very
  • 121
7
votes
1 answer

How to solve error: No remote refs found similar to ‘flathub’

How to solve this flatpak error?: error: No remote refs found similar to ‘flathub’ Steps taken so far: Install flatpak: sudo install flatpak Trying to install an app: flatpak install flathub dev.lapce.lapce Expected at this point: the app is…
VasyaNovikov
  • 3,656
5
votes
3 answers

How to give VSCode Flatpak package access to system SDK for Java?

I have installed VSCode flatpak package. flatpak install flathub com.visualstudio.code Now there is a file flatpak-warning.txt It reads https://www.flathub.org ------------------------------------------------------------------------------------ |…
Payel Senapati
  • 161
  • 1
  • 2
  • 8
3
votes
1 answer

How LSMs interact with Flatpak?

New to Linux as well as sandboxing. I'm mainly trying to understand the differences between security layers and how LSMs interact with application sandboxes. I've read that the Snap sandbox, for example, relies on AppArmor to work properly, meaning…
no_clue
  • 51
3
votes
0 answers

What is the difference between flatpak and OCI container systems?

Doesn't Flatpak and and OCI container systems like Docker, Podman and similar systems encapsulate and distribute programs and it's dependencies independent from a Linux systems package management and run processes by reusing the OS's kernel (in…
user63835
  • 374
  • 1
  • 4
  • 13
3
votes
2 answers

Adding Flatpak program to Debian alternatives

When I try to add Firefox installed with Flatpak on Debian 10 to alternatives with the following command, I get an error: Command: sudo update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser "/usr/bin/flatpak run…
tompi
  • 873
2
votes
1 answer

Why can't I add flatpak repos?

In order to install Element on Fedora (36) I tried to follow some tutorials, all instructing me to install flatpak and set up a remote: flatpak remote-add [--if-not-exists] flathub https://flathub.org/repo/flathub.flatpakrepo I tried it with and…
frans
  • 1,169
2
votes
1 answer

Atom Flatpak using sandboxed runtimes and executables in package settings

I'm using the flatpak version of Atom. I want to install a linting package for PHP, so that code errors are easier to spot. However it requires access to a php binary. Now since this is a Flatpak, it's sandboxed so no chance of me giving it proper…
2
votes
1 answer

How to get the flatpak versioni of Firefox to treat localhost as an address without a protocol prefix?

When I enter localhost:8888 in the address bar, the flatpak version of Firefox opens a dialog to choose an application to open the link. If I use http://localhost:8888 the page opens normally. I don't want to type http:// every time. Is there a way…
ws_e_c421
  • 279
1
vote
1 answer

How does flatpak ensure that the portals mechanism isn't abused by malicious programs?

Take Discord package permissions: $ flatpak info --show-permissions com.discordapp.Discord…
laur
  • 238
  • 1
  • 2
  • 17
1
vote
0 answers

Make VS Code Flatpak version be able to use fonts from ~/.fonts

I've recently replaced RPM VS Code with Flatpak VS Code on my laptop with Fedora 40. However, I haven't been able to set my font correctly since VS Code doesn't seem to pick up font files in the ~/.fonts directory. How can I make VS Code able to use…
1
vote
1 answer

How can I add a new Flatpak app to the LXDE menu?

I have downloaded a couple of flatpaks after installing and launch them from CLI, for example flatpak run com.spotify.Client works fine. However flatpaks don't seem to add icons to the LXDE app menu as native ones do. I have copied the .desktop…
1
vote
1 answer

Is CPUQuota per core or per machine?

In order to prevent buggy sites from freezing my system I imposed a CPU Quota limit of 95%, a Memory High of 2G and a Memory Max of 3G on my Firefox flatpak as described by the flatpak documentation. $ cat…
Mek101
  • 11
1
vote
1 answer

how to run flatpak app without audio output

I'm using a flatpak app whose desktop notifications I find useful in general, but too loud and annoying to endure all day long. It's an electron app showing up as "Chromium" in my OS's sound settings so I can't disable the audio for it there. That's…
1
2