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

Fix: environment -> profile #82

Merged
merged 4 commits into from
Sep 26, 2024
Merged

Fix: environment -> profile #82

merged 4 commits into from
Sep 26, 2024

Conversation

D-Brox
Copy link
Contributor

@D-Brox D-Brox commented Sep 26, 2024

/etc/environment is not part of POSIX, it belongs to PAM (Pluggable Authentication Module), so it isn't recognized by bash. While cosmic-greeter has PAM support, cosmic-comp doesn't, so the env variable isn't being set for it. Tho I think it only works on RHEL/Fedora for historic reasons.

Meanwhile, /etc/profile is sourced by the shell when starting the compositor, so it should work in any distro.

Copy link
Collaborator

@wiiznokes wiiznokes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! There is even no need for a reboot now so its great

README.md Outdated Show resolved Hide resolved
@wiiznokes wiiznokes enabled auto-merge (squash) September 26, 2024 09:36
@wiiznokes wiiznokes disabled auto-merge September 26, 2024 09:37
@wiiznokes wiiznokes merged commit 00d83fa into cosmic-utils:master Sep 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants