Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use new env variables to detect GNOME
The environment variable GNOME_SETUP_DISPLAY is not reliably set since GNOME 45. By contrast, it seems that env variables XDG_CURRENT_DESKTOP and XDG_SESSION_DESKTOP are reliably set from now on. As a fallback, the user can deliberately set up the `GSCONNECT_MODE` environment variable as `cli` to claim the cli mode. Fix #1706
- Loading branch information