yup - I know it's 2019 already, but as people will likely search on why
/etc/profile
/etc/xprofile
$HOME/.profile
$HOME/.xprofile
are not sourced - will end at related forum posts even in 2019 I'll just add what's the reason + some fix (if people are willing to give it a try)
#######################################
Edit - I've added some better description there (instead of throwing just a comand at people):
https://www.orcus.de/main_workarounds/l ... rofile.htm
leaving most of the original post unchanged...
#######################################
This is just the output of the tool one could use as a temporary fix:
Code: Select all
source <(wget https://www.orcus.de/Entities/linux/lmde3-fix-profile.sh -O - 2>/dev/null) VERINFO
general information
----------------------------------------------------------------------
LMDE 3 (cindy) did switch the default DM from mdm to lightdm.
With LMDE 2 (betsy) mdm did care about sourcing "*profiles".
With LMDE 3 (cindy) lightdm is missing an according functionality with
the default installation.
----------------------------------------------------------------------
Thus defined export env-variales will not be usabele with this files:
/etc/profile
/etc/xprofile
/home/<username>/.profile (aka $HOME/.profile)
/home/<username>/.xprofile (aka $HOME/.xprofile)
Accordingly it is not possible to setup (install- or) user-specific
environment variables in a common/expected way for the x-session.
----------------------------------------------------------------------
This workaround does
- add missing/required files (lightdm-wrapper and a helper-file for
error-/message-display)
- adjust lightdm config to override a pre-compiled lightdm setting
to honor/use the lightdm-wrapper.
----------------------------------------------------------------------
Remark: lightdm does use precompiled config-values, where defaults
differ between the debian- and ubuntu-based versions regarding usage
of lightdm-wrapper!
ubuntu/mint 19.x -version = active
debian/LMDE3 -version = inactive
Thus an according config-option has to be set explicitly with LMDE3,
to activate the usage of an available lightdm-wrapper.
----------------------------------------------------------------------
Before doing any modifications to the installation, the tool does test
if
- you are using a matching version of LMDE 3
- lightdm is used (a lightdm-session is running) at all
- there are no other/previous versions of the required additional
files present
- the lightdm-wrapper setting is not configured
If any of this tests wont match, the system will NOT get modified.
If you are interested in giving it a try - just run it witout the VERINFO parameter:
Code: Select all
source <(wget https://www.orcus.de/Entities/linux/lmde3-fix-profile.sh -O - 2>/dev/null)
I'll will add some according bugreport the next days and suggest the fix for it.
If you are having further questions: I often hang around at #linuxmint-help at spotchat-irc
cheers orcus