Skip to content

Linux (All Distributions)

Nikhil Prabhu edited this page Mar 21, 2026 · 10 revisions

Force Wayland for Electron Apps (KDE Plasma)

  • Right-click on the Application Launcher > Edit Applications > <APPLICATION_NAME> > Add the following to Command-Line Arguments:
    --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto

Force an application to use the KDE Plasma file-picker

  • Right-click on the Application Launcher > Edit Applications > <APPLICATION_NAME> > Add the following environment variable
    GTK_USE_PORTAL=1

Fix Discord (Flatpak) not working with SELinux in enforcing mode ("installation is corrupted")

  • Open a Terminal and run:
    sudo ausearch -c 'Discord' --raw | audit2allow -M discord
    sudo semodule -i discord.pp

Clone this wiki locally