Fixes for Electron and Chromium apps

Launch arguments and flags for Electron apps

Various launch arguments and flags for Electron apps.

Launch arguments

You need to copy the app’s .desktop file to ~/.local/share/applications/ and append it after Exec= in all entry fields.
NOTE: Arch-based distros usually have .conf files to easily handle commandline args

  • --ozone-platform-hint=auto
    Runs the app with Wayland support.
  • --enable-wayland-ime
    Enables iBus/Fcitx support.
  • --enable-features=TouchpadOverscrollHistoryNavigation
    (Use for browsers. e.g. Brave) Enables navigation via touchpad gestures.

Flags (set with chrome://flags) (mainly for browsers)

  • #ozone-platform-hint - Auto
    Enables Wayland support.
  • #wayland-ui-scaling - Enabled
    Enables Fractional Scaling support under Wayland.
  • #wayland-per-window-scaling - Enabled
    Enables per-window scaling support.
  • #wayland-text-input-v3 - Enabled
    Used to enable proper ibus support on older GNOME versions without text-input-v1 support.
  • #middle-button-autoscroll - Enabled
    Enables middle-click autoscroll.
  • #web-app-universal-install - Enabled
    Enables installation of normal websites as webapps.