Skip to content

Instantly share code, notes, and snippets.

@PatriceBlin
Created October 11, 2023 09:26
Show Gist options
  • Save PatriceBlin/9b8f0195db93ecd7c2a067a6fea2f32a to your computer and use it in GitHub Desktop.
Save PatriceBlin/9b8f0195db93ecd7c2a067a6fea2f32a to your computer and use it in GitHub Desktop.
cat ~/.config/environment.d/*
# Ghidra and Android-Studio
_JAVA_AWT_WM_NONREPARENTING=1
# Sway/Nvidia
# https://forum.endeavouros.com/t/sway-with-nvidia-tutorial/23733
WLR_NO_HARDWARE_CURSORS=1
# Nvidia drivers
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
QT_QPA_PLATFORM="wayland;xcb;wayland-egl"
QT_AUTO_SCREEN_SCALE_FACTOR=1
# https://www.qt.io/blog/2018/05/29/whats-new-in-qt-5-11-for-the-wayland-platform-plugin
# Fallback to X11 if Wayland is not available (needs xwayland)
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
GDK_BACKEND=wayland
MOZ_ENABLE_WAYLAND=1
# https://bugzilla.mozilla.org/show_bug.cgi?id=1609134
MOZ_DBUS_REMOTE=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment