LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 04-18-2004, 12:05 AM   #1
jmax24
Member
 
Registered: Apr 2004
Posts: 39

Rep: Reputation: 15
How to make a PATH stay in the environmental variables after closing the terminal....


Hey, i have just installed the j2sdk and every time i want to use it i have to put it's path in the environmental variables with export PATH=PATH:/usr/java/j2sdk<ver>/bin, i was wondering if there was a way if i could get it to stay there and not have to put it in everytime i want to use the j2sdk.

One other quick question, I have my screensaver disabled, but if i'm not at the computer for about 10-15 min the screen goes blank and then shuts off after about 30-45 min, is there any way i can disable this feature.

Any help on either of these would be greatly appreciated

thx,

jmax24
 
Old 04-18-2004, 12:50 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Add that export command to your ~/.bash_profile or appropriate config file.

In Slack, I believe the blanking would be handled from /etc/XF86Config or /etc/rc.d/rc.M with setterm. Not sure where it'd be on your distro, especially since I don't know what your distro is.
 
Old 04-18-2004, 12:45 PM   #3
jmax24
Member
 
Registered: Apr 2004
Posts: 39

Original Poster
Rep: Reputation: 15
I am running redhat 8, does that help any?
 
Old 04-18-2004, 10:38 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Use your favorite text editor to add the path to /etc/ld.so.conf, then run /sbin/ldsoconf to pick up the changes, or logout and log back in. That will put it in your path. It'll be there until you remove it.
 
Old 04-19-2004, 12:47 AM   #5
jmax24
Member
 
Registered: Apr 2004
Posts: 39

Original Poster
Rep: Reputation: 15
I tried editing that file and logging out then back in, but it did not work. Any other suggestions.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Environmental Variables danglingpointer Slackware 13 01-06-2005 01:36 AM
environmental variables msound Programming 0 08-21-2004 08:06 PM
environmental variables? blackzone Linux - General 1 08-06-2004 04:44 AM
how to set environmental variables chakkerz Linux - Newbie 8 07-01-2004 04:06 AM
environmental variables mbhenry Linux - General 6 09-18-2003 12:41 PM


All times are GMT -5. The time now is 01:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration