#1395·nativefier

Linux: How to approach X11/Wayland platform differences ( particularly #1262 )

Author: seltzeredCreated Apr 17, 2022Updated Sep 6, 2023
Labelsfeature-request

Homework

Problem statement

Nativefier 47's update to electron 18 can resolve linux-wayland issue https://github.com/nativefier/nativefier/issues/1262 , but only if a user adds in options --ozone-platform=wayland --enable-features=WaylandWindowDecorations on their own at runtime.

Suggested solution

Nativefier could discern between the linux-x11 and linux-wayland platforms and add the appropriate options in the runtime.

Alternative solutions

Add documentation around creating linux desktop entries about adding --ozone-platform=wayland --enable-features=WaylandWindowDecorations. A linux user currently already has to create a desktop entry with nativefier.

Context

I'm adding this issue for conversation to ask what the appropriate solutions should be for those actively using nativefier on linux.

  • Nativefier: 47
  • OS: Ubuntu 21.10