Skip to content

PATH for exec commands $HOME/.local/bin and $HOME/bin are not used #5928

Answered by waterkip
waterkip asked this question in Q&A
Discussion options

You must be logged in to vote

So for anyone reading this who has Debian. You'll need to tweak the session-wrapper of LightDM. In /usr/share/lightdm/lightdm.conf.d/01_debian.conf the session-wrapper is changed from the default /usr/bin/lightdm-session to /etc/X11/Xsession (which is provided by x11-common, via suckless-tools). You'll want to override this, you can do this either by adding a configuration item in /usr/share/lightdm/lightdm.conf.d/02_yourtweaks.conf or in /etc/lightdm/lightdm.conf. Be advised that you can either set [SeatDefault] or [Seat:*], the former is a deprecated variant btw.

Now you can create a separate wrapper script, for my testing purposes I've added a very minimal script:

#!/usr/bin/sh

for fi…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@waterkip
Comment options

@orestisfl
Comment options

@waterkip
Comment options

@waterkip
Comment options

Answer selected by waterkip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants