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

cinnamon-session: make sure wayland sessions get a login shell #161

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

bobby285271
Copy link
Contributor

@bobby285271 bobby285271 commented Dec 23, 2023

Users expect their shell profiles to get sourced at startup, which doesn't happen with wayland sessions.

This commit brings back that feature, by making the cinnamon-session wrapper script run a login shell.

ref: https://gitlab.gnome.org/GNOME/gnome-session/-/commit/7e307f8ddb91db5d4051c4c792519a660ba67f35


Edit: See the comments in NixOS/nixpkgs#276060 for background I guess, in the original issue we want to append some paths to GI_TYPELIB_PATH in /etc/profiles but when checking imports.gi.GIRepository.Repository.get_search_path() in Melange we found that this does not work, the issue only seems to happen with the combination of GDM + Cinnamon Wayland so far (this GDM issue).

Users expect their shell profiles to get sourced at startup, which
doesn't happen with wayland sessions.

This commit brings back that feature, by making the cinnamon-session
wrapper script run a login shell.

ref: https://gitlab.gnome.org/GNOME/gnome-session/-/commit/7e307f8ddb91db5d4051c4c792519a660ba67f35
mkg20001 added a commit to mkg20001/nixpkgs that referenced this pull request Dec 24, 2023
This adds the patch from linuxmint/cinnamon-session#161
to fix an issue with services.xserver.cinnamon.sessionPath not being correctly applied
when using gdm + wayland and possibly other combinations
marcusramberg pushed a commit to marcusramberg/nixpkgs that referenced this pull request Dec 30, 2023
This adds the patch from linuxmint/cinnamon-session#161
to fix an issue with services.xserver.cinnamon.sessionPath not being correctly applied
when using gdm + wayland and possibly other combinations
@mtwebster mtwebster merged commit 60fd654 into linuxmint:master Jan 31, 2024
@bobby285271 bobby285271 deleted the login-shell-wayland branch January 31, 2024 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants