site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Share Topic
Posting?
Post a:
Post a:
Links: ·Forum FAQ ·Attitude Adjustment ·Linux docs ·DistroWatch ·OPLM ·FreeBSD Handbook
AuthorAll Replies


timcuth
Braves Fan
Premium
join:2000-09-18
Pelham, AL
Reviews:
·AT&T Southeast

reply to nixen

Re: Profile in Solaris terminal session

said by nixen:

Are we talking about how to do it in the standard DTWM graphical login? If so, just symlink your .profile to .dtprofile.
Thanks. I will try that, tomorrow.

Tim
--
"Life is like this long line, except at the end there ain't no merry-go-round." - Arthur on The King of Queens
~ Project Hope ~


timcuth
Braves Fan
Premium
join:2000-09-18
Pelham, AL
Reviews:
·AT&T Southeast

No, that doesn't work, either. I ran some tests and found that .dtprofile is not executed in the situation I am talking about. I did some research and found that it is executed when CDE starts, not when a new window is opened.

To clarify, here is what I am doing. I am right-clicking on the desktop, which brings up a Desktop menu. I slide down to Tools and click, which brings up a sub-menu. Then I click on Terminal, which opens a new window with a command prompt in it. These Terminal windows are where I do 99% of my work. When I open them, neither .dtprofile nor .profile is executed.

Tim
--
"Life is like this long line, except at the end there ain't no merry-go-round." - Arthur on The King of Queens
~ Project Hope ~



nwrickert
sand groper
Premium,MVM
join:2004-09-04
Geneva, IL
kudos:7
Reviews:
·AT&T U-Verse

If starting dtterm from the command line, you would use the option "-ls" so that it starts as a login shell. There is probably a line you can put in $HOME/.Xdefaults to force that as a default for dtterm.
--
AT&T dsl; Speedstream 5100b modem; openSuSE 11.0; firefox 3.0.11



nixen
Rockin' the Boxen
Premium
join:2002-10-04
Alexandria, VA

reply to timcuth
Normally, it executes in any subshell of the session. That said, if you didn't have it in place when you executed your dtlogin, it won't get executed when you spawn a new subshell of that session (i.e., when you open a new window).
--
The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. -- Bertrand Russell


Friday, 01-Jun 12:30:42 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics