Skip to content

Instantly share code, notes, and snippets.

@felipsmartins
Last active November 5, 2023 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipsmartins/59845a389ef83b873a6386cbb867f78a to your computer and use it in GitHub Desktop.
Save felipsmartins/59845a389ef83b873a6386cbb867f78a to your computer and use it in GitHub Desktop.
/etc/environment
# adicionando em 19/02/2022 para apps flatpak iniciarem no cinnamon
XDG_CURRENT_DESKTOP=GNOME
# Stop minimizing with BorderlessFullscreen
# https://steamcommunity.com/app/281990/discussions/0/357286119110496701/
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
# refresh rate multiple displays (this is only for GNOME with NVIDIA)
# https://forums.linuxmint.com/viewtopic.php?t=367756
# https://forum.manjaro.org/t/x11-doesnt-render-windows-at-144hz-while-using-double-monitor-setup-144hz-60hz/58597/11
# https://www.reddit.com/r/linux_gaming/comments/8gxhwf/nvidia_gaming_should_allow_flipping_be_disabled/
# https://askubuntu.com/questions/1252986/dual-monitors-setup-capped-at-60hz
# https://askubuntu.com/questions/1374364/ubuntu-21-10-disabled-allow-flipping-in-nvidia-x-server-settings-to-fix-refre
# https://forums.developer.nvidia.com/t/144hz-primary-monitor-limited-to-60hz-when-dual-monitor-is-enabled-nvidia-driver-bug/183243/2
# https://gitlab.gnome.org/GNOME/mutter/-/issues/1470
CLUTTER_DEFAULT_FPS=144
# valor obtido via nvidia-settings
__GL_SYNC_DISPLAY_DEVICE=DP-2
VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE=DP-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment