A set of dynamic variables that can affect the running processes.

learn more… | top users | synonyms

4
votes
1answer
991 views

How to start/configure pulseaudio remotely with ssh?

I have a remote machine to which I can ssh. On the remote machine there is a program that uses pulse audio to get input from a USB microphone attached to the remote machine. This setup works fine when ...
2
votes
1answer
5k views

rvm /usr/bin/env: ruby no such file error

I've installed rvm + ruby systemwide. which ruby /usr/local/rvm/rubies/ruby-2.1.1/bin/ruby and: /usr/bin/env: ruby: No such file or directory Everything else works fine, putting direct path of ...
2
votes
1answer
441 views

$PATH from /etc/environment overwritten

I'm upgrading a bunch of installations of 10.04 to 12.04. In 10.04 I used to define system wide env. variables in /etc/environment. It works, but not for $PATH that seems to be overwirtten. I don't ...
1
vote
1answer
2k views

JDK 8 Installation for Ubuntu 14.04 (Android Studio & NetBeans)

I downloaded jdk-8u11-nb-8-linux-i586.sh and installed it in my home folder. Then I install NetBeans, it is successful I think because I can compile my java code using netbeans. Now when I install ...
1
vote
1answer
169 views

What is the difference between a desktop environment and a shell?

I may be asking a basic question for many of you. What is exactly linux environment ? and what the relation between linux environment and shell? and what the relation between linux environment and ...
1
vote
1answer
133 views

Environmental variable

I am newly for Ubuntu and I just downloaded mulval software packet to run it on my Ubuntu, but I still not clear that the instruction say this: "The environmental variable MULVALROOT should point ...
1
vote
1answer
48 views

Update PATH variable during script execution

I am writing a script that installs a program. The problem is the program needs to have PATH variables set to install. How do I set PATH variables during the script execution and update the shell so ...
0
votes
1answer
32 views

How to modify environment variable in unix?

I want to modify environment variable by user given value. For example, user will give the variable to be modified and a value to put in the variable. I tried the command: set[variable[=val]] Its ...
0
votes
1answer
32 views

How to set the environment variabile using java

I am trying to set an environment variable using a java code. When i run this java code from the bash, I want to echo the environment variable that i set in the java program. How can this be done
0
votes
1answer
47 views

Unnecessary path present in $PATH

I have configured my .bashrc to add paths to the script of certain programs. This is how I did it: export PATH=/opt/android-studio/bin:/opt/pycharm-3.4.1/bin:$PATH However whenever I use $PATH in ...
0
votes
1answer
49 views

Creating a Path Variable

I need to set a path for a variable $week4 to be Week4/assignment so that typing cd $week4 will change the working directory to Week4/assignment/ I've seen a few examples of similar stuff on here, ...
0
votes
1answer
48 views

Environment Variable or saving dev_key file

I am slightly new to ubuntu, I have a NASA-ADS dev_key to access some data on there system but am unable to: save it as an environment variable named ADS_DEV_KEY or save it to a file called ...
0
votes
1answer
242 views

Why won't Vim source my .vimrc at startup?

Note: edited to provide more info. I have modified my ~/.vimrc significantly (although some of my initial modifications I made in the system-wide /etc/vim/vimrc). It probably doesn't matter either ...
0
votes
1answer
120 views

Why do I not have the $MAIL environment variable?

I read that the $MAIL shell environment variable is one of the most common ones, and stores the location of my mailbox file, where my emails are stored. I looked into the /var/spool/mail and ...
0
votes
1answer
43 views

environment setup for Importing a userdefined module

I am creating an User defined module an .so file and importing that in the python module. The functions in the library are not responding as expected. What are the environment variables to be set ...
0
votes
1answer
119 views

How to combine two enviroment variables into one command?

I have an old pc and I installed Ubuntu 13. 10 on it. I also installed skype and the issue is that I have a huge audio latency or my webcam not work. I have work by replace 'Exec=skype' with: Audio ...
0
votes
1answer
60 views

java home will not set using /etc/environment

wowee....... echo 'export JAVA_HOME=/usr/' | tee -a /etc/environment open up new terminal echo $JAVA_HOME blank Why is it sooo hard to set a global env for all users without restarting? eve ...
0
votes
1answer
2k views

export PATH doesn't work correctly

I have a problem with $PATH export. The only place I found where I modify $PATH is /etc/environment: ANDROID_HOME="/opt/ADT/adt-bundle-linux-x86_64-20130522/sdk" ...
0
votes
1answer
70 views

system variable for directory shortcut?

Is there a way to create a variable CUSTOM_DIR, linked to the directory /home/user/folder1, It is that not only in the shell, but for every program, process etc. The CUSTOM_DIR refers to that ...
0
votes
1answer
205 views

PATH variable to Apache OPENNLP OK but doesn't work

yesterday I installed in my Ubuntu AWS 12.04 (Amazon) micro istance OpenNLP and seemed working. Today when digiting opennlp:command not found Following suggestions found here: I modified my ...
0
votes
1answer
275 views

Troubles with permissions of a new user

I want to create a new user and give him possibility to use git. So, I've installed git: sudo apt-get install git After that I've created a user: sudo useradd -d /home/developer -s /bin/bash -g ...
0
votes
1answer
393 views

Java not finding libraries in CLASSPATH

I have a JAR file, which has many dependencies (ApacheCommons stuff mostly). When I put all those JAR's in the same directory as my main JAR, everything works fine. But that makes a mess and it also ...
0
votes
1answer
573 views

How I can I unsource my environment?

I have source my environment and some environment variables were set, but i need to shift back to my previous environment, how should i do it ? Is there any way to move to the last environment ?
2
votes
0answers
32 views

Use variables in Nautilus location bar?

Is it possible to use variables (like $JAVA_HOME) in the Nautilus location bar? I think this will be useful to access certain locations easily.
2
votes
0answers
279 views

How to make CFLAGS work with the dash shell?

My impression is that while setting the CFLAGS variable is effective when bash is the default shell, it doesn't make an effect with dash (the Debian Almquist shell). First of all please correct me if ...
2
votes
0answers
158 views

Ensuring .profile gets executed when using nX

The $PATH I have when I run terminal in an nX session is different to that I have when I run terminal after logging on physically. The former is ...
2
votes
0answers
295 views

Change environment variables in debian/rules according to debian/control targets

I have this package mypackage which is already bundled for Ubuntu. For setting the compiler, debian/rules contains DEB_CONFIGURE_SCRIPT_ENV += CC=gcc I would now like to extend the package in that ...
1
vote
0answers
27 views

what to write in prefix and in environment variable for correct installation

I am installing linbox library: http://www.linalg.org/developer.html. The installation guide states, that one should install several libraries, including fflas-ffpack library, and then run the script ...
1
vote
0answers
52 views

Unable to connect to X11 display. is $DISPLAY set? - Yes, it is

I'm trying to run this in my /etc/init.d/rc.local. I had to manually add the exit 0 because it wasn't there by default if that makes any difference. cd /home/john/xcape && ./xcape -e ...
1
vote
0answers
180 views

How to increase waiting time for non responding programs?

I have installed a Ubuntu GNOME and found that I am getting lots of PROGRAM is not responding messages. I have either to "Force Quit" the program or "Wait" for it a little more. I've noticed that ...
1
vote
0answers
94 views

Difference in the behavior of executable depending on where executed

I am trying to run repo from my home directory (/home/jeffrey). The repo binary is in the bin directory under my home directory (/home/jeffrey/bin). The bin directory is in PATH - I understand it ...
1
vote
0answers
268 views

javac cannot found, even after adding non-standart path to it in $PATH

Ubuntu 12.10, 32bit Problem too damn simple: I have a NTFS partition and unpacked from .tar.gz jdk on it. All I need from bash, is to see javac compiler, that is located in directory ...
0
votes
0answers
23 views

Add a bunch of exe files in wine and edit environement variables

Disclaimer : Noob here I have installed a software using wine in ubuntu 14.04 . I have 2 issues : The software requires I create a new environment variable and add the path of a certain file. In the ...
0
votes
0answers
23 views

NO_PROXY environment variable limit

I'm setting NO_PROXY and no_proxy environment variables in a Ubuntu 12.04 LTS box. From this VM I should create a template. Each environment variable is composed by more than 1000 entries (basically ...
0
votes
0answers
33 views

.desktop launcher doesn't have the same environment variables

I have a shell script, for which I want to have a Unity launcher. The shell script uses gradle to build a project and deploy it on a server. I had it working fine, because I managed my gradle ...
0
votes
0answers
45 views

Bash script environment can't get exported variable from user

I have a user daniel, from which I'd like to retrieve an exported value as root. So I did some research and came up with this command: $ su - daniel -c '. ~/export_script; echo $EXPORT_PATH' > ...
0
votes
0answers
13 views

How to recover UBUNTU_PLATFORM_API_BACKEND enviroment variable?

I did: unsetenv("UBUNTU_PLATFORM_API_BACKEND"); and I think this is causing problems for QAccelerometer backend... Is there anyway I can recover this env variable?
0
votes
0answers
51 views

Ubuntu 14.04 Color Variable Troubles

I have tried all the links from the first 2 pages of google searches regarding editting the LS_COLORS variable, but I can't get it to work as expected. I want all my source code files to show up as ...
0
votes
0answers
71 views

Error in export command in ~/.profile

I have this line in ~/.profile: export PATH=/sbin:/usr/sbin:${PATH} and it is causing this in ~/.xsession-errors: init: gnome-session (Unity) main process (1851) terminated with status 1 And ...
0
votes
0answers
81 views

How to set the path to xstream in Ubuntu 14.04

I am using Ubuntu 14.04, and installed my version of jdk using sudo apt-get install openjdk-7-jdk Now I installed xstream 1.4.7, but whenever I compile any java files using the package, I get an ...
0
votes
0answers
25 views

Environment Vars being changed on boot

I installed java-8-oracle the other day, and I didn't like it, so I deleted the java-8-oracle folder. I also installed java from java.com into /usr/java/jdk1.8.0_20, and set the environment variable ...
0
votes
0answers
117 views

How to set environment variable in Eric Python IDE

I have no problem running a Python script from the terminal, but in Eric Python IDE, I am getting this error: ImportError libcudart.so.6.0: cannot open shared object file: No such file or directory ...
0
votes
0answers
30 views

$DISPLAY environment variable changes upon (almost) every reboot

I am facing a very strange problem. I have a one display connected to my PC. However the $DISPLAY variable changes almost every time I reboot. For now it is :0.0, but before reboot it was :1.0. There ...
0
votes
0answers
81 views

How to set environmental variables for LuaSocket in Ubuntu?

I have installed the LuaSocket(luasocket-2.0.2.tar.gz) using this manual. But while performing the commands to require function to gain access to whatever module you need as below: socket = ...
0
votes
0answers
150 views

How can I see environment variables defined in .profile after lauching sudo codeblocks?

I am developing code with C++ in code::blocks. Because my code needs to access mice devices I launch code::blocks with sudo as superuser in an xterm I opened first. In the code I would like to read ...
0
votes
0answers
236 views

Apache envvars from external file

I want to have my global environment variables located in /etc/environ loaded in apache2 to prevent duplication between /etc/environ and /etc/apache2/envvars. I've seen that other operating systems ...
0
votes
0answers
31 views

Environment variable spoiled

In ~/.profile I have this: . "$HOME/projects/devenv.sh" In $HOME/projects/devenv.sh I have: BASEDIR=$(dirname $0) export APILIB_CONFIG="$BASEDIR/apilib.conf" echo "$APILIB_CONFIG" When I open a ...
0
votes
0answers
268 views

How to get write permission on /etc/environment?

I want to add mysql Connector jar file to classpath and by browsing through the net. I read that a global way to do it is to update the /etc/enviroment but the file opens as readonly. What I don't get ...
0
votes
0answers
101 views

Reload profile with java version

.profile has export JAVA_HOME=$DEV_HOME/tools/jdk1.6.0_45 # export JAVA_HOME=$DEV_HOME/tools/jdk1.7.0_51 # export JAVA_HOME=$DEV_HOME/tools/jdk1.8.0 export PATH=$PATH:$JAVA_HOME/bin I work with ...
-1
votes
0answers
14 views

Unable to connect Eclipse to ndk, .bashrc and .bash_profile are both empty

I'm trying to connect my Eclipse to ndk but i dont seem to have the option of editing my C/C++ build path in preferences to connect that way as well as stated my .bash files are blank. All help is ...