Update Master-Tutorial.md

Beeing more specific about forcing electron apps to use wayland.
This commit is contained in:
Blubberland 2023-10-12 19:25:28 +02:00 committed by GitHub
parent 2b306b38f7
commit c5fd4d6b24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ A lot of apps will use Wayland by default. Chromium (and other browsers based on
don't. You need to pass `--enable-features=UseOzonePlatform --ozone-platform=wayland` to them or use `.conf` files
where possible. Chromium-based browsers also should have a toggle in `chrome://flags`. Search for _"ozone"_ and select Wayland.
For most electron apps, you should put the above in `~/.config/electron-flags.conf`. VSCode is known
For most electron apps, you should put the above in `~/.config/electron{X}-flags.conf` (set electron version for {X}). VSCode is known
to not work with that though.
A few more environment variables for forcing Wayland mode are documented [here](../../Configuring/Environment-variables).