Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easy CDE / X11 question 2

Status
Not open for further replies.

TSch

Technical User
Jul 12, 2001
557
DE
Hi folks,

we're using CDE on our machine for graphical applications.

Now here are some questions about that:

1) How can we automatically start certain application at CDE login / startup ?

2) How can we use .profile settings from ascii mode in dtterm on CDE ? Does this have something to do with dtprofile? What's the trick? Just uncommenting didn't work...

Thanks in advance !

Regards
Thomas
 
Not sure this helps you or not? Good luck


If you need an application to start when you log in, you can create a file in $HOME/.dt/sessions called sessionetc. In this file, type the command you would like to execute. Type this command just as you would when executing the command from a dtterm or xterm.

Example:

If you want to start Netscape when you log in and it does not start through your home session, you can create the sessionetc file and put in the following line:

/usr/bin/netscape



-------------------------------


Make CDE read your .profile.

Uncomment DTSOURCEPROFILE = TRUE in .dtprofile, or /usr/dt/config/sys.dtprofile
for global.
Ensure that all dtterm/aixterms source the .profile. Using your preferred editor, open /etc/dt/config/$LANG/sys.resources and add the following line:
*loginShell: true
Log out.
Log in.
Invoke dtterm from front panel.
To have your kshrc sourced, insert the following line in .profile.
export ENV=$HOME/.kshrc
 
It's working !

Thanks a lot !
 
It's working.

Thanks a lot !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top