PDA

View Full Version : Installing KDE 3.2 via Konstruct



kovk
02-17-2004, 11:59 AM
Hi, I'm trying to upgrade the KDE 3.2 with Konstruct and I have a question which is so simple I can't believe I havn't found the answer already. I had a few hangups compiling to begin with, but after installing the proper stuff it seems to be working.

now, they want me to put the following in the .bash_profile

export QTDIR=~/kde3.2
export KDEDIR=~/kde3.2
export KDEDIRS=~/kde3.2

export LD_LIBRARY_PATH=~/kde3.2/lib
export PATH=~/kde3.2/bin:$PATH

My question, where on earth is my .bash_profile .profile ...etc
I know this is a newbie question, but I've done every search I can think of and can't find an answer.

I tried the /etc/bashrc file and also the /etc/skel/bashrc and either they aren't working right or I'm doing something wrong. If I do have to use those general files instead of one for each user I think that KDE won't work right for other users besides the one I'm compiling this for since the actual KDE install is in my home directory (/root)

I tried adding the line $HOME/.profile in both the /etc/bashrc and the etc/skel one and tried making some aliases in a .profile I created in my home directory, none of which worked when I logged back in.

Akk, can someone straighten me out?

thanks,

alxdotnet
02-17-2004, 02:05 PM
Tried this and could not find .bash_profile either. If anyone has any ideas I'd be very greatful.

RockMumbles
02-17-2004, 06:59 PM
On my debian system in my home is .bash_profile and .bashrc, so here they are:

.bash_profile:


# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

umask 022

# include .bashrc if it exists

if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi

And .bashrc:


# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If running interactively, then:
if [ "$PS1" ]; then

# enable color support of ls and also add handy aliases

eval `dircolors -b`
alias ls='ls --color=auto'
alias ll='ls -l'
alias la='ls -A'
alias l='ls -lA'
alias stx='startx'
alias stx1='startx -- :1'
alias nano='nano -w -p'
alias pico='nano'
# set a fancy prompt

PS1='\u@\h:\w\$ '

# If this is an xterm set the title to user@host:dir
case $TERM in
xterm*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
;;
*)
;;
esac

fi

if [ `whoami` = "root" ]; then
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
export PATH
fi

# set PATH so it includes user's private bin if it exists

if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
export PATH
fi


HTH

~rock

kovk
02-19-2004, 08:51 AM
Well, the bash_profile and bashrc don't seem to be there. However, you can add the stuff to the /etc/profile file and it will run when you log in. I suppose if I want to make people have separate profiles from there I can have it call $HOME/.profile or something but since all I'm using right now is root anway I don't care.

But I was having some odd problems trying to get into it. After I compiled it and set the environment variables it still went to the old KDE login screen for KDE 3.15 or something. After fumbling around for a bit I figured out what to do. From the kde login screen you need to tell it to log in from the regular console, once it drops to the command line, login as whatever user name you used konstruct to compile it with and then type kdm

Well, now that I'm in, its totally awesome! KDE 3.2 is the best interface I've ever used, a complete joy.

Anywho, how can I change my graphical login manager so that it uses kdm instead of.... well, whatever its using now?

alxdotnet
02-21-2004, 10:06 PM
That's the problem--it IS using kdm right now...just the wrong one!!!