mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
Updated Running programs natively under Wayland (markdown)
parent
f4af5d942e
commit
e63e7b542f
|
@ -8,11 +8,11 @@ Wayland will be selected by default. Do **not** set `GDK_BACKEND`, it will break
|
||||||
|
|
||||||
Experimental Wayland support in Firefox can be enabled with `MOZ_ENABLE_WAYLAND=1`. Firefox ESR 68 also needs the `--no-remote` flag because of [a bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1555308).
|
Experimental Wayland support in Firefox can be enabled with `MOZ_ENABLE_WAYLAND=1`. Firefox ESR 68 also needs the `--no-remote` flag because of [a bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1555308).
|
||||||
|
|
||||||
LibreOffice should select Wayland by default. (If not, try `SAL_USE_VCLPLUGIN=gtk3`).
|
LibreOffice should select Wayland by default. (If not, try `SAL_USE_VCLPLUGIN=gtk3`.)
|
||||||
|
|
||||||
## Qt5
|
## Qt5
|
||||||
|
|
||||||
Wayland is used by default if `XDG_SESSION_TYPE=wayland` is set (ie. if you use a display manager). If not:
|
Wayland is used by default if `XDG_SESSION_TYPE=wayland` is set (i.e. if you use a display manager). If not:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
QT_QPA_PLATFORM=wayland-egl
|
QT_QPA_PLATFORM=wayland-egl
|
||||||
|
@ -30,7 +30,7 @@ Older versions of Qt always show window decorations. To hide them:
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
```
|
```
|
||||||
|
|
||||||
NOTE: You might need a package, such as `qtwayland5` for Ubuntu or `qt5-wayland` for Arch Linux, to enable Wayland support.
|
NOTE: To enable Wayland support, you might need a package, such as `qtwayland5` for Ubuntu or `qt5-wayland` for Arch Linux.
|
||||||
|
|
||||||
## Elementary/EFL
|
## Elementary/EFL
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ Wayland needs to be selected at compile-time. Arch users can install `glfw-wayla
|
||||||
|
|
||||||
## Java under Xwayland
|
## Java under Xwayland
|
||||||
|
|
||||||
Some Java AWT applications would not display properly unless you set the following.
|
Some Java AWT applications will not display properly unless you set the following.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
_JAVA_AWT_WM_NONREPARENTING=1
|
_JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
Loading…
Reference in a new issue