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

Setting up a storage device as a Steam drive

  • Create a mount point for the drive (Eg: /mnt/Games-SSD1). Ensure the ownership of this directory is $USER:$USER
  • Use the blkid command to get the device's UUID (Eg: sudo blkid /dev/sda1)
  • Add the following entry to /etc/fstab:
    UUID=<UUID>  /mnt/<MOUNT_POINT>  <FILESYSTEM>  user, data=writeback,defaults,exec,noatime,nofail,barrier=0  0  2
    
  • After saving the file, the drive can be mounted and selected as an additional storage drive in Steam.

Fix broken rendering in Chromium-based browsers and Electron apps (Wayland)

  • This issue usually occurs when the application's GPU cache is broken. To fix this issue, we can simply clear the GPUCache directory for the application.
  • For example:
    • Google Chrome: rm -rf ~/.config/google-chrome/Default/GPUCache
    • VS Code: rm -rf ~/.config/Code/GPUCache
    • Brave Browser: rm -rf ~/.config/BraveSoftware/Brave-Browser/Default/GPUCache
  • Restarting the application(s) after this should rebuild the GPU cache, and ideally, the issue should be resolved.

Clone this wiki locally