Repository: Fmstrat/winapps
Branch: main
Commit: 5431f94596ba
Files: 64
Total size: 86.5 KB
Directory structure:
gitextract_bxio7kfp/
├── README.md
├── apps/
│ ├── access/
│ │ └── info
│ ├── access-o365/
│ │ └── info
│ ├── access-o365-x86/
│ │ └── info
│ ├── access-x86/
│ │ └── info
│ ├── acrobat-reader-dc/
│ │ └── info
│ ├── acrobat-x-pro/
│ │ └── info
│ ├── adobe-cc/
│ │ └── info
│ ├── aftereffects-cc/
│ │ └── info
│ ├── audition-cc/
│ │ └── info
│ ├── bridge-cc/
│ │ └── info
│ ├── bridge-cs6/
│ │ └── info
│ ├── bridge-cs6-x86/
│ │ └── info
│ ├── cmd/
│ │ └── info
│ ├── excel/
│ │ └── info
│ ├── excel-o365/
│ │ └── info
│ ├── excel-o365-x86/
│ │ └── info
│ ├── excel-x86/
│ │ └── info
│ ├── explorer/
│ │ └── info
│ ├── iexplorer/
│ │ └── info
│ ├── illustrator-cc/
│ │ └── info
│ ├── indesign-cc/
│ │ └── info
│ ├── lightroom-cc/
│ │ └── info
│ ├── onenote/
│ │ └── info
│ ├── onenote-o365/
│ │ └── info
│ ├── onenote-o365-x86/
│ │ └── info
│ ├── onenote-x86/
│ │ └── info
│ ├── outlook/
│ │ └── info
│ ├── outlook-o365/
│ │ └── info
│ ├── outlook-o365-x86/
│ │ └── info
│ ├── outlook-x86/
│ │ └── info
│ ├── photoshop-cc/
│ │ └── info
│ ├── photoshop-cs6/
│ │ └── info
│ ├── photoshop-cs6-x86/
│ │ └── info
│ ├── powerpoint/
│ │ └── info
│ ├── powerpoint-o365/
│ │ └── info
│ ├── powerpoint-o365-x86/
│ │ └── info
│ ├── powerpoint-x86/
│ │ └── info
│ ├── powershell/
│ │ └── info
│ ├── powershell-core/
│ │ └── info
│ ├── premiere-pro-cc/
│ │ └── info
│ ├── project/
│ │ └── info
│ ├── project-o365/
│ │ └── info
│ ├── project-o365-x86/
│ │ └── info
│ ├── project-x86/
│ │ └── info
│ ├── publisher/
│ │ └── info
│ ├── publisher-o365/
│ │ └── info
│ ├── publisher-o365-x86/
│ │ └── info
│ ├── publisher-x86/
│ │ └── info
│ ├── vs-community-2019/
│ │ └── info
│ ├── vs-enterprise-2019/
│ │ └── info
│ ├── vs-professional-2019/
│ │ └── info
│ ├── word/
│ │ └── info
│ ├── word-o365/
│ │ └── info
│ ├── word-o365-x86/
│ │ └── info
│ └── word-x86/
│ └── info
├── bin/
│ └── winapps
├── docs/
│ └── KVM.md
├── install/
│ ├── ExtractPrograms.ps1
│ ├── RDPApps.reg
│ └── inquirer.sh
├── installer.sh
└── kvm/
├── RDPWindows.qcow2
└── RDPWindows.xml
================================================
FILE CONTENTS
================================================
================================================
FILE: README.md
================================================
# WinApps for Linux
Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration for right clicking on files of specific mime types to open them.
***Proud to have made the top spot on [r/linux](https://www.reddit.com/r/linux) on launch day.***
## How it works
WinApps was created as an easy, one command way to include apps running inside a VM (or on any RDP server) directly into GNOME as if they were native applications. WinApps works by:
- Running a Windows RDP server in a background VM container
- Checking the RDP server for installed applications such as Microsoft Office
- If those programs are installed, it creates shortcuts leveraging FreeRDP for both the CLI and the GNOME tray
- Files in your home directory are accessible via the `\\tsclient\home` mount inside the VM
- You can right click on any files in your home directory to open with an application, too
## Currently supported applications
### WinApps supports ***ANY*** installed application on your system.
It does this by:
1. Scanning your system for offically configured applications (below)
2. Scanning your system for any other EXE files with install records in the Windows Registry
Any officially configured applications will have support for high-resolution icons and mime types for automatically detecting what files can be opened by each application. Any other detected executable files will leverage the icons pulled from the EXE.
Note: The officially configured application list below is fueled by the community, and therefore some apps may be untested by the WinApps team.
 | Adobe Acrobat Pro (X) |
 | Adobe Acrobat Reader (DC) |
 | Adobe After Effects (CC) |
 | Adobe Audition (CC) |
 | Adobe Bridge (CS6, CC) |
 | Adobe Creative Cloud (CC) |
 | Adobe Illustrator (CC) |
 | Adobe InDesign (CC) |
 | Adobe Lightroom (CC) |
 | Adobe Photoshop (CS6, CC) |
 | Adobe Premiere Pro (CC) |
 | Command Prompt (cmd.exe) |
 | Explorer (File Manager) |
 | Internet Explorer (11) |
 | Microsoft Access (2016, 2019, o365) |
 | Microsoft Excel (2016, 2019, o365) |
 | Microsoft Word (2016, 2019, o365) |
 | Microsoft OneNote (2016, 2019, o365) |
 | Microsoft Outlook (2016, 2019, o365) |
 | Microsoft PowerPoint (2016, 2019, o365) |
 | Microsoft Project (2016, 2019, o365) |
 | Microsoft Publisher (2016, 2019, o365) |
 | Powershell (Standard, Core) |
 | Visual Studio (2019 - Ent|Pro|Com) |
 | Windows (Full RDP session) |
| |
## Documentation
Latest documentation available at: [https://nowsci.com/winapps/](https://nowsci.com/winapps/)
================================================
FILE: apps/access/info
================================================
# GNOME shortcut name
NAME="Access"
# Used for descriptions and window class
FULL_NAME="Microsoft Access"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\root\Office16\MSACCESS.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/x-msaccess;"
================================================
FILE: apps/access-o365/info
================================================
# GNOME shortcut name
NAME="Access"
# Used for descriptions and window class
FULL_NAME="Microsoft Access"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\Office16\MSACCESS.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/x-msaccess;"
================================================
FILE: apps/access-o365-x86/info
================================================
# GNOME shortcut name
NAME="Access"
# Used for descriptions and window class
FULL_NAME="Microsoft Access"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\Office16\MSACCESS.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/x-msaccess;"
================================================
FILE: apps/access-x86/info
================================================
# GNOME shortcut name
NAME="Access"
# Used for descriptions and window class
FULL_NAME="Microsoft Access"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\root\Office16\MSACCESS.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/x-msaccess;"
================================================
FILE: apps/acrobat-reader-dc/info
================================================
# GNOME shortcut name
NAME="Acrobat Reader DC"
# Used for descriptions and window class
FULL_NAME="Acrobat Reader DC"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe"
# GNOME categories
CATEGORIES="WinApps;Documents"
# GNOME mimetypes
MIME_TYPES="application/pdf;"
================================================
FILE: apps/acrobat-x-pro/info
================================================
# GNOME shortcut name
NAME="Acrobat X Pro"
# Used for descriptions and window class
FULL_NAME="Acrobat X Pro"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe"
# GNOME categories
CATEGORIES="WinApps;Documents"
# GNOME mimetypes
MIME_TYPES="application/pdf;"
================================================
FILE: apps/adobe-cc/info
================================================
# GNOME shortcut name
NAME="Creative Cloud"
# Used for descriptions and window class
FULL_NAME="Adobe Creative Cloud"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe Creative Cloud\ACC\Creative Cloud.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES=""
================================================
FILE: apps/aftereffects-cc/info
================================================
# GNOME shortcut name
NAME="After Effects CC"
# Used for descriptions and window class
FULL_NAME="Adobe After Effects CC"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe After Effects 2020\Support Files\AfterFX.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES="application/vnd.adobe.aftereffects.project;application/vnd.adobe.aftereffects.template;"
================================================
FILE: apps/audition-cc/info
================================================
# GNOME shortcut name
NAME="Audition CC"
# Used for descriptions and window class
FULL_NAME="Adobe Audition CC"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe Audition 2020\Adobe Audition.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES=""
================================================
FILE: apps/bridge-cc/info
================================================
# GNOME shortcut name
NAME="Bridge CS6"
# Used for descriptions and window class
FULL_NAME="Adobe Bridge CS6"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe Bridge CS6 (64 Bit)\Bridge.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES="image/vnd.adobe.photoshop;"
================================================
FILE: apps/bridge-cs6/info
================================================
# GNOME shortcut name
NAME="Bridge CS6"
# Used for descriptions and window class
FULL_NAME="Adobe Bridge CS6"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe Bridge 2020\Bridge.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES="image/vnd.adobe.photoshop;"
================================================
FILE: apps/bridge-cs6-x86/info
================================================
# GNOME shortcut name
NAME="Bridge CS6"
# Used for descriptions and window class
FULL_NAME="Adobe Bridge CS6"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Adobe\Adobe Bridge CS6\Bridge.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES="image/vnd.adobe.photoshop;"
================================================
FILE: apps/cmd/info
================================================
# GNOME shortcut name
NAME="Cmd"
# Used for descriptions and window class
FULL_NAME="Command Prompt"
# The executable inside windows
WIN_EXECUTABLE="C:\Windows\System32\cmd.exe"
# GNOME categories
CATEGORIES="WinApps;Windows"
# GNOME mimetypes
MIME_TYPES=""
================================================
FILE: apps/excel/info
================================================
# GNOME shortcut name
NAME="Excel"
# Used for descriptions and window class
FULL_NAME="Microsoft Excel"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\Office16\EXCEL.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-excel.addin.macroEnabled.12;application/vnd.ms-excel.sheet.binary.macroEnabled.12;"
================================================
FILE: apps/excel-o365/info
================================================
# GNOME shortcut name
NAME="Excel"
# Used for descriptions and window class
FULL_NAME="Microsoft Excel"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-excel.addin.macroEnabled.12;application/vnd.ms-excel.sheet.binary.macroEnabled.12;"
================================================
FILE: apps/excel-o365-x86/info
================================================
# GNOME shortcut name
NAME="Excel"
# Used for descriptions and window class
FULL_NAME="Microsoft Excel"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-excel.addin.macroEnabled.12;application/vnd.ms-excel.sheet.binary.macroEnabled.12;"
================================================
FILE: apps/excel-x86/info
================================================
# GNOME shortcut name
NAME="Excel"
# Used for descriptions and window class
FULL_NAME="Microsoft Excel"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\Office16\EXCEL.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-excel.addin.macroEnabled.12;application/vnd.ms-excel.sheet.binary.macroEnabled.12;"
================================================
FILE: apps/explorer/info
================================================
# GNOME shortcut name
NAME="Explorer"
# Used for descriptions and window class
FULL_NAME="Microsoft Explorer"
# The executable inside windows
WIN_EXECUTABLE="C:\Windows\explorer.exe"
# GNOME categories
CATEGORIES="WinApps;Windows"
# GNOME mimetypes
MIME_TYPES=""
================================================
FILE: apps/iexplorer/info
================================================
# GNOME shortcut name
NAME="Internet Explorer"
# Used for descriptions and window class
FULL_NAME="Internet Explorer"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Internet Explorer\iexplore.exe"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;"
================================================
FILE: apps/illustrator-cc/info
================================================
# GNOME shortcut name
NAME="Illustrator CC"
# Used for descriptions and window class
FULL_NAME="Adobe Illustrator CC"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe Illustrator 2021\Support Files\Contents\Windows\Illustrator.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES="application/illustrator;"
================================================
FILE: apps/indesign-cc/info
================================================
# GNOME shortcut name
NAME="InDesign CC"
# Used for descriptions and window class
FULL_NAME="Adobe InDesign CC"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe InDesign 2021\InDesign.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES="application/x-adobe-indesign-interchange;application/x-adobe-indesign;"
================================================
FILE: apps/lightroom-cc/info
================================================
# GNOME shortcut name
NAME="Lightroom CC"
# Used for descriptions and window class
FULL_NAME="Adobe Lightroom CC"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe Lightroom CC\lightroom.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES=""
================================================
FILE: apps/onenote/info
================================================
# GNOME shortcut name
NAME="OneNote"
# Used for descriptions and window class
FULL_NAME="Microsoft OneNote"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\Office16\ONENOTE.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msonenote;"
================================================
FILE: apps/onenote-o365/info
================================================
# GNOME shortcut name
NAME="OneNote"
# Used for descriptions and window class
FULL_NAME="Microsoft OneNote"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\root\Office16\ONENOTE.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msonenote;"
================================================
FILE: apps/onenote-o365-x86/info
================================================
# GNOME shortcut name
NAME="OneNote"
# Used for descriptions and window class
FULL_NAME="Microsoft OneNote"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\root\Office16\ONENOTE.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msonenote;"
================================================
FILE: apps/onenote-x86/info
================================================
# GNOME shortcut name
NAME="OneNote"
# Used for descriptions and window class
FULL_NAME="Microsoft OneNote"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\Office16\ONENOTE.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msonenote;"
================================================
FILE: apps/outlook/info
================================================
# GNOME shortcut name
NAME="Outlook"
# Used for descriptions and window class
FULL_NAME="Microsoft Outlook"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\Office16\OUTLOOK.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-outlook;application/octet-stream;"
================================================
FILE: apps/outlook-o365/info
================================================
# GNOME shortcut name
NAME="Outlook"
# Used for descriptions and window class
FULL_NAME="Microsoft Outlook"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-outlook;application/octet-stream;"
================================================
FILE: apps/outlook-o365-x86/info
================================================
# GNOME shortcut name
NAME="Outlook"
# Used for descriptions and window class
FULL_NAME="Microsoft Outlook"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\root\Office16\OUTLOOK.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-outlook;application/octet-stream;"
================================================
FILE: apps/outlook-x86/info
================================================
# GNOME shortcut name
NAME="Outlook"
# Used for descriptions and window class
FULL_NAME="Microsoft Outlook"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\Office16\OUTLOOK.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-outlook;application/octet-stream;"
================================================
FILE: apps/photoshop-cc/info
================================================
# GNOME shortcut name
NAME="Photoshop CC"
# Used for descriptions and window class
FULL_NAME="Adobe Photoshop CC"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe Photoshop 2020\Photoshop.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES="image/vnd.adobe.photoshop;"
================================================
FILE: apps/photoshop-cs6/info
================================================
# GNOME shortcut name
NAME="Photoshop CS6"
# Used for descriptions and window class
FULL_NAME="Adobe Photoshop CS6"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES="image/vnd.adobe.photoshop;"
================================================
FILE: apps/photoshop-cs6-x86/info
================================================
# GNOME shortcut name
NAME="Photoshop CS6"
# Used for descriptions and window class
FULL_NAME="Adobe Photoshop CS6"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Photoshop.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES="image/vnd.adobe.photoshop;"
================================================
FILE: apps/powerpoint/info
================================================
# GNOME shortcut name
NAME="PowerPoint"
# Used for descriptions and window class
FULL_NAME="Microsoft PowerPoint"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\Office16\POWERPNT.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.ms-powerpoint.addin.macroEnabled.12;application/vnd.ms-powerpoint.presentation.macroEnabled.12;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;"
================================================
FILE: apps/powerpoint-o365/info
================================================
# GNOME shortcut name
NAME="PowerPoint"
# Used for descriptions and window class
FULL_NAME="Microsoft PowerPoint"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\root\Office16\POWERPNT.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.ms-powerpoint.addin.macroEnabled.12;application/vnd.ms-powerpoint.presentation.macroEnabled.12;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;"
================================================
FILE: apps/powerpoint-o365-x86/info
================================================
# GNOME shortcut name
NAME="PowerPoint"
# Used for descriptions and window class
FULL_NAME="Microsoft PowerPoint"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\root\Office16\POWERPNT.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.ms-powerpoint.addin.macroEnabled.12;application/vnd.ms-powerpoint.presentation.macroEnabled.12;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;"
================================================
FILE: apps/powerpoint-x86/info
================================================
# GNOME shortcut name
NAME="PowerPoint"
# Used for descriptions and window class
FULL_NAME="Microsoft PowerPoint"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\Office16\POWERPNT.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.ms-powerpoint.addin.macroEnabled.12;application/vnd.ms-powerpoint.presentation.macroEnabled.12;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;"
================================================
FILE: apps/powershell/info
================================================
# GNOME shortcut name
NAME="Powershell"
# Used for descriptions and window class
FULL_NAME="Microsoft Powershell"
# The executable inside windows
WIN_EXECUTABLE="C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"
# GNOME categories
CATEGORIES="WinApps;Windows"
# GNOME mimetypes
MIME_TYPES=""
================================================
FILE: apps/powershell-core/info
================================================
# GNOME shortcut name
NAME="Powershell Core"
# Used for descriptions and window class
FULL_NAME="Microsoft Powershell Core"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\PowerShell\7\pwsh.exe"
# GNOME categories
CATEGORIES="WinApps;Windows"
# GNOME mimetypes
MIME_TYPES=""
================================================
FILE: apps/premiere-pro-cc/info
================================================
# GNOME shortcut name
NAME="Premiere Pro CC"
# Used for descriptions and window class
FULL_NAME="Adobe Premiere Pro CC"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Adobe\Adobe Premiere Pro 2020\Adobe Premiere Pro.exe"
# GNOME categories
CATEGORIES="WinApps;Adobe"
# GNOME mimetypes
MIME_TYPES="image/vnd.adobe.premiere;"
================================================
FILE: apps/project/info
================================================
# GNOME shortcut name
NAME="Project"
# Used for descriptions and window class
FULL_NAME="Microsoft Project"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\Office16\WINPROJ.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msproj;application/msproject;application/x-msproject;application/x-ms-project;application/vnd.ms-project;"
================================================
FILE: apps/project-o365/info
================================================
# GNOME shortcut name
NAME="Project"
# Used for descriptions and window class
FULL_NAME="Microsoft Project"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\root\Office16\WINPROJ.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msproj;application/msproject;application/x-msproject;application/x-ms-project;application/vnd.ms-project;"
================================================
FILE: apps/project-o365-x86/info
================================================
# GNOME shortcut name
NAME="Project"
# Used for descriptions and window class
FULL_NAME="Microsoft Project"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\root\Office16\WINPROJ.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msproj;application/msproject;application/x-msproject;application/x-ms-project;application/vnd.ms-project;"
================================================
FILE: apps/project-x86/info
================================================
# GNOME shortcut name
NAME="Project"
# Used for descriptions and window class
FULL_NAME="Microsoft Project"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\Office16\WINPROJ.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msproj;application/msproject;application/x-msproject;application/x-ms-project;application/vnd.ms-project;"
================================================
FILE: apps/publisher/info
================================================
# GNOME shortcut name
NAME="Publisher"
# Used for descriptions and window class
FULL_NAME="Microsoft Publisher"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\Office16\MSPUB.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-publisher;"
================================================
FILE: apps/publisher-o365/info
================================================
# GNOME shortcut name
NAME="Publisher"
# Used for descriptions and window class
FULL_NAME="Microsoft Publisher"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\root\Office16\MSPUB.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-publisher;"
================================================
FILE: apps/publisher-o365-x86/info
================================================
# GNOME shortcut name
NAME="Publisher"
# Used for descriptions and window class
FULL_NAME="Microsoft Publisher"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\root\Office16\MSPUB.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-publisher;"
================================================
FILE: apps/publisher-x86/info
================================================
# GNOME shortcut name
NAME="Publisher"
# Used for descriptions and window class
FULL_NAME="Microsoft Publisher"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\Office16\MSPUB.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/vnd.ms-publisher;"
================================================
FILE: apps/vs-community-2019/info
================================================
# GNOME shortcut name
NAME="Visual Studio 2019 Community"
# Used for descriptions and window class
FULL_NAME="Visual Studio 2019 Community"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe"
# GNOME categories
CATEGORIES="WinApps;Code"
# GNOME mimetypes
# See: https://stackoverflow.com/questions/208056/what-are-the-mime-types-for-net-project-source-code-files
MIME_TYPES="text/xml;text/plain;text/x-csharp"
================================================
FILE: apps/vs-enterprise-2019/info
================================================
# GNOME shortcut name
NAME="Visual Studio 2019 Enterprise"
# Used for descriptions and window class
FULL_NAME="Visual Studio 2019 Enterprise"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\devenv.exe"
# GNOME categories
CATEGORIES="WinApps;Code"
# GNOME mimetypes
# See: https://stackoverflow.com/questions/208056/what-are-the-mime-types-for-net-project-source-code-files
MIME_TYPES="text/xml;text/plain;text/x-csharp"
================================================
FILE: apps/vs-professional-2019/info
================================================
# GNOME shortcut name
NAME="Visual Studio 2019 Professional"
# Used for descriptions and window class
FULL_NAME="Visual Studio 2019 Professional"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe"
# GNOME categories
CATEGORIES="WinApps;Code"
# GNOME mimetypes
# See: https://stackoverflow.com/questions/208056/what-are-the-mime-types-for-net-project-source-code-files
MIME_TYPES="text/xml;text/plain;text/x-csharp"
================================================
FILE: apps/word/info
================================================
# GNOME shortcut name
NAME="Word"
# Used for descriptions and window class
FULL_NAME="Microsoft Word"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\Office16\WINWORD.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msword;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.document.macroEnabled.12;application/vnd.ms-word.template.macroEnabled.12;"
================================================
FILE: apps/word-o365/info
================================================
# GNOME shortcut name
NAME="Word"
# Used for descriptions and window class
FULL_NAME="Microsoft Word"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msword;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.document.macroEnabled.12;application/vnd.ms-word.template.macroEnabled.12;"
================================================
FILE: apps/word-o365-x86/info
================================================
# GNOME shortcut name
NAME="Word"
# Used for descriptions and window class
FULL_NAME="Microsoft Word"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msword;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.document.macroEnabled.12;application/vnd.ms-word.template.macroEnabled.12;"
================================================
FILE: apps/word-x86/info
================================================
# GNOME shortcut name
NAME="Word"
# Used for descriptions and window class
FULL_NAME="Microsoft Word"
# The executable inside windows
WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\Office16\WINWORD.EXE"
# GNOME categories
CATEGORIES="WinApps;Office"
# GNOME mimetypes
MIME_TYPES="application/msword;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.document.macroEnabled.12;application/vnd.ms-word.template.macroEnabled.12;"
================================================
FILE: bin/winapps
================================================
#!/usr/bin/env bash
if [ ! -f "${HOME}/.config/winapps/winapps.conf" ] && [ ! -f "${HOME}/.winapps" ]; then
echo "You need to create a ~/.config/winapps/winapps.conf configuration. Exiting..."
exit
fi
DIR="$(dirname "$(readlink -f "$0")")"
RUN="$(date)-${RANDOM}"
if [ ! -d "${HOME}/.local/share/winapps" ]; then
mkdir -p "${HOME}/.local/share/winapps"
fi
RDP_SCALE=100
if [ -f "${HOME}/.config/winapps/winapps.conf" ]; then
. "${HOME}/.config/winapps/winapps.conf"
else
. "${HOME}/.winapps"
fi
function dprint() {
if [ "${DEBUG}" = "true" ]; then
echo "[${RUN}] ${1}" >> "${HOME}/.local/share/winapps/winapps.log"
fi
}
dprint "START"
if [ -f "${HOME}/.local/share/winapps/run" ]; then
LAST_RAN=$(stat -t -c %Y "${HOME}/.local/share/winapps/run")
dprint "LAST_RAN:${LAST_RAN}"
touch "${HOME}/.local/share/winapps/run"
THIS_RUN=$(stat -t -c %Y "${HOME}/.local/share/winapps/run")
dprint "THIS_RUN:${THIS_RUN}"
if (( $THIS_RUN - $LAST_RAN < 2 )); then
exit
fi
else
touch "${HOME}/.local/share/winapps/run"
fi
if [ -z "$(which xfreerdp)" ]; then
echo "You need xfreerdp!"
echo " sudo apt-get install -y freerdp2-x11"
exit
fi
if [ -z "${RDP_IP}" ]; then
if [ -z "$(groups |grep libvirt)" ]; then
echo "You are not a member of the libvirt group. Run the below then reboot."
echo ' sudo usermod -a -G libvirt $(whoami)'
echo ' sudo usermod -a -G kvm $(whoami)'
exit
fi
if [ -z "$(virsh list |grep RDPWindows)" ]; then
echo "RDPWindows is not running, run:"
echo " virsh start RDPWindows"
exit
fi
RDP_IP=$(virsh net-dhcp-leases default |grep RDPWindows |awk '{print $5}')
RDP_IP=${RDP_IP%%\/*}
fi
dprint "1:${1}"
dprint "2:${2}"
dprint "@:${@}"
MULTI_FLAG="span"
if [ "${MULTIMON}" = "true" ]; then
MULTI_FLAG="multimon"
fi
if [ "${1}" = "windows" ]; then
xfreerdp ${RDP_FLAGS} /d:"${RDP_DOMAIN}" /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} /scale:${RDP_SCALE} /dynamic-resolution +clipboard +auto-reconnect +home-drive /wm-class:"Microsoft Windows" 1> /dev/null 2>&1 &
elif [ "${1}" = "check" ]; then
dprint "CHECK"
xfreerdp ${RDP_FLAGS} /d:"${RDP_DOMAIN}" /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} +auto-reconnect +clipboard +home-drive -wallpaper /scale:${RDP_SCALE} /dynamic-resolution /${MULTI_FLAG} /app:"explorer.exe"
elif [ "${1}" = "manual" ]; then
dprint "MANUAL:${2}"
xfreerdp ${RDP_FLAGS} /d:"${RDP_DOMAIN}" /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} +auto-reconnect +home-drive +clipboard -wallpaper /scale:${RDP_SCALE} /dynamic-resolution /${MULTI_FLAG} /app:"${2}" 1> /dev/null 2>&1 &
elif [ "${1}" != "install" ]; then
dprint "DIR:${DIR}"
if [ -e "${DIR}/../apps/${1}/info" ]; then
. "${DIR}/../apps/${1}/info"
ICON="${DIR}/../apps/${1}/icon.svg"
elif [ -e "${HOME}/.local/share/winapps/apps/${1}/info" ]; then
. "${HOME}/.local/share/winapps/apps/${1}/info"
ICON="${HOME}/.local/share/winapps/apps/${1}/icon.svg"
elif [ -e "/usr/local/share/winapps/apps/${1}/info" ]; then
. "/usr/local/share/winapps/apps/${1}/info"
ICON="/usr/local/share/winapps/apps/${1}/icon.svg"
else
echo "You need to run 'install.sh' first."
exit 1
fi
if [ -n "${2}" ]; then
dprint "HOME:${HOME}"
FILE=$(echo "${2}" | sed 's|'"${HOME}"'|\\\\tsclient\\home|;s|/|\\|g;s|\\|\\\\|g')
dprint "FILE:${FILE}"
xfreerdp ${RDP_FLAGS} /d:"${RDP_DOMAIN}" /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} +auto-reconnect +clipboard +home-drive -wallpaper /scale:${RDP_SCALE} /dynamic-resolution /${MULTI_FLAG} /wm-class:"${FULL_NAME}" /app:"${WIN_EXECUTABLE}" /app-icon:"${ICON}" /app-cmd:"\"${FILE}\"" 1> /dev/null 2>&1 &
else
xfreerdp ${RDP_FLAGS} /d:"${RDP_DOMAIN}" /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} +auto-reconnect +clipboard +home-drive -wallpaper /scale:${RDP_SCALE} /dynamic-resolution /${MULTI_FLAG} /wm-class:"${FULL_NAME}" /app:"${WIN_EXECUTABLE}" /app-icon:"${ICON}" 1> /dev/null 2>&1 &
fi
fi
dprint "END"
================================================
FILE: docs/KVM.md
================================================
# Creating a Virtual Machine in KVM
Latest documentation available at: https://nowsci.com/#/winapps/kvm/?id=creating-a-virtual-machine-in-kvm
This step-by-step guide will take you through setting up a CPU and memory efficient virtual machine to use with WinApps leveraging KVM, an open-source virtualization software contained in most linux distributions.
## Install KVM
First up, you must install KVM and the Virtual Machine Manager. By installing `virt-manager`, you will get everything you need for your distribution:
```bash
sudo apt-get install -y virt-manager
```
## Download the Windows Professional and KVM VirtIO drivers
You will need Windows 10 Professional (or Enterprise or Server) to run RDP apps, Windows 10 Home will not suffice. You will also need drivers for VirtIO to ensure the best performance and lowest overhead for your system. You can download these at the following links.
Windows 10 ISO: https://www.microsoft.com/en-us/software-download/windows10ISO
KVM VirtIO drivers (for all distros): https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
## Create your virtual machine
The following guide will take you through the setup. If you are an expert user, you may wish to:
- [Define a VM from XML (may not work on all systems)](#define-a-vm-from-xml)
- [Run KVM in user mode](#run-kvm-in-user-mode)
Otherwise, to set up the standard way, open `virt-manager` (Virtual Machines).

Next, go to `Edit`->`Preferences`, and check `Enable XML editing`, then click the `Close` button.

Now it is time to add a new VM by clicking the `+` button.

Choose `Local install media` and click `Forward`.

Now select the location of your Windows 10 ISO, and `Automatically detect` the installation.

Set your memory and CPUs. We recommend `2` CPUs and `4096MB` for memory. We will be using a Memory Ballooning service, meaning 4096 is the maximum amount of memory the VM will ever use, but will not use this amount except when it is needed.

Choose your virtual disk size, keep in mind this is the maximum size the disk will grow to, but it will not take up this space until it needs it.

Next, name your machine `RDPWindows` so that WinApps can detect it, and choose to `Customize configuration before install`.

After clicking `Finish`, ensure under CPU that `Copy host CPU configuration` is selected, and `Apply`.
**NOTE:** Sometimes this gets turned off after Windows is installed. You should check this option after install as well.

Next, go to the `XML` tab, and edit the `