Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-29-2007, 07:29 PM   #1
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
making shell "export" variable permanent forever: user/system

hi all,

if you are running opensuse 10.3 and opera or netbeans, then u know they don't work without this option:


because java attempts to sloppy lock...

does anybody know a way so that this option is applied to me as a user, and/or to the entire desktop enviornment (preferably including all terminals i open.)

Thanks everybody.
Old 10-29-2007, 09:04 PM   #2
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Put the export command in your ~/.bash_profile (or .bashrc, I don't know which SuSE uses). Every time you log in, it will export it.
Old 10-29-2007, 09:57 PM   #3
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Original Poster
Rep: Reputation: 30
thank you.

btw, if you're wondering, suse uses ~/.bashrc (since i see that...)

Last edited by lambchops468; 10-29-2007 at 09:58 PM.
Old 05-21-2009, 06:31 AM   #4
Registered: Jun 2006
Location: Bangalore,india
Distribution: Linux(Redhat,fedora,suse,ubantu), Solaris (s8/s9/s10/nevada/open-solaris)
Posts: 303

Rep: Reputation: 32
You can also put in :
Old 10-13-2009, 06:37 AM   #5
Senior Member
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,057

Rep: Reputation: 47
if you want to change it for all users, edit: /etc/bash.bashrc
(as root)


export, permanent

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
"Broken" envirnment variable (MANPATH) and "/etc/profile.d" question. ErV Slackware 3 03-20-2007 10:42 AM
Shell Variable available within Samba "print command" thibert Linux - Networking 0 12-12-2005 02:02 PM
Making system "bad shutdown" ready Red Squirrel Debian 6 07-31-2005 01:13 PM
shell scripting - using ${variable:=","} Steve Riley Linux - General 7 02-08-2005 06:07 AM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 02:42 AM > Forums > Linux Forums > Linux - Software

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

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