
KDE 1.1.2 on Solaris 2.7 login processing
Yeah, I noticed that to. Here is what I did (I will assume you do not know
Bourne Shell syntax for the examples.):
I created a file called '.kdeprofile' in my home directory. In it, I set
anything I wanted at login time (i.e. CLASSPATH, LD_LIB, PATH ...), BUT you
should use Bourne Shell syntax, NOT C-Shell. Also, make sure you 'export'
these envs.
Next, I edited the file startkde.patriotnet... (I forgot the whole name)
which is located in /usr/local/kde/etc (I think... it could be in 'lib'
instead of 'etc'. Your best bet is to see where the link in
/usr/local/bin/startkde points to). After all default values are set
(before the 'xmodmap' command), I placed this:
if [ $HOME/.kdeprofile ] ; then
. $HOME/.kdeprofile
fi
This reads as:
Hey, if there is a file named '.kdeprofile' in this persons home
directory, then source it (in Bourne Shell this is a dot '.').
NOTE: Spaces are very important in Bourne Shell. If you don't have them
between the 'if' and the '[', as well as the test and the ']', you will get
errors. I am not sure about the ';' and the 'then', but I place them there
& they work.
Also, if you want to set some default properties for you xterm (as I do)
like scroll bars, scroll lines & colors, you can place them in a
'.Xdefaults' file and use the same stuff as above like so:
if [ $HOME/.Xdefaults ] ; then
/usr/openwin/bin/xrdb -merge $HOME/.Xdefaults
fi
Let me know if this helps, or if you found another way.
Dan Smith
--
"The nice thing about standards is that there's so many to choose from."
-- Andrew S. Tannenbaum