
Dude, I think it's awesome that you've tried all our advice, hints and tips!wrc1944 wrote: It's not like I really need the cfg gui for etc-update, but it would be nice to understand why I can't get it to work. Apparently, since others use the cfg-update gui,I'm forced to conclude I have a fundamental problem with my Gentoo install. Am I correct, or am I just missing some obvious concept noobs fail to understand?


LoL, you rockwrc1944 wrote:Thanks guys- I'm a 60 year old linux amateur who's determined to figure this out.

Code: Select all
# /etc/profile:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/profile,v 1.23 2003/04/29 21:23:18 a$
if [ -e "/etc/profile.env" ]
then
. /etc/profile.env
fi
# 077 would be more secure, but 022 is generally quite realistic
umask 022
if [ `/usr/bin/whoami` = 'root' ]
then
# Do not set PS1 for dumb terminals
if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ]
then
export PS1="\[\033[01;36m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]"
fi
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:${ROOTPATH}:."
else
# Do not set PS1 for dumb terminals
if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ]
then
export PS1="\[\033[01;36m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]"
fi
export PATH="/bin:/usr/bin:${PATH}:."
fi
unset ROOTPATH
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]
then
export INPUTRC="/etc/inputrc"
fi
# Extract the value of EDITOR
[ -z "$EDITOR" ] && EDITOR="`. /etc/rc.conf 2>/dev/null; echo $EDITOR`"
[ -z "$EDITOR" ] && EDITOR="`. /etc/conf.d/basic 2>/dev/null; echo $EDITOR`"
[ -z "$EDITOR" ] && EDITOR="/bin/nano"
export EDITOR
Code: Select all
# /etc/skel/.bash_profile:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bash_profile,v 1.10 2002/11/18$
#This file is sourced by bash when you log in interactively.
[ -f ~/.bashrc ] && . ~/.bashrc
Code: Select all
# /etc/skel/.bashrc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8 2003/02/28 15:45:$
# This file is sourced by all *interactive* bash shells on startup. This
# file *should generate no output* or it will break the scp and rcp commands.
# Colors for ls, etc.
eval `dircolors -b /etc/DIR_COLORS`
#alias d="ls --color"
#alias ls="ls --color=auto"
#alias ll="ls --color -l"
# Change the window title of X terminals
case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}$
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\0$
;;
esac
## Uncomment the following to activate bash-completion:
[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion
# The following is added by me to source /etc/profile
[ -f /etc/profile ] && source /etc/profile
Excellent!wrc1944 wrote:xcentric,
That did the trick! Thanks for all the great help and detailed explanations-
I really learned a lot on this one. A nice tkdiffb window came right up, no
problems at all. I guess the entire time I just needed that last line in
/etc/skel/.bashrc! I wonder why that isn't in there by default?
Code: Select all
There are at least 2 possibilities:
1. you start bash with the -l flag
or
2. you put this line in .Xdefaults:
XTerm*loginShell: true
Both tell bash to login which should read /etc/profile && ~/.bash_profile