winapps-org/winapps
Run Windows applications (including Microsoft 365 and Adobe Creative Cloud) on GNU/Linux with KDE Plasma
, GNOME
or XFCE
, integrated seamlessly as if they were native to the OS.
Underlying Mechanism
WinApps works by:
- Running Windows in a
Docker
,Podman
orlibvirt
virtual machine. - Querying Windows for all installed applications.
- Creating shortcuts to selected Windows applications on the host GNU/Linux OS.
- Using
FreeRDP
as a backend to seamlessly render Windows applications alongside GNU/Linux applications.
Additional Features
- The GNU/Linux
/home
directory is accessible within Windows via the\\tsclient\home
mount. - Integration with
Nautilus
, allowing you to right-click files to open them with specific Windows applications based on the file MIME type. - The official taskbar widget enables seamless administration of the Windows subsystem and offers an easy way to launch Windows applications.
- Microsoft Office links (e.g. ms-word://) from the host system are automatically opened in the Windows subsystem. (Note: You may need to use a User Agent Switcher browser extension and set the User-Agent to Windows, as the Office webapps typically hide the “Open in Desktop App” option for Linux users.)
Supported Applications
WinApps supports ALL Windows applications.
Universal application support is achieved by:
- Scanning Windows for any officially supported applications (list below).
- Scanning Windows for any other
.exe
files listed within the Windows Registry.
Officially supported applications benefit from high-resolution icons and pre-populated MIME types. This enables file managers to determine which Windows applications should open files based on file extensions. Icons for other detected applications are pulled from .exe
files.
Contributing to the list of supported applications is encouraged through submission of pull requests! Please help us grow the WinApps community.
Please note that the provided list of officially supported applications is community-driven. As such, some applications may not be tested and verified by the WinApps team.
Officially Supported Applications
|
Adobe Acrobat Pro (X) Icon in the Public Domain. |
|
Adobe After Effects (CC) Icon in the Public Domain. |
|
Adobe Audition (CC) Icon in the Public Domain. |
|
Adobe Bridge (CS6, CC) Icon in the Public Domain. |
|
Adobe Creative Cloud (CC) Icon under MIT license. |
|
Adobe Illustrator (CC) Icon in the Public Domain. |
|
Adobe InDesign (CC) Icon in the Public Domain. |
|
Adobe Lightroom (CC) Icon in the Public Domain. |
|
Adobe Photoshop (CS6, CC, 2022) Icon in the Public Domain. |
|
Command Prompt (cmd.exe) Icon under MIT license. |
|
File Explorer (Windows Explorer) Icon in the Public Domain. |
|
Internet Explorer (11) Icon in the Public Domain. |
|
Microsoft Access (2016, 2019, o365) Icon in the Public Domain. |
|
Microsoft Excel (2016, 2019, o365) Icon in the Public Domain. |
|
Microsoft Word (2016, 2019, o365) Icon in the Public Domain. |
|
Microsoft OneNote (2016, 2019, o365) Icon in the Public Domain. |
|
Microsoft Outlook (2016, 2019, o365) Icon in the Public Domain. |
|
Microsoft PowerPoint (2016, 2019, o365) Icon in the Public Domain. |
|
Microsoft Publisher (2016, 2019, o365) Icon in the Public Domain. |
|
Microsoft Visio (Standard/Pro. 2021, Plan 2) Icon in the Public Domain. |
|
Microsoft Project (Standard/Pro. 2021, Plan 3/5) Icon in the Public Domain. |
|
Microsoft Visual Studio (Comm./Pro./Ent. 2022) Icon in the Public Domain. |
|
mIRC Icon in the Public Domain. |
|
PowerShell Icon under MIT license. |
|
Windows (Full RDP Session) Icon in the Public Domain. |
Installation
Step 1: Configure a Windows VM
Both Docker
and Podman
are recommended backends for running the Windows virtual machine, as they facilitate an automated Windows installation process. WinApps is also compatible with libvirt
. While this method requires considerably more manual configuration, it also provides greater virtual machine customisation options. All three methods leverage the KVM
hypervisor, ensuring excellent virtual machine performance. Ultimately, the choice of backend depends on your specific use case.
The following guides are available:
If you already have a Windows VM or server you wish to use with WinApps, you will still have to follow the final steps described in the libvirt
documentation.
Step 2: Install Dependencies
Install the required dependencies.
- Debian/Ubuntu:
1
sudo apt install -y curl dialog freerdp3-x11 git iproute2 libnotify-bin netcat-openbsd
[!NOTE] On Debian 12 (“bookworm”), you need to enable the
backports
repository for thefreerdp3-x11
package to become available. For instructions, see https://backports.debian.org/Instructions.
- Fedora/RHEL:
1
sudo dnf install -y curl dialog freerdp git iproute libnotify nmap-ncat
- Arch Linux:
1
sudo pacman -Syu --needed -y curl dialog freerdp git iproute2 libnotify openbsd-netcat
- openSUSE:
1
sudo zypper install -y curl dialog freerdp git iproute2 libnotify-tools netcat-openbsd
- Gentoo Linux:
1
sudo emerge --ask=n net-misc/curl dev-util/dialog net-misc/freerdp:3 dev-vcs/git sys-apps/iproute2 x11-libs/libnotify net-analyzer/openbsd-netcat
[!NOTE] WinApps requires
FreeRDP
version 3 or later. If not available for your distribution through your package manager, you can install the Flatpak:
1 2
flatpak install flathub com.freerdp.FreeRDP sudo flatpak override --filesystem=home com.freerdp.FreeRDP # To use `+home-drive`
However, if you have weird issues like #233 when running Flatpak, please compile FreeRDP from source according to this guide.
Step 3: Create a WinApps Configuration File
Create a configuration file at ~/.config/winapps/winapps.conf
containing the following:
|
|
[!IMPORTANT] To safeguard your Windows password, ensure
~/.config/winapps/winapps.conf
is accessible only by your user account.
1 2
chown $(whoami):$(whoami) ~/.config/winapps/winapps.conf chmod 600 ~/.config/winapps/winapps.conf
[!IMPORTANT]
RDP_USER
andRDP_PASS
must correspond to a complete Windows user account and password, such as those created during Windows setup or for a domain user. User/PIN combinations are not valid for RDP access.
[!IMPORTANT] If you wish to use an alternative WinApps backend (other than
Docker
), uncomment and changeWAFLAVOR="docker"
toWAFLAVOR="podman"
orWAFLAVOR="libvirt"
.
Configuration Options Explained
- If using a pre-existing Windows RDP server on your LAN, you must use
RDP_IP
to specify the location of the Windows server. You may also wish to configure a static IP address for this server. - If running a Windows VM using
libvirt
with NAT enabled, leaveRDP_IP
commented out and WinApps will auto-detect the local IP address for the VM. - For domain users, you can uncomment and change
RDP_DOMAIN
. - On high-resolution (UHD) displays, you can set
RDP_SCALE
to the scale you would like to use (100, 140 or 180). - To add additional flags to the FreeRDP call (e.g.
/prevent-session-lock 120
), uncomment and use theRDP_FLAGS
configuration option. - For multi-monitor setups, you can try adding
/multimon
toRDP_FLAGS
. A FreeRDP bug may result in a black screen however, in which case you should revert this change. - To enable non-English input and seamless language switching, you can try adding
/kbd:unicode
toRDP_FLAGS
. This ensures client inputs are sent as Unicode sequences. - If you enable
DEBUG
, a log will be created on each application start in~/.local/share/winapps/winapps.log
. - If using a system on which the FreeRDP command is not
xfreerdp
orxfreerdp3
, the correct command can be specified usingFREERDP_COMMAND
.
Step 4: Test FreeRDP
-
Test establishing an RDP session by running the following command, replacing the
/u:
,/p:
, and/v:
values with the correct values specified in~/.config/winapps/winapps.conf
.1 2 3 4
xfreerdp3 /u:"Your Windows Username" /p:"Your Windows Password" /v:192.168.122.2 /cert:tofu # Or, if you installed FreeRDP using Flatpak flatpak run --command=xfreerdp com.freerdp.FreeRDP /u:"Your Windows Username" /p:"Your Windows Password" /v:192.168.122.2 /cert:tofu
- Please note that the correct
FreeRDP
command may vary depending on your system (e.g.xfreerdp
,xfreerdp3
, etc.). - Ensure you use the correct IP address for your Windows instance in the above command.
- If prompted within the terminal window, choose to accept the certificate permanently.
If the Windows desktop appears in a
FreeRDP
window, the configuration was successful and the correct RDP TLS certificate was enrolled on the Linux host. Disconnect from the RDP session and skip the following debugging step. - Please note that the correct
-
[DEBUGGING STEP] If an outdated or expired certificate is detected, the
FreeRDP
command will display output resembling the following. In this case, the old certificate will need to be removed and a new RDP TLS certificate installed.1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: CERTIFICATE NAME MISMATCH! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ The hostname used for this connection (192.168.122.2:3389) does not match the name given in the certificate: Common Name (CN): RDPWindows A valid certificate for the wrong name should NOT be trusted! The host key for 192.168.122.2:3389 has changed @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the host key sent by the remote host is 8e:b4:d2:8e:4e:14:e7:4e:82:9b:07:5b:e1:68:40:18:bc:db:5f:bc:29:0d:91:83:f9:17:f9:13:e6:51:dc:36 Please contact your system administrator. Add correct host key in /home/rohanbarar/.config/freerdp/server/192.168.122.2_3389.pem to get rid of this message.
If you experience the above error, delete any old or outdated RDP TLS certificates associated with Windows, as they can prevent
FreeRDP
from establishing a connection.These certificates are located within
~/.config/freerdp/server/
and follow the naming format<Windows-VM-IPv4-Address>_<RDP-Port>.pem
(e.g.,192.168.122.2_3389.pem
,127.0.0.1_3389.pem
, etc.).If you use FreeRDP for purposes other than WinApps, ensure you only remove certificates related to the relevant Windows VM. If no relevant certificates are found, no action is needed.
Following deletion, re-attempt establishing an RDP session.
Step 5: Run the WinApps Installer
With Windows still powered on, run the WinApps installer.
|
|
Once WinApps is installed, a list of additional arguments can be accessed by running winapps-setup --help
.

Adding Additional Pre-defined Applications
Adding your own applications with custom icons and MIME types to the installer is easy. Simply copy one of the application configurations in the apps
folder located within the WinApps repository, and:
- Modify the name and variables to reflect the appropriate/desired values for your application.
- Replace
icon.svg
with an SVG for your application (ensuring the icon is appropriately licensed). - Remove and reinstall WinApps.
- Submit a pull request to add your application to WinApps as an officially supported application once you have tested and verified your configuration (optional, but encouraged).
Running Applications Manually
WinApps offers a manual mode for running applications that were not configured by the WinApps installer. This is completed with the manual
flag. Executables that are in the Windows PATH do not require full path definition.
|
|
Updating WinApps
The installer can be run multiple times. To update your installation of WinApps:
- Run the WinApps installer to remove WinApps from your system.
- Pull the latest changes from the WinApps GitHub repository.
- Re-install WinApps using the WinApps installer by running
winapps-setup
.
WinApps Launcher (Optional)
The WinApps Launcher provides a simple system tray menu that makes it easy to launch your installed Windows applications, open a full desktop RDP session, and control your Windows VM or container. You can start, stop, pause, reboot or hibernate Windows, as well as access your installed applications from a convenient list. This lightweight, optional tool helps streamline your overall WinApps experience.

Installation using Nix
First, follow Step 1 of the normal installation guide to create your VM. Then, install WinApps according to the following instructions.
After installation, it will be available under winapps
, with the installer being available under winapps-setup
and the optional launcher being available under winapps-launcher.
Using standalone Nix
First, make sure Flakes and the nix
command are enabled.
In your ~/.config/nix/nix.conf
:
|
|
|
|
On NixOS using Flakes
|
|
On NixOS without Flakes
Flakes aren’t real and they can’t hurt you.. However, if you still don’t want to use flakes, you can use WinApps with flake-compat like:
|
|