Skip to content

About

Microsoft Excel and PowerPoint on Linux as near-native windows, fast and smooth. One-command setup fully localized in the project folder.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

fast-msoffice-linux

fast-msoffice-linux

Run Excel and PowerPoint on Linux as native-feeling windows, with low latency.

This repo is specifically optimized for low latency and responsiveness, so typing, scrolling, and dragging feel local rather than remote. Each app gets its own window, icon, and Alt-Tab entry, while the underlying Windows VM runs fully headless.

Setup takes a single command, installing all dependencies within the project folder with nothing installed system-wide.

License Platform KVM Stars

Get started · Performance · Alternatives · Full guide


PowerPoint and Excel running as native windows on Fedora

PowerPoint and Excel in the GNOME overview, each with its own icon.


Get started

git clone https://github.com/whitehole07/fast-msoffice-linux
cd fast-msoffice-linux

./install.sh      # installs Windows and Office, no questions asked
./powerpoint.sh   # a real PowerPoint window

One thing you have to do yourself: grab a Windows 11 ISO and drop it in vm/iso/. Microsoft hands out session-scoped download links and blocks scripted requests, so nobody can automate that part reliably. No product key and no account needed.

After that you can walk away. Windows partitions the disk, installs itself, makes an account, applies all the tuning below, pulls down Office, and puts Excel and PowerPoint in your application menu.

Read the full guide →


Performance

This is the part the project is built around.

KVM runs the guest on the host CPU, so compute is close to native from the start. The latency comes from the layers above it, and a stock Windows VM leaves every one of them at a default that costs responsiveness. Each is addressed during installation:

Setting Effect
Virtualization-Based Security disabled Windows 11 runs a hypervisor inside the VM for Memory Integrity. Nested virtualisation adds cost to every context switch
DWMFRAMEINTERVAL=15 Windows throttles RDP compositing to roughly 30 fps; this targets 60
/gfx:AVC420 H.264 4:2:0 halves the encode cost of 4:4:4. Encoding is the bottleneck during continuous motion
Office hardware acceleration disabled With no GPU, Office's Direct3D path falls back to a software rasteriser slower than its own drawing code
hv_passthrough Exposes every Hyper-V enlightenment the host supports: paravirtualised timers, interrupts, spinlocks, TLB flushes
virtio devices, 6 vCPU, 8 GB Compositing is CPU-bound without a GPU, and RDP runs over loopback

None of it requires configuration. See the guide for the reasoning behind each one.


Alternatives

Each of the usual options gives something up:

Office Online Browser only, reduced feature set
LibreOffice Complex .pptx formatting does not survive the round trip
Wine Microsoft 365 will not install.
A plain VM Works, but you are working inside a Windows desktop

This uses RemoteApp, the RDP extension that publishes individual application windows rather than a full desktop. The VM runs headless and the applications appear as ordinary windows.


It stays in one folder

Nothing gets installed on your system. QEMU is called directly with no libvirt daemon anywhere, and FreeRDP is unpacked into opt/ instead of installed.

./lib/setup-desktop.sh --remove   # takes the menu entries back out
rm -rf fast-msoffice-linux        # Windows, Office, the VM, gone

Using it

Command
./powerpoint.sh, ./excel.sh Office, as normal windows
./desktop.sh Full Windows desktop, handy for installing add-ins
./vm.sh start · headless · stop · status Control the VM
./lib/setup-desktop.sh --remove Remove the menu entries

Launching an app starts the VM if it isn't already up, and closing the last window shuts it down again a quarter of an hour later, so it is not holding memory while you are doing something else. Your home directory is mounted inside Windows, so your files stay where they are.

Double-clicking a spreadsheet or a deck works as well: both apps show up under "Open With", can be made the default, and the files carry the Office icon in your file manager.


How it works

   your desktop                      inside the VM
  ┌───────────────┐                ┌──────────────────┐
  │ PowerPoint    │◄── RemoteApp ──┤ PowerPoint       │
  │ window        │     over RDP   │ (real Windows)   │
  └───────────────┘                └──────────────────┘
        FreeRDP  ────── loopback ──────►  QEMU/KVM

KVM runs the guest on your CPU. QEMU provides the virtual hardware, with no libvirt involved. swtpm fakes the TPM 2.0 chip that Windows 11 insists on. OVMF is the UEFI firmware. RemoteApp publishes one app rather than a desktop, and FreeRDP draws it as a native window.


What you need

  • A CPU with virtualisation (VT-x or AMD-V), about 80 GB of disk, 16 GB of RAM is comfortable
  • A Microsoft 365 subscription for Office. Windows itself needs no licence key
  • qemu-kvm swtpm swtpm-tools edk2-ovmf genisoimage cpio curl

Windows installs and runs indefinitely without activation. You get a watermark and you can't change the wallpaper. Nothing else is restricted, and Office is licensed by your subscription either way.


MIT licensed. Not affiliated with Microsoft.

About

Microsoft Excel and PowerPoint on Linux as near-native windows, fast and smooth. One-command setup fully localized in the project folder.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages