Dr. Nikolaus Klepp via tde-users wrote on 11/5/24 08:39:
Anno domini 2024 Tue, 5 Nov 08:17:53 -0700
D. R. Evans via tde-users scripsit:
I'm sure this is easy, but I haven't been able to find the right place to do
it :-(
How do I set the value of an environment variable so that when I run a program
from the main T menu, the program will automatically get the correct value of
the variable?
I looked at Trinity Control Centre (which is where I expected to find
something labelled "Environment Variables", or something similar) but I don't
see anything like that there.
Doc
The usual suspects are:
.profile
.bashrc
These are read when TDE sets up the session, so when you change them and do not use bash to start the programs you'll need to restart the current TDE session.
Nope, neither of those works :-(
I tried exporting the environment variable in ~/.profile, logged out, logged
back in, and ran the relevant program from the menu; it behaved as if the
environment variable was not set.
Did the same with ~/.bashrc, with the same result.
Doc
--
Web: http://enginehousebooks.com/drevans
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx