Skip to content

An attempt at repackaging the netbird-ui into a flatpak.

Notifications You must be signed in to change notification settings

dannymate/netbird-ui-flatpak

Repository files navigation

NetBird UI Flatpak Proof-of-Concept

An attempt at repackaging the NetBird-UI into a flatpak.

I decided to try to repackage the NetBird-UI into a flatpak as a reason to learn how flatpaks work and to possibly provide NetBird with a proof of concept. The flatpak version is fully functional however I do get some errors & warnings in the console that I will describe below alongside build instructions.

I am unlikely to upload this to flathub myself unless people really want this for some reason. IF YOU WANT TO UPLOAD TO FLATHUB PLEASE CHANGE THE APP-ID.

Pics

Status Tray Menu Settings Window Menu Item
image image image

Build Instructions

https://docs.flatpak.org/en/latest/first-build.html

Install: org.gnome.Platform//43

org.gnome.Sdk//43

Clone this repo: git clone [email protected]:dannymate/netbird-ui-flatpak.git

To build: flatpak run org.flatpak.Builder build --force-clean --disable-rofiles-fuse io.netbird.netbird_ui.yml Note: Replace flatpak run org.flatpak.Builder with flatpak-builder if not using the flatpak version.

Install Build: flatpak run org.flatpak.Builder --user --install --force-clean build io.netbird.netbird_ui.yml

To Run: flatpak run io.netbird.netbird_ui

To export build: flatpak build-export export build

To bundle the build as a .flatpak: flatpak build-bundle export netbird-ui.flatpak io.netbird.netbird_ui

To Install Flatpak: flatpak install <path_to_netbird0ui.flatpak>

You should get .desktop icon show up in your app menu.

Console Errors

On start:

Gtk-Message: Failed to load module "canberra-gtk-module": I have tried installing the libcanberra in shared-modules but no dice.

Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed: No idea what this is referencing.

When Disconnecting:

ERRO[0040] get service status: rpc error: code = Unknown desc = reset connection: Again not sure how to fix this.

About

An attempt at repackaging the netbird-ui into a flatpak.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published