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
2
votes
1 answer

PyGobject GTK app doesn't start without DBus session-bus even though the app doesn't use dbus

So, I made a notes app in Python using PyGobject. It's all well and cool, except it absolutely refuses to start up if I take away its' dbus permissions. While it wouldn't be a huge problem if I packaged it as a deb or something, it is since I'm…
vega-d
  • 21
  • 2
2
votes
1 answer

Is it possible to make multiple commands from one Flatpak app?

For example, I have application with server and client, is it possible to create single Flatpak app called myapp, and after installing the application with: flatpak install myapp running it with something like: flatpak run myapp.server flatpak run…
Astralpirate
  • 83
  • 1
  • 6
2
votes
0 answers

append_path: command not found error for installation hadoop on manjaro

when ı run this code hadoop version, ı get this error /etc/profile.d/flatpak-bindir.sh: line 8: append_path: command not found bash: append_path: command not found bash: append_path: command not found bash: append_path: command not…
Tuna Deniz
  • 23
  • 3
2
votes
1 answer

GLib.Notification fails to activate action with a non-null VariantType

I'm trying to send a GLib.Notification from my application and pass a string parameter. The name of the action is action-show-chat-view, and it is registered in the activate () method of my main application class: public class MyApplication :…
avojak
  • 2,342
  • 2
  • 26
  • 32
2
votes
1 answer

Install extra packages in Flatpak sandbox

There are some Flatpak apps that have optional dependencies that are not bundled with the app. E.g the plotting package Veusz is available as a Flatpak and it can optionally use the Python package h5py to open HDF5 files. But h5py is not bundled…
Amit Singh
  • 23
  • 5
2
votes
1 answer

How to use xdg-desktop-portal file portals in Java

GTK+ and Qt have xdg-desktop-portal functionality built-in, but it's unclear to me how to implement this functionality in Java. How would one go about doing this? Are there any examples or packages to simplify implementation? EDIT: To be specific, I…
Tin Man
  • 700
  • 8
  • 29
2
votes
2 answers

Flatpak on wayland error "cannot open display: "

Whenever I try to run any Gtk+ Flatpak-ed app on wayland I get error such as: (porto:3): Gtk-WARNING **: 00:55:13.780: cannot open display: :99.0 (setzer:2): Gtk-WARNING **: 01:01:41.868: cannot open display: (org.gnome.Maps:2): Gtk-WARNING **:…
user140345
  • 135
  • 1
  • 10
2
votes
1 answer

Is there a flatpak runtime that contains java?

I'm currently trying to convert my java project into a flatpak package. But, in order to run the .jar file i need java which looks like isn't part of the freedesktop runtime. Is there any runtime that comes with java or do I have to make the jdk…
Kweenix
  • 51
  • 1
  • 4
2
votes
0 answers

Unable to run a project using gnome-builder

I recently installed gnome-builder using flatpak. But when I try to run the gedit project it shows the error ide-run-manager[ 2]: WARNING: Not a make build system . But it just compiles fine. I am new to using builder.
Rio_Nyx
  • 96
  • 3
  • 7
2
votes
1 answer

How to use GTK+3 GtkImage in XML *.ui files from GtkBuilder

I am looking for more info on how to include a GtkImage in an XML UI file, instead of creating them directly from code (In the documentation it only shows an example to create a GtkImage from C code and I want to do it from a *.UI resource). What…
Bastian
  • 620
  • 5
  • 14
2
votes
2 answers

How to set up a flatpak version of Meld as git mergetool?

Installing Meld as a regular Linux package, it is fairly straighforward to setup Meld as git merge tool, here is an extract of my .gitconfig. [merge] tool = meld [mergetool "meld"] trustExitCode = true cmd = meld --args --auto-merge…
oidualc
  • 1,104
  • 1
  • 14
  • 21
2
votes
0 answers

Build flatpak package from prebuild binaries (mono and gtk-sharp2 project)

I'm trying to pack my application with flatpak and currently I'm stuck: How do I make shure, that the runtimes are installed on the target system? I need mono, gtk-sharp2, SFML, CSFML. I learned about the basic runtime, but what about my…
Sven
  • 447
  • 1
  • 6
  • 22
2
votes
1 answer

Build flatpak package

I'm working to get my application in a flatpak package. My application (https://sourceforge.net/p/audiocuesheet) is a mono build which uses gtk-sharp2. I'm really new to flatpak and started to build a manifest like this: { "app-id":…
Sven
  • 447
  • 1
  • 6
  • 22
2
votes
0 answers

Python app build with flatpak can not find package

I'm trying to create a flatpak for our tool: https://github.com/IENT/RDPlot My flatpak config and other files are here: https://github.com/IENT/flathub/tree/de.ient.RDPlot When I try to call start the tool I get flatpak-builder --run buildDir…
user3917718
  • 85
  • 2
  • 13
2
votes
1 answer

libpeas-1.0 not found by meson-dependency but by pkg-config

I am using GNOME builder to create a vala project and tried to add libpeas-1.0 as a dependency to meson via: dependency('libpeas-1.0', version: '>= 1.22') which fails with: src/meson.build:10:0: ERROR: Native dependency 'libpeas-1.0' not found if…
0815
  • 25
  • 5
1 2
3
9 10