fix(lightdm): load Home Manager environment in X session #82
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/dotfiles!82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/fix-lightdm-home-manager-env"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
~/.xprofileso Arch LightDM loads the standalone Home Manager session environment before Qtile startsXDG_DATA_DIRSsoj4-dmenu-desktopdiscovers Home Manager.desktopfilesRoot cause
Arch LightDM starts Qtile through
/etc/lightdm/Xsession, not~/.xinitrc. The wrapper sources~/.xprofile, so the Home Manager environment needs to be established there. Without the Home Manager profile inXDG_DATA_DIRS, applications such as Brave remain installed but are invisible toj4-dmenu-desktop.Deployment
The repository uses GNU Stow, so after pulling the merge,
stow .will link.xprofileinto the home directory. A new LightDM login is required for the session environment to be rebuilt.