Forum › Forums › New users › New Users and General Questions › PATH not changing in X? › Reply To: PATH not changing in X?
October 23, 2019 at 8:46 pm
#28473
Member
::
I installed antix and installed a program un the /opt directory. So I need to modify the PATH var for all users. so I created a shell script in the /etc/profile.d directory. But It doesn’t run. It runs in other terminals (tty2 tty3).
So whit some help I found this post:
https://askubuntu.com/questions/438150/scripts-in-etc-profile-d-being-ignored
So I understand that the graphic environment is not running /etc/profile.
How can I change that? I need it to run it for all users.
Edit:
Merged topics as these are of the same issue.
- This reply was modified 3 years, 6 months ago by Dave.
- This reply was modified 3 years, 6 months ago by Dave.