Add Wayland env variables

This commit is contained in:
Aleksey Samoilov 2023-05-22 19:39:55 +04:00
parent eb0254ce9a
commit b039ece588
2 changed files with 26 additions and 0 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
tileos-settings-river (0.2~tileos) unstable; urgency=medium
* Add Wayland env variables
-- Aleksey Samoilov <samoilov.lex@gmail.com> Mon, 22 May 2023 19:39:22 +0400
tileos-settings-river (0.1~tileos) unstable; urgency=medium
* Initial Release.

20
etc/profile.d/river.sh Executable file
View file

@ -0,0 +1,20 @@
# Set XDG_CURRENT_DESKTOP to River (for screencasting and screensharing capabilities)
export XDG_CURRENT_DESKTOP=river
# TileOS specific config dir
export XDG_CONFIG_DIRS=/etc/xdg/xdg-tileos:/etc/xdg
# Force Wayland for Mozilla Firefox
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
# Force Wayland for Qt apps
export QT_QPA_PLATFORM="wayland;xcb"
export QT_QPA_PLATFORMTHEME=qt5ct
# Force Wayland for EFL (Enlightenment) apps
export ECORE_EVAS_ENGINE="wayland-egl"
export ELM_ACCEL="gl"
# Java XWayland blank screens fix
export _JAVA_AWT_WM_NONREPARENTING=1