Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/content/docs/wiki/linux/tips.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ sidebar:
order: 1
---

## Wayland Support
## Run in XWayland mode

Vesktop runs as an X11 application by default. You can override this behaviour.
Vesktop runs as a Wayland application by default on Wayland sessions. You can override this behaviour.

- If you are using Flatpak, open [Flatseal](https://flathub.org/en/apps/com.github.tchx84.Flatseal) and deny the `X11 windowing system` permission for Vesktop.
- If you are not using Flatpak, you can opt into Wayland by running vesktop with the `--ozone-platform-hint=auto` flag. To make this permanent, see [Making Command line flags permanent](#making-command-line-flags-permanent).
- If you are using Flatpak, open [Flatseal](https://flathub.org/en/apps/com.github.tchx84.Flatseal) , scroll to "Environment" and add the variable `XDG_SESSION_TYPE=x11`.
- If you are not using Flatpak, you can opt into X11 by running vesktop with the `--ozone-platform=x11` flag. To make this permanent, see [Making Command line flags permanent](#making-command-line-flags-permanent).

## GNOME Tray Icon

Expand All @@ -29,7 +29,7 @@ It should usually be in `/usr/share/applications/vesktop.desktop`.
Open it with a text editor and add your flags to the `Exec` line, after the binary path and before the `%U` (if it exists).

```
Exec=/usr/bin/vesktop --ozone-platform-hint=auto %U
Exec=/usr/bin/vesktop --ozone-platform=x11 %U
```

## Enable Middle Click Auto Scroll
Expand Down