Sample Header Ad - 728x90

Make Emacs load .bashrc / .bash_profile when started by GUI

1 vote
1 answer
193 views
I wrote LD_LIBRARY_PATH both in .bashrc and .bash_profile. However, if I started emacs in terminal using emacs, LD_LIBRARY_PATH is shown in getenv. If I started it using GUI (installed from apt-get), there is no such variable. I am on ubuntu 20.04. How could I make GUI started emacs have the same env vars as terminal started one?
Asked by spacegoing (111 rep)
Jul 12, 2020, 11:06 AM
Last activity: Mar 29, 2024, 08:19 PM