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

learn more… | top users | synonyms

6
votes
1answer
2k 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
482 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
3k 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
209 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
185 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
51 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
24 views

how to export folder specific environment variables?

I have two projects on my computer that require JAVA_HOME to point to jdk7 and 8 respectively. Right now I'm working around this by having 2 files in my home folder that i source to set JAVA_HOME ...
0
votes
1answer
21 views

Error in downloading IcedTea web Start

I executed the command: sudo apt-get install icedtea-netx ...and this error was displayed: Error in downloading IcedTea web Start.. A screenshot of the terminal session: Please Help!
0
votes
1answer
20 views

How to add user level environment variables to be used by GUI application?

What is the recommended way to add user level environment variables to be used by a GUI application in Ubuntu? I know there are ~/.bashrc, ~/.cshrc, ~/.profile etc for console apps. How can I add ...
0
votes
1answer
42 views

Problem with adding path using zsh

I added a directory modifying ~/.profile and adding export PATH=$PATH:/home/...etc etc. But I realized that using zsh terminal I couldn't use the recently installed binary until I logged out from zsh. ...
0
votes
1answer
129 views

How can I capture shell variable output to use in my capistrano task

I am using capistrano to deploy a Ruby on Rails application. I previously was using Centos. In converting my task to be used with Ubuntu, I have a task that I was using for Centos was: capture("env ...
0
votes
1answer
152 views

Unable to run apt-get with proxy even after setting the environment variables

I was trying to configure proxy in my lubuntu 14.04. Since I wanted to use the username and password for my proxy authentication, I opted ntlm and installed it. Now I can use my proxy link as ...
0
votes
1answer
59 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
41 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
54 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
53 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
61 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
464 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
199 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
149 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
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" ...
2
votes
0answers
34 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
337 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
179 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
335 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
28 views

How to set environment variable for sshd

I have Ubuntu server 14.04 on a server with openssl version 1.0.1f and openssh version 6.6. In my openssl.cnf I have subjectAltName=${ENV::ALTNAME} so that I can set subjectAltName on the commandline ...
1
vote
0answers
52 views

$PATH variable env variable

I am working on Ubuntu 14.04 version and I can see .profile and .bashrc under my home directory. .profile looks like this # ~/.profile: executed by the command interpreter for login shells. # This ...
1
vote
0answers
212 views

Bash script: command not found

I have an executable script install_packages.sh in /home/etienne/admin folder. The directory's path is added to $PATH variable from /etc/bash.bashrc. When I type #echo $PATH I see that the variable ...
1
vote
0answers
76 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
78 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
240 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
333 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
12 views

$XAUTHORITY in systemd

I would like to know if there's a way to use $XAUTHORITY variable in systemd, basically, I have tried to create a simlink between $XAUTHORITY location and ~/.Xauthority by placing it in a script and ...
0
votes
0answers
34 views

Environment variable to all usersE

I cannot able to set PATH variables gloablly. I tried: $ mvn -v mvn command not found Tried to edit /etc/bashrc: Permission Denied Logged in as root: $ su - root modified /etc/bashrc ...
0
votes
0answers
36 views

Ubuntu 3.13.0-48-generic PATH Variable Not Working

I am trying to edit the PATH variable on a fresh Ubuntu install. For some reason it keeps throwing the error "No such file or directory" whenever I try to invoke my command. java;echo PATH=$PATH;echo ...
0
votes
0answers
38 views

How to set environment variables for GUI program?

I am using texstudio, a latex editor, on Ubuntu 14.04. When I start it from bash $ texstudio, and click the compile button, it works fine. However, if I start it by clicking the icon in the launcher, ...
0
votes
0answers
103 views

“-bash: cmake: command not found” in MATLAB with SSH

I am using MATLAB. In its command window I am using SSH to access a remote machine and run commands. When I attempt to do so I get error messages such as -bash: cmake: command not found Now I ...
0
votes
0answers
58 views

Java environment variable in Wine (32 bit prefix)

I need to run a Windows executable that requires Java 32 bit. Since Java 8 is still unstable in Wine, I installed a 32-bit Java (7u76) in a 32-bit WINEPREFIX. Now, when I run the Windows executable, ...
0
votes
0answers
63 views

Path given in Environment variable shows empty after reboot

I am trying to set environment variable CATALINA_HOME for tomcat server. I used the command CATALINA_HOME=/usr/local/apache-tomcat-8.0.22 JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 and export ...
0
votes
0answers
35 views

$PATH in Ubuntu and Windows

What are the differences both conceptual and practical in the use of the $PATH enviromental variable in Ubuntu and in Windows ? I searched quite a bit but only found partial information. thanks
0
votes
0answers
45 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
81 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
91 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
60 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
16 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
62 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
134 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
26 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 ...
-1
votes
0answers
15 views

Adding usb boot feature in bootloader in linux?

I am working on AM335x starter kit and using Linux 12.04 LTS. I am supposed to add a feature of booting the Linux OS into the board using a bootable pendrive. For doing so, some changes have to be ...
-1
votes
0answers
30 views

Why my Java code does not display the environment variables $ JAVA_HOME and $ M2_HOME?

Insert the environment variables at the end of .bashrc file and when I type in the terminal the command: $ echo $JAVA_HOME display /usr/lib/jvm/java-8-oracle/​ and $ echo $M2_HOME display ...