Tried this and could not find .bash_profile either. If anyone has any ideas I'd be very greatful.
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,
Tried this and could not find .bash_profile either. If anyone has any ideas I'd be very greatful.
On my debian system in my home is .bash_profile and .bashrc, so here they are:
.bash_profile:
And .bashrc:# ~/.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
HTH# ~/.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
~rock
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?
That's the problem--it IS using kdm right now...just the wrong one!!!
Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive
$28.52
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$41.69
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$209.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$89.99
1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed
$19.99
Western Digital Purple Surveillance Hard Drive 4 TB
$57.00
Seagate Exos X14 12TB SATA6Gb/s 7200RPM 3.5" Enterprise Hard Drive ST12000NM0558
$99.95
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$44.62
Western Digital Gold Enterprise 4TB,7200 RPM Internal Hard Disk Drive WD4002FYYZ
$39.95