LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2004, 04:16 AM   #1
Warlon
LQ Newbie
 
Registered: Mar 2004
Distribution: RedHat9
Posts: 6

Rep: Reputation: 0
Xfree86 update and profile-file


Hi!

I updated my Xfree86 and now it doesn't seem to use my /etc/profile file. There is some export lines that I have added but they still don't show up when typing export at the console.

Any ideas what have I done wrong?
 
Old 03-26-2004, 07:11 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You can set up your ~/.bash_profile to source your ~/.bashrc:
Code:
if [ -e ~/.bashrc ]
then
    source ~/.bashrc
fi
...and then set up your ~/.bashrc to source your /etc/profile:
Code:
if [ -e /etc/profile ]
then
    source /etc/profile
fi
That should make sure all settings are always set, no matter how you log in.


Håkan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cant Update My Profile ombill LQ Suggestions & Feedback 2 08-19-2004 12:30 PM
User profile update fails rnturn LQ Suggestions & Feedback 3 05-22-2004 06:46 PM
Yum Update complains of missing file to do update, but file exists! davidas Linux - Newbie 0 03-28-2004 12:14 PM
dpkg-reconfigure xserver-xfree86 can't update XF86Config-4 file. lsj Linux - Newbie 1 03-27-2004 03:06 AM
I want to update XFree86 ETeria Linux - Software 2 08-24-2003 06:29 AM


All times are GMT -5. The time now is 01:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration