/virt-manager-flatpak

Flatpak for virt-manager on Gnome 40. Tested on Fedora Silverblue 34.

virt-manager flatpak

This is a fork of tinywrkb's project of Flatpaks with just the virt-manager Flatpak. Configs have been changed to be compatible with Gnome 40.

This is made for my own convenience so I can quickly manage my remote virtual machines running on my server with Fedora Silverblue 34 clients. For that reason, I've only tested remote libvirt access over SSH, which works and fits my use-case.

How to build

  1. Install flatpak-builder
  2. Install Gnome 40 platform tools and SDK
# You might need the beta repos if Gnome 40 is still in Beta
flatpak remote-add flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo

# Install tools and sdk, pick Gnome 40 version(s) if asked
flatpak install org.gnome.Platform
flatpak install org.gnome.Sdk
  1. Clone this repo
git clone https://github.com/benjamingwynn/virt-manager-flatpak.git --recursive
  1. Build the libvirt package with flatpak-builder and install it as a user Flatpak app
flatpak-builder --install --user --force-clean --state-dir=build/flatpak-builder --repo=build/flatpak-repo build/flatpak-target org.libvirt.libvirt.BaseApp/org.libvirt.libvirt.BaseApp.yaml
  1. Build the virt-manager package with flatpak-builder and install it as a user Flatpak app
flatpak-builder --install --user --force-clean --state-dir=build/flatpak-builder --repo=build/flatpak-repo build/flatpak-target org.virt_manager.virt-manager/org.virt_manager.virt-manager.yaml

Credit

Major kudos to tinywrkb for the original repo containing loads of Flatpak's for commonly used applications, check it out here