pop-os / cosmic-session

Session manager for the COSMIC desktop environment
GNU General Public License v3.0
74 stars 23 forks source link

`~/.config/environment.d` conf files are not loaded in cosmic-session #76

Open ryanabx opened 1 month ago

ryanabx commented 1 month ago

Version:

cosmic-session-1.0.0~alpha.2^git20241016.c3a35f3-1.fc41.x86_64

systemd environment files can be set in these places:

System-Wide Directories:

/etc/environment.d/
/run/environment.d/
/usr/lib/environment.d/

User-Specific Directory:

~/.config/environment.d/

I put an environment file in ~/.config/environment.d and it wasn't loaded by cosmic-session. kde's session loads it.

Drakulix commented 1 month ago

I am pretty sure, that would be a configuration issue (though I would be very curious to know what KDE does different here exactly) as all cosmic-session is doing is launching a login-shell. Loading profile and environment should be handled by that?

wiiznokes commented 1 month ago

I ran is this issue for my applet https://github.com/cosmic-utils/clipboard-manager/pull/82#issue-2549413499

ryanabx commented 4 weeks ago

I am pretty sure, that would be a configuration issue (though I would be very curious to know what KDE does different here exactly) as all cosmic-session is doing is launching a login-shell. Loading profile and environment should be handled by that?

Is this reproducible on Pop? If not it definitely could be a fedora only issue.