LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-17-2004, 11:05 PM   #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-17-2004, 11:50 PM   #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, 11:45 AM   #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, 09:38 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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-18-2004, 11:47 PM   #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



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 12:36 AM
environmental variables msound Programming 0 08-21-2004 07:06 PM
environmental variables? blackzone Linux - General 1 08-06-2004 03:44 AM
how to set environmental variables chakkerz Linux - Newbie 8 07-01-2004 03:06 AM
environmental variables mbhenry Linux - General 6 09-18-2003 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12: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