Updated Running programs natively under Wayland (markdown)

Simon Ser 2019-05-11 12:07:55 +03:00
parent a5316a1e02
commit 08d768367e

@ -6,7 +6,7 @@ You can disable Xwayland (X clients under Wayland) support by specifying `xwayla
Wayland should be selected by default. If not, this can be overridden on a per-app basis by setting:
```
```shell
# Do not set this globally
GDK_BACKEND=wayland
CLUTTER_BACKEND=wayland
@ -18,25 +18,25 @@ Setting ```GDK_BACKEND=wayland``` however can still lead to startup crashes with
Wayland is used by default if `XDG_SESSION_TYPE=wayland` is set (ie. if you use a display manager). If not:
```
```shell
QT_QPA_PLATFORM=wayland-egl
```
To use your monitor's DPI instead of the default of 96 DPI:
```
```shell
QT_WAYLAND_FORCE_DPI=physical
```
Older versions of Qt always show window decorations. To hide them:
```
```shell
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
```
## Elementary/EFL
```
```shell
ECORE_EVAS_ENGINE=wayland_egl
ELM_ENGINE=wayland_egl
```
@ -45,7 +45,7 @@ You could set them to `wayland_shm` instead, if you want to use software renderi
## SDL
```
```shell
SDL_VIDEODRIVER=wayland
```
@ -57,6 +57,6 @@ Wayland needs to be selected at compile-time. Arch users can install `glfw-wayla
Some Java AWT applications would not display properly unless you set the following.
```
```shell
_JAVA_AWT_WM_NONREPARENTING=1
```