Operating System - HP-UX
1836109 Members
2269 Online
110089 Solutions
New Discussion

Sourcing .profile when using CDE

 
Cara Tock
Regular Advisor

Sourcing .profile when using CDE

My .profile will not source when I am using CDE. I changed the line in .dtprofile to enable sourcing of my .profile but this does not work. I know there is another place to enable this, but I forgot where. Can anyone give me a suggestion. Thanks
4 REPLIES 4
Alex Glennie
Honored Contributor

Re: Sourcing .profile when using CDE

from within a dtterm run :

#dterm -ls ... is your .profile sourced now ?

if yes vi .Xdefaults and add line similar to :

dtterm*loginShell : True .... see man dtterm for exact details/syntax etc
Alex Glennie
Honored Contributor

Re: Sourcing .profile when using CDE

from within a dtterm run :

#dtterm -ls ... is your .profile sourced now ?

if yes vi .Xdefaults and add line similar to :

dtterm*loginShell : True .... see man dtterm for exact details/syntax etc
Cara Tock
Regular Advisor

Re: Sourcing .profile when using CDE

I added the line DTSOURCEPROFILE=true to the file /etc/dt/config/Xsession.d/0010.sourceprofile and that worked. I found it just after I posted. I will try the other method to see if it works as well. Thanks.
Lou Zirko_1
Frequent Advisor

Re: Sourcing .profile when using CDE

You can also modify your local .profile as stated in the comments contained in the file /usr/dt/config/sys.dtprofile and uncomment the last line in that file (usually the last line) if you want to make is a system-wide change.

DTSOURCEPROFILE=true

Lou Zirko