LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03: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, 06: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:37 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
Open Source Consulting | Domain Registration