AbelFalcon / Run-Flatpak-Windows11

ℹ️ Running Flatpak Apps on Windows 10/11 in Seconds
18 stars 0 forks source link
flatpak flatpakwindow windows-10 windows-flatpak

Running Flatpak Apps in Windows 10/11

Introduction

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. However, you might want to run Flatpak apps on Windows 10/11 for various reasons, including testing, development, or simply using your favorite Linux applications. This guide will show you how to do that.

Prerequisites

Before you start, ensure you have the following:

Step-by-Step Guide

Setup Xming

Xming for Windows

https://sourceforge.net/projects/xming/

WSL Setup

 export DISPLAY=:0

If it does not work in the subsequent steps. Use your local ip address instead of 0.

 sudo apt update
 sudo apt install flatpak
 flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Example Usage

Install app

 sudo flatpak install flathub io.github.alainm23.planify

Run App

 flatpak run io.github.alainm23.planify

Troubleshooting

If you encounter any issues, consider the following steps: