Skip to content

Commit

Permalink
Set ELECTRON_OZONE_PLATFORM_HINT=auto as the default
Browse files Browse the repository at this point in the history
Fixes rendering issues and crashing of electron apps when using the NVIDIA drivers. 

This makes the electron applications (flatpak or not) to detect the type of session and act accordingly.

https://www.electronjs.org/docs/latest/api/environment-variables#electron_ozone_platform_hint-linux
  • Loading branch information
polkaulfield authored Jun 24, 2024
1 parent b5eeaaf commit 42a20de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system_files/shared/usr/etc/environment
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ELECTRON_OZONE_PLATFORM_HINT=auto

0 comments on commit 42a20de

Please sign in to comment.