SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"
if [ ! -r "$HOME/.inputrc" ]; then
export INPUTRC=/etc/inputrc
fi
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
if [ "`id -u`" = "0" ]; then
echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
if [ ! $? = 0 ]; then
PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
fi
fi
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
TERM=linux
fi
if [ "$SHELL" = "/bin/ksh" ]; then
VISUAL=emacs
fi
if [ "$SHELL" = "/bin/pdksh" ]; then
PS1='! $ '
elif [ "$SHELL" = "/bin/ksh" ]; then
PS1='! ${PWD/#$HOME/~}$ '
elif [ "$SHELL" = "/bin/zsh" ]; then
PS1='%n@%m:%~%# '
elif [ "$SHELL" = "/bin/ash" ]; then
PS1='$ '
else
PS1='\u@\h:\w\$ '
fi
PS2='> '
export PATH DISPLAY LESS TERM PS1 PS2
umask 022
if [ -x /usr/bin/biff ]; then
biff y 2> /dev/null
fi
for profile_script in /etc/profile.d/*.sh ; do
if [ -x $profile_script ]; then
. $profile_script
fi
done
unset profile_script
if [ ! "`id -u`" = "0" ]; then
PATH="$PATH:."
fi
i don't know what is changing it. i though you would have a cd statement in one of the startup scripts. you can add one to /etc/profile or ~/.bashrc fix it until what causes it is discovered. i am very curious about what else could cause it.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517
Rep:
I don't remember any problems in "-current" with this issue.
But it appears often in other Linux OS.
Could it be, that you have the hidden file /home/repo/.local/user-dirs.dirs ?
I think it will ( sometimes ? ) override the other settings.
@EDDY1, there is no title set in the terminal @knudfl, the file at my system is
Quote:
/home/repo/.config/user-dirs.dirs
I renamed the file, but no go
I used the workaround from ewsmith, adding a cd command to .bashrc, which solved the problem,
but still curious if there isn't another way to do this.
In System Settings, About Me, Paths, see what is your Documents path. If it's ~/Documents, try making it your home. Careful, it may offer to move files.
Last edited by qweasd; 02-05-2011 at 01:32 AM.
Reason: typo
There's a number of possibilities (and a huge number of files) for something like this to happen.
First of all can you tell me what are you using for your teminal. Are you using "konsole", "xterm", "xconsole" or do you mean an actual terminal (by pressing CTRL + ALT +F[1-6] keys from the KDE desktop)?
In System Settings, About Me, Paths, see what is your Documents path. If it's ~/Documents, try making it your home. Careful, it may offer to move files.
If I change it to
Quote:
/home/repo
The terminal opens in
Quote:
/home/repo/
However, seems to me this could break other things.
The problem doesn't appear in xfce.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.