Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically set XDG_SESSION_TYPE based on session file location #31

Open
hexchain opened this issue Jun 13, 2023 · 0 comments · May be fixed by #16
Open

Automatically set XDG_SESSION_TYPE based on session file location #31

hexchain opened this issue Jun 13, 2023 · 0 comments · May be fixed by #16
Labels
enhancement New feature or request

Comments

@hexchain
Copy link

Currently, ReGreet does not set XDG_SESSION_TYPE by default, and it is not possible to set different variables for different sessions.

This can be a problem for some desktop environment components. For example, pam_kwallet5.so checks for a desktop session by checking if XDG_SESSION_TYPE is x11 or wayland, and does nothing if the variable is absent. When this happens the KWallet keyring will not be automatically unlocked on login.

It would be nice if ReGreet could treat xsessions and wayland-sessions differently and set this variable before starting the session (like GDM and SDDM).

@rharish101 rharish101 added the enhancement New feature or request label Jun 14, 2023
rharish101 added a commit that referenced this issue Aug 4, 2024
@rharish101 rharish101 linked a pull request Aug 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants