Questions tagged [flatpak]

Flatpak is the new framework for desktop applications on Linux

Flatpak is the new framework for desktop applications on Linux.

It allows the same app to be installed on different Linux distributions, including different versions. And it has been designed from the ground up with security in mind, so that apps are isolated from each other and from the host system.

141 questions
0
votes
1 answer

How to get the icon of an external app in a Flatpak GTK4 application

I am developing an app which would require to get the icon of an installed app on the system. My app is distributed as a Flatpak. I tried Gtk.Icon.new_from_icon_name() but with no luck. Can anybody help? Thanks
mijorus
  • 111
  • 1
  • 7
0
votes
1 answer

How to install eigen library (or any other header-only library) into flatpak-builder environment?

I'm trying to incorporate the eigen library into the flatpak build of my application, but can't figure out how to do it properly. So far, I've only used libraries using the cmake-ninja as buildsystem and that has worked quite well. Since eigen is a…
codeling
  • 11,056
  • 4
  • 42
  • 71
0
votes
1 answer

Chrome doesn't see most of the local files

I installed Google Chrome on Ubuntu using Flatpak. I can open only the following folders in my home directory: .config/ .local/ .pki/ .var/ docs/ files/ music/ pictures/ videos/ If I try to open other folders or files I get ERR_FILE_NOT_FOUND. How…
Denis
  • 1,167
  • 1
  • 10
  • 30
0
votes
1 answer

location for application text file not in home directory

I use linux. I'm working on a project where an app I wrote is launched by my runlauncher. At that time the app looks for an environment variable on the sytem. This environment variable contains a path to a text json file. I want to put this file…
D Liebman
  • 337
  • 1
  • 8
  • 17
0
votes
1 answer

using groff inside of a flatpak container

I am trying to call the program groff from inside a gedit flatpak (external tools plugin). The flatpak can access the groff binary, but groff looks for files at /usr/share/groff, while in flatpak, this path is mapped to…
0
votes
1 answer

Using snapd instead of flatpak in Linux Mint

I installed IntelliJ and WebStorm on my Linux Mint distro. The problem I have is that I cannot use the integrated terminal on both of the software. In both of them there is a problem with my bash binary location. I researched and saw that the…
7ziip
  • 47
  • 5
0
votes
1 answer

Why does vue-cli-service not find electron-builder while building the Flatpak?

I am trying to Flatpak a Vuejs/Electron application. During build-time I can call Electron-Builder (but because it is a Vue application it complains about not finding background.js). The standard way of packaging Vuejs seems to be to…
tobias47n9e
  • 2,233
  • 3
  • 28
  • 54
0
votes
1 answer

Where do I place screenshots for appdata files?

I am made a program that shreds files, and as part of finishing the appdata file, I linked a image for my program to my appdata file. Unfortunately the flathub bot failed with an error saying • file-invalid : failed to load…
ADBeveridge
  • 650
  • 3
  • 15
0
votes
1 answer

bwrap: Creating new namespace failed: Operation not permitted on Install GIMP with flatpack on Docker

I need to create a docker container with GIMP in headless mode to test my plugins automatically. I make that container: FROM python:3.8 RUN apt-get update && apt-get install -y flatpak RUN flatpak remote-add --user --if-not-exists flathub…
Nicola Landro
  • 336
  • 3
  • 17
0
votes
0 answers

Using scrapy script in flatpak project

I'm building a flatpak builded project. I have a button, when it is clicked I want it to run a scrapy script to crawl data. window.ui
0
votes
1 answer

Error when adding scrapy to flatpak project

I'm building a flatpak builded gnome-builder project. Now I want to add scrapy to my project. I use flatpak-pip-generator to generate scrapy package and add it in my manifest like: "modules": [ "python3-cryptography", "python3-scrapy.json", { …
0
votes
1 answer

Add matplotlib and numpy to flatpak gnome-builder project

I want to add matplotlib and numpy to my gnome-builder project and follow the solution(Using Gnome Builder with Python). But when I run it outputs errors like following: WARNING: Discarding…
0
votes
1 answer

GLib.NetworkMonitor incorrect initial network availability in Flatpak app

I'm packaging a Flatpak application that checks the network availability on startup. Since switching to Flatpak packaging I've noticed that the GLib.NetworkMonitor is initially reporting no network availability, but very shortly thereafter the…
avojak
  • 2,342
  • 2
  • 26
  • 32
0
votes
1 answer

Electron app Failed to get ipaddress when exported as Flatpak

I am trying to make a Flatpak for my little application “OpenSpeedTest-Server” This is a simple network performance estimation tool. It is working fine on Windows, Mac and Linux (DEB). 1) When i Export the same in Flatpak, Application unable to get…
0
votes
1 answer

How do you run JUnit tests in Flatpak Eclipse?

I have Eclipse installed as a Flatpak via Flathub. When I try to run a JUnit 4 suite defined to run all tests within a project, it fails with this exception: java.lang.IllegalArgumentException: Cannot read testname file. at…
Greg
  • 41
  • 4