LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-23-2009, 02:48 AM   #1
Ramurd
Member
 
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackwarelinux
Posts: 703

Rep: Reputation: 111Reputation: 111
Terminal: how to make it read user environment


I've been searching for a while now, and it keeps annoying me: while i like the Terminal application that comes with Slack 13, I just can't seem to make it read /etc/profile, ~/.profile, ~/.bash_profile or ~/.bashrc

Since I really like the settings, like showing me the directory I'm in rather than having a PS1 that shows which version of Bash I'm running (if I wanted to know that bash --version would give far more information anyway).

Anyone who has a clue how to make Terminal (it seems to be a xfce application) read a proper environment?
 
Old 09-23-2009, 02:56 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Are you sure it's not reading ~/.bashrc? In order to get it to read ~/.bash_profile, you'd need to make it run as a login shell, but it should pick up your ~/.bashrc.

How are you starting X? Which DE/WM? It's possible your DM is messing things up, but then you should have the same problems in all terminal emulators.
 
Old 09-23-2009, 04:10 AM   #3
Ramurd
Member
 
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackwarelinux
Posts: 703

Original Poster
Rep: Reputation: 111Reputation: 111
ack, I thought I had tried out about all options, seems like I missed .bashrc - works now ;-)
I start KDE through KDM, I pretty much left the system mostly on the defaults, as most of it works for me ;-)

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 Terminal - Can you make the terminal window transparent with a wallpaper? bparkerson04 Linux - Newbie 6 02-17-2009 05:12 PM
USB HardDrive mounts read-only. Is there anyway to make it read-write? Fritz_Katz Linux - Hardware 7 09-13-2007 06:50 PM
can some fc4 user mail his grub.conf and tell me how can i make this grub read this amolgupta Linux - Software 1 03-15-2006 04:04 AM
Terminal Environment Manipulation cradelit Programming 1 11-10-2004 03:29 AM
make file can be read by all user? khucinx Programming 3 05-28-2004 12:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration