2024-07-17 14:13:48 +10:00
<p align="center"><img align="center" width="700" src="./icons/banner_dark.svg#gh -dark-mode-only"/></p>
<p align="center"><img align="center" width="700" src="./icons/banner_dark.svg#gh -light-mode-only"/></p>
<hr>
2024-04-20 22:26:22 +02:00
2024-07-20 23:20:32 +10:00
Run Windows applications (including [Microsoft 365 ](https://www.microsoft365.com/ ) and [Adobe Creative Cloud ](https://www.adobe.com/creativecloud.html )) on GNU/Linux with `KDE` , `GNOME` or `XFCE` , integrated seamlessly as if they were native to the OS.
2023-07-08 16:13:57 +02:00
2024-07-16 12:04:25 +10:00
<img src="demo/demo.gif" width=1000 alt="WinApps Demonstration Animation.">
2023-07-08 16:13:57 +02:00
2024-07-16 12:04:25 +10:00
## Underlying Mechanism
WinApps works by:
2024-07-20 01:30:13 +10:00
1. Running Windows in a `Docker` , `Podman` or `libvirt` virtual machine.
2024-07-16 12:04:25 +10:00
2. Querying Windows for all installed applications.
3. Creating shortcuts to selected Windows applications on the host GNU/Linux OS.
4. Using [`FreeRDP` ](https://www.freerdp.com/ ) as a backend to seamlessly render Windows applications alongside GNU/Linux applications.
2023-07-08 16:13:57 +02:00
2024-07-16 12:04:25 +10:00
## 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.
2024-04-20 22:26:22 +02:00
2024-07-16 12:04:25 +10:00
## Supported Applications
**WinApps supports <u>*ALL*</u> Windows applications.**
2024-04-20 22:26:22 +02:00
2024-07-16 12:04:25 +10:00
Universal application support is achieved by:
1. Scanning Windows for any officially supported applications (list below).
2. Scanning Windows for any other `.exe` files listed within the Windows Registry.
2023-07-08 16:13:57 +02:00
2024-07-16 12:04:25 +10:00
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.
2024-04-20 22:26:22 +02:00
2024-07-16 12:04:25 +10:00
Contributing to the list of supported applications is encouraged through submission of pull requests! Please help us grow the WinApps community.
2023-07-08 16:13:57 +02:00
2024-07-16 12:04:25 +10:00
*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.*
2023-07-08 16:13:57 +02:00
2024-07-16 12:04:25 +10:00
### Officially Supported Applications
2023-07-08 16:13:57 +02:00
<table cellpadding="10" cellspacing="0" border="0">
2024-07-16 12:04:25 +10:00
<tr>
2024-07-17 14:13:48 +10:00
<!-- Adobe Acrobat Pro -->
<td>
<img src="apps/acrobat-x-pro/icon.svg" width="100">
</td>
<td>
<b>Adobe Acrobat Pro</b><br>
(X)<br>
<i><a href="https://commons.wikimedia.org/wiki/File:Adobe_Acrobat_DC_logo_2020.svg">Icon</a> in the Public Domain.</i>
</td>
<!-- Adobe After Effects -->
<td>
<img src="apps/aftereffects-cc/icon.svg" width="100">
</td>
<td>
<b>Adobe After Effects</b><br>
(CC)<br>
<i><a href="https://commons.wikimedia.org/wiki/File:Adobe_After_Effects_CC_icon.svg">Icon</a> in the Public Domain.</i>
</td>
2024-07-16 12:04:25 +10:00
</tr>
<tr>
2024-07-17 14:13:48 +10:00
<!-- Adobe Audition -->
<td>
<img src="apps/audition-cc/icon.svg" width="100">
</td>
<td>
<b>Adobe Audition</b><br>
(CC)<br>
<i><a href="https://en.m.wikipedia.org/wiki/File:Adobe_Audition_CC_icon_%282020%29.svg">Icon</a> in the Public Domain.</i>
</td>
<!-- Adobe Bridge -->
<td>
<img src="apps/bridge-cs6/icon.svg" width="100">
</td>
<td>
<b>Adobe Bridge</b><br>
(CS6, CC)<br>
<i><a href="https://en.m.wikipedia.org/wiki/File:Adobe_Bridge_CC_icon.svg">Icon</a> in the Public Domain.</i>
</td>
2024-07-16 12:04:25 +10:00
</tr>
<tr>
2024-07-17 14:13:48 +10:00
<!-- Adobe Creative Cloud -->
<td>
<img src="apps/adobe-cc/icon.svg" width="100">
</td>
<td>
<b>Adobe Creative Cloud</b><br>
(CC)<br>
<i><a href="https://iconduck.com/icons/240218/adobe-creative-cloud">Icon</a> under <a href="https://iconduck.com/licenses/mit">MIT license</a>.</i>
</td>
<!-- Adobe Illustrator -->
<td>
<img src="apps/illustrator-cc/icon.svg" width="100">
</td>
<td>
<b>Adobe Illustrator</b><br>
(CC)<br>
<i><a href="https://commons.wikimedia.org/wiki/File:Adobe_Illustrator_CC_icon.svg">Icon</a> in the Public Domain.</i>
</td>
2024-07-16 12:04:25 +10:00
</tr>
<tr>
2024-07-17 14:13:48 +10:00
<!-- Adobe InDesign -->
<td>
<img src="apps/indesign-cc/icon.svg" width="100">
</td>
<td>
<b>Adobe InDesign</b><br>
(CC)<br>
<i><a href="https://commons.wikimedia.org/wiki/File:Adobe_InDesign_CC_icon.svg">Icon</a> in the Public Domain.</i>
</td>
<!-- Adobe Lightroom -->
<td>
<img src="apps/lightroom-cc/icon.svg" width="100">
</td>
<td>
<b>Adobe Lightroom</b><br>
(CC)<br>
<i><a href="https://commons.wikimedia.org/wiki/File:Adobe_Photoshop_Lightroom_CC_logo.svg">Icon</a> in the Public Domain.</i>
</td>
2024-07-16 12:04:25 +10:00
</tr>
<tr>
2024-07-17 14:13:48 +10:00
<!-- Adobe Photoshop -->
<td>
<img src="apps/photoshop-cc/icon.svg" width="100">
</td>
<td>
<b>Adobe Photoshop</b><br>
(CS6, CC)<br>
<i><a href="https://commons.wikimedia.org/wiki/File:Adobe_Photoshop_CC_icon.svg">Icon</a> in the Public Domain.</i>
</td>
<!-- Command Prompt -->
<td>
<img src="apps/cmd/icon.svg" width="100">
</td>
<td>
<b>Command Prompt</b><br>
(cmd.exe)<br>
<i><a href="https://github.com/microsoft/terminal/blob/main/res/terminal/Terminal.svg">Icon</a> under <a href="https://github.com/microsoft/terminal/blob/main/LICENSE">MIT license</a>.</i>
</td>
2024-07-16 12:04:25 +10:00
</tr>
<tr>
2024-07-17 14:13:48 +10:00
<!-- File Explorer -->
<td>
<img src="apps/explorer/icon.svg" width="100">
</td>
<td>
<b>File Explorer</b><br>
(Windows Explorer)<br>
<i><a href="https://commons.wikimedia.org/wiki/File:Windows_Explorer.svg">Icon</a> in the Public Domain.</i>
</td>
<!-- Internet Explorer -->
<td>
<img src="apps/iexplorer/icon.svg" width="100">
</td>
<td>
<b>Internet Explorer</b><br>
(11)<br>
<i><a href="https://commons.wikimedia.org/wiki/File:Internet_Explorer_10%2B11_logo.svg">Icon</a> in the Public Domain.</i>
</td>
2024-07-16 12:04:25 +10:00
</tr>
<tr>
2024-07-17 14:13:48 +10:00
<!-- Microsoft Access -->
<td>
<img src="apps/access/icon.svg" width="100">
</td>
<td>
<b>Microsoft Access</b><br>
(2016, 2019, o365)<br>
<i><a href="https://commons.wikimedia.org/wiki/File:Microsoft_Office_Access_(2019-present).svg">Icon</a> in the Public Domain.</i>
</td>
<!-- Microsoft Excel -->
<td>
<img src="apps/excel/icon.svg" width="100">
</td>
<td>
<b>Microsoft Excel</b><br>
(2016, 2019, o365)<br>
<i><a href="https://en.m.wikipedia.org/wiki/File:Microsoft_Office_Excel_(2019%E2%80%93present).svg">Icon</a> in the Public Domain.</i>
</td>
2024-07-16 12:04:25 +10:00
</tr>
<tr>
2024-07-17 14:13:48 +10:00
<!-- Microsoft Word -->
<td>
<img src="apps/word/icon.svg" width="100">
</td>
<td>
<b>Microsoft Word</b><br>
(2016, 2019, o365)<br>
<i><a href="https://en.m.wikipedia.org/wiki/File:Microsoft_Office_Word_(2019%E2%80%93present).svg">Icon</a> in the Public Domain.</i>
</td>
<!-- Microsoft OneNote -->
<td>
<img src="apps/onenote/icon.svg" width="100">
</td>
<td>
<b>Microsoft OneNote</b><br>
(2016, 2019, o365)<br>
<i><a href="https://en.m.wikipedia.org/wiki/File:Microsoft_Office_OneNote_(2019%E2%80%93present).svg">Icon</a> in the Public Domain.</i>
</td>
2024-07-16 12:04:25 +10:00
</tr>
<tr>
2024-07-17 14:13:48 +10:00
<!-- Microsoft Outlook -->
<td>
<img src="apps/outlook/icon.svg" width="100">
</td>
<td>
<b>Microsoft Outlook</b><br>
(2016, 2019, o365)<br>
<i><a href="https://en.m.wikipedia.org/wiki/File:Microsoft_Office_Outlook_(2018%E2%80%93present).svg">Icon</a> in the Public Domain.</i>
</td>
<!-- Microsoft PowerPoint -->
<td>
<img src="apps/powerpoint/icon.svg" width="100">
</td>
<td>
<b>Microsoft PowerPoint</b><br>
(2016, 2019, o365)<br>
<i><a href="https://en.m.wikipedia.org/wiki/File:Microsoft_Office_PowerPoint_(2019%E2%80%93present).svg">Icon</a> in the Public Domain.</i>
</td>
2024-07-16 12:04:25 +10:00
</tr>
<tr>
2024-07-17 14:13:48 +10:00
<!-- Microsoft Publisher -->
<td>
<img src="apps/publisher/icon.svg" width="100">
</td>
<td>
<b>Microsoft Publisher</b><br>
(2016, 2019, o365)<br>
<i><a href="https://en.m.wikipedia.org/wiki/File:Microsoft_Office_Publisher_(2019-present).svg">Icon</a> in the Public Domain.</i>
</td>
<!-- PowerShell -->
<td>
<img src="apps/powershell/icon.svg" width="100">
</td>
<td>
<b>PowerShell</b><br>
<i><a href="https://iconduck.com/icons/102322/file-type-powershell">Icon</a> under <a href="https://iconduck.com/licenses/mit">MIT license</a>.</i>
</td>
</tr>
<tr>
<!-- Windows -->
<td>
<img src="icons/windows.svg" width="100">
</td>
<td>
<b>Windows</b><br>
(Full RDP Session)<br>
<i><a href="url">Icon</a> in the Public Domain.</i>
</td>
<!-- Empty -->
<td></td>
<td></td>
2024-07-16 12:04:25 +10:00
</tr>
2023-07-08 16:13:57 +02:00
</table>
## Installation
2024-07-16 12:04:25 +10:00
### Step 1: Configure a Windows VM
2024-07-20 01:30:13 +10:00
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.
2024-07-16 12:04:25 +10:00
The following guides are available:
2024-07-19 13:13:02 +10:00
- [Creating a Windows VM with `Docker` or `Podman` ](docs/docker.md )
2024-07-20 01:30:13 +10:00
- [Creating a Windows VM with `libvirt` ](docs/libvirt.md )
2024-07-16 12:04:25 +10:00
2024-07-20 01:30:13 +10:00
If you already have a Windows VM or server you wish to use with WinApps, you will need to merge `install/RDPApps.reg` into the Windows Registry manually.
2024-07-16 12:04:25 +10:00
### Step 2: Clone WinApps Repository and Dependencies
1. Clone the WinApps GitHub repository.
```bash
git clone https://github.com/winapps-org/winapps.git && cd winapps
` ``
2. Install the required dependencies.
- Debian/Ubuntu:
` ``bash
sudo apt install -y dialog freerdp3-x11
` ``
- Fedora/RHEL:
` ``bash
sudo dnf install -y dialog freerdp
` ``
- Arch Linux:
` ``bash
sudo pacman -Syu --needed -y dialog freerdp
` ``
- Gentoo Linux:
` ``bash
sudo emerge --ask=n sys-libs/dialog net-misc/freerdp:3
` ``
2024-07-19 13:13:02 +10:00
> [!NOTE]
> WinApps requires ` FreeRDP` version 3 or later. If not available for your distribution through your package manager, you can install the [Flatpak](https://flathub.org/apps/com.freerdp.FreeRDP).
2024-07-16 18:55:58 +10:00
` ``bash
flatpak install flathub com.freerdp.FreeRDP
sudo flatpak override --filesystem=home com.freerdp.FreeRDP # To use ` +home-drive`
` ``
2024-07-16 12:04:25 +10:00
### Step 3: Create a WinApps Configuration File
Create a configuration file at ` ~/.config/winapps/winapps.conf` containing the following:
2024-04-20 22:26:22 +02:00
` ``bash
2023-07-08 16:13:57 +02:00
RDP_USER="MyWindowsUser"
RDP_PASS="MyWindowsPassword"
#RDP_DOMAIN="MYDOMAIN"
#RDP_IP="192.168.123.111"
2024-07-19 13:13:02 +10:00
#WAFLAVOR="docker" # Acceptable values are 'docker', 'podman' and 'libvirt'.
#RDP_SCALE=100 # Acceptable values are 100, 140, and 180.
2023-07-08 16:13:57 +02:00
#RDP_FLAGS=""
#MULTIMON="true"
#DEBUG="true"
2024-04-20 22:26:22 +02:00
#FREERDP_COMMAND="xfreerdp"
2023-07-08 16:13:57 +02:00
` ``
2024-04-20 22:26:22 +02:00
2024-07-17 18:51:22 +10:00
> [!NOTE]
> ` RDP_USER` and ` RDP_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.
> [!NOTE]
2024-07-19 13:13:02 +10:00
> If you wish to use an alternative WinApps backend (other than ` Docker`), uncomment and change ` WAFLAVOR="docker"` to ` WAFLAVOR="podman"` or ` WAFLAVOR="libvirt"`.
2023-07-08 16:13:57 +02:00
2024-07-16 12:04:25 +10:00
#### Configuration Options Explained
2024-07-20 01:30:13 +10:00
- 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, leave ` RDP_IP` commented out and WinApps will auto-detect the local IP address for the VM.
2024-07-16 12:04:25 +10:00
- For domain users, you can uncomment and change ` RDP_DOMAIN`.
2024-07-20 01:30:13 +10:00
- 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 the ` RDP_FLAGS` configuration option.
2024-07-16 12:04:25 +10:00
- For multi-monitor setups, you can try enabling ` MULTIMON`. A FreeRDP bug may result in a black screen however, in which case you should revert this change.
2024-07-20 01:30:13 +10:00
- 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` or ` xfreerdp3`, the correct command can be specified using ` FREERDP_COMMAND`.
2024-04-20 22:26:22 +02:00
2024-07-16 12:04:25 +10:00
### Step 4: Run the WinApps Installer
Run the WinApps installer.
2024-04-20 22:26:22 +02:00
` ``bash
2023-07-08 16:13:57 +02:00
./installer.sh
` ``
2024-04-20 22:26:22 +02:00
2024-07-16 12:04:25 +10:00
A list of supported additional arguments can be accessed by running ` ./installer.sh --help`.
2023-07-08 16:13:57 +02:00
2024-07-17 14:13:48 +10:00
<img src="demo/installer.gif" width=1000 alt="WinApps Installer Animation.">
2023-07-08 16:13:57 +02:00
2024-07-16 12:04:25 +10:00
## 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:
1. Modify the name and variables to reflect the appropriate/desired values for your application.
2. Replace ` icon.svg` with an SVG for your application (ensuring the icon is appropriately licensed).
3. Remove and reinstall WinApps.
2024-07-20 01:30:13 +10:00
4. 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).
2024-04-20 22:26:22 +02:00
2024-07-16 12:04:25 +10:00
## 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.
2024-04-20 22:26:22 +02:00
` ``bash
2023-07-08 16:13:57 +02:00
./bin/winapps manual "C:\my\directory\executableNotInPath.exe"
./bin/winapps manual executableInPath.exe
` ``
2024-07-16 12:04:25 +10:00
## Updating WinApps
The installer can be run multiple times. To update your installation of WinApps:
1. Run the WinApps installer to remove WinApps from your system.
2. Pull the latest changes from the WinApps GitHub repository.
3. Re-install WinApps using the WinApps installer.