Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [environment]

The tag has no usage guidance.

0
votes
2answers
66 views

Conda package installs in wrong environment

I am trying to install torch using conda however, it installs it into another conda environment not the one I am interested in. How can I fix this? [jalal@goku NAACL2018]$ conda install pytorch ...
4
votes
2answers
366 views

Why $PATH is not reflecting what is in the environment file, Ubuntu 18.04?

echo $PATH provides: /usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin while /etc/environment states PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" I ...
0
votes
0answers
32 views

Package Installation error in Virtual Environment

I am using Ubuntu 16.04. So I created a virtual environment for python and activated it using cd /entire_path_to_virtual_env/bin source activate After that I used: pip3 install nltk The ...
-1
votes
1answer
179 views

Ubuntu Environment Is Broken

After installation, this PC's Desktop does not look like the Desktop on my other PC.
0
votes
0answers
165 views

Environment block too small (cannot proceed past this screen)

As stated in the title, upon booting my laptop i get: "Environment block too small, press any key to continue" Either pressing a key or doing nothing, it proceeds to a black screen (the type of black ...
-1
votes
1answer
681 views

Cannot open display error when I run sudo gedit on Ubuntu 14.04.5

solitude@Solitude:~/Desktop$ sudo gedit ~/.bashrc error: XDG_RUNTIME_DIR not set in the environment. (gedit:12631): Gtk-WARNING **: cannot open display:
1
vote
0answers
22 views

How to boot into 'Ubuntu on Xorg' by default? [duplicate]

Unity runs like a lame donkey on my laptop, yet flies when I switch to Xorg. Is there a way to set it to use this by default without having to log out and in again every time?
0
votes
1answer
778 views

Location to place systemd service EnvironmentFile when creating debian package

I am currently rewriting upstart jobs to use systemd and I wanted to know: where is the "default" place to an EnvironmentFile? It could potentially go in /etc/environment It could be with all the ...
5
votes
4answers
3k views

I set an environment variable in /etc/environment, but it's not in printenv using bash.exe with Windows cmd. Why? [duplicate]

I'm using WSL and I'm quite new on Linux. I have set an environment variable in /etc/environment called TESTVAR. This variable is required for some projects and it's working just fine when I'm running ...
0
votes
0answers
354 views

/etc/environment not work

I declare PATH="/usr/local/anaconda2/bin:/mnt/code/tool:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" in /etc/environment. But when I re-login, $ echo $...
0
votes
1answer
238 views

Setting CDPATH environment variable

"export CDPATH=/usr", like this I want to manipulate CDPATH environment variable. Then I can't be sure it is the same as before when I put "export CDPATH=." on the command line and enter. So, I want ...
0
votes
0answers
38 views

can't see value of DESKTOP related XDG environment variables from remote machine [duplicate]

When I run echo $XDG_CURRENT_DESKTOP or $XDG_SESSION_DESKTOP I can see values on my Linux machine. When I run same commands on my machine from remote machine showing empty results. IMO, those ...
0
votes
1answer
96 views

PATH environment variable behaviour when switching user with and without login

when i login as a user then switch to another one, the PATH environment variable changes when the switch is done with and without login. see the following snippet $ ssh -i ~/.ssh/ubuntu.pem ubuntu@...
0
votes
1answer
92 views

Where to find compile/build configuration - Problem with Tor from source [duplicate]

Since I need to patch tor that does not yet support binding on a link-local ipv6 address, I compiled it from source. The compile is successful (with minor warnings on the ar command) but the ...
0
votes
1answer
121 views

Infinity loop login after install JDK-9 [duplicate]

I'm not a Linux superuser. However I decided to install official JDK-9 so I done those steps: wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" \ ...
0
votes
1answer
906 views

Need to edit my locales under /etc/environment

I'm a complete noob so sorry for the lack of understanding. When setting my locales under /etc/environment I accidentally entered en_US.UTF-8 UTF-8 The problem being that the second "UTF-8" shouldn'...
2
votes
0answers
133 views

How to customize default live session user desktop and environment on Kubuntu while remastering it?

I am chrooting into a kubuntu iso file with cubic and installing and modifying stuff I need to change for my custom live iso. But something I couldn't figure out is how to customize the default live ...
1
vote
0answers
171 views

bash: export not a valid identifier [duplicate]

I was changing the bashrc file based upon the following video https://www.youtube.com/watch?v=Ipd8vkAj8Fk&t=182s but suddenly when I type sudo su I get the following error bash: export: `/...
0
votes
0answers
608 views

I want to install jdk-8u131-linux-i586.tar.gz on a 32 bit system

I am using ubuntu 17.04, I am new to ubuntu and I want to install jdk-8u131-linux-i586.tar.gz on my 32 bit system but i dont realy know what to do. Please help me become a good programmer.
1
vote
1answer
2k views

what is the value for JAVA_HOME?

What is the correct value for JAVA_HOME? thufir@doge:~$ thufir@doge:~$ whereis java java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz thufir@doge:~$ thufir@doge:~$ which java /usr/...
0
votes
1answer
449 views

Syntax to declare the JAVA_HOME variable in /etc/environment?

Where and how does the variable JAVA_HOME go? What, specifically, should the environment file contents be to correctly set JAVA_HOME alongside PATH? current environment: thufir@doge:~$ thufir@...
1
vote
0answers
79 views

Synchronized Profile and Environment

So, I have a development machine at work, and a company laptop I take home. Both are running Ubuntu 14.04. (I can't upgrade for business software compatibility reasons.) With my current set up, when ...
0
votes
0answers
257 views

Program is not accessible from the command-line

I am trying to use BUSCO program for bioinformatic analysis. BUSCO need to Agustus program as dependency. According to BUSCO’s user guide I must add Augustus to path and I did it as following: ...
0
votes
0answers
51 views

Graphical environment dies on ubuntu 16.04

I'm actually using Kubuntu 16.04 with KDE Plasma 5.8. It runs normally, but, when I play a game or after an 1 hour or less of of PC turn on, the graphical environment dies without any way to reboot ...
0
votes
0answers
18 views

Sudo and general commands from PHP script in Apache [duplicate]

Background For some reasons, I need to able to run general commands as my user (not root) from a PHP script inside of Apache (for use from localhost only), initially running as www-data. Prior ...
0
votes
1answer
85 views

Linux, Wine for unity environment [duplicate]

How can i download wine on a unity desktop environment? I've been trying to do so by using commands i found online but nothing helps. I found it easy to download it in xfce4, but now im using unity.
1
vote
1answer
283 views

Startup Applications does not seem to load /etc/bash.bashrc

I understand this type of question has been asked Help me understand .profile, .bashrc, etc Sequence of scripts sourced upon login But I'm having a hard time understanding it. I've got an Ubuntu ...
0
votes
0answers
31 views

Sudo /bin/bash -c 'some command' does not load /etc/environment content, not set the env [duplicate]

I've got a bit confused When I do log in via sudo su - I get full environment loaded $ sudo su - # env SHELL=/bin/bash TERM=screen-256color LC_ALL=en_US.UTF-8 HTTPS_PROXY_HOST=myproxy.com ...
1
vote
1answer
101 views

How could one export from a sourced script only specific functions

I try to expose from a script only specific functions. For example, let's say I have the script hello_world.sh and it has 2 functions, hello and world: ## hello_world.sh - name of the file, not the ...
1
vote
0answers
40 views

Ubuntu version for game

Maybe I could find a lot of questions like that, but I need some help. Recently I started using Ubuntu 15.10 , but when running games that consume few resources makes me very slow rendering of the ...
-2
votes
1answer
361 views

Can't change desktop environment Ubuntu 15.10

I installed xfce and gnome desktop environments and I don't see a way how to change it. On log in screen there isn't any option, does anybody have similar problem? Thanks!
0
votes
1answer
400 views

date command appears to ignore locale settings

What I want to do is set a locale environment variable (LC_TIME, I think) to something which makes date output in a nice ISO format. From looking at some other Stack Exchange questions and answers ...
0
votes
1answer
119 views

Ubuntu 15.10 Cinnamon DE menu not functioning properly

Welcome fellow Ubuntu enthusiasts. I have a rather simple yet equally irritating problem with both of my laptops running Ubuntu 15.10 with Cinnamon 2.6.13 desktop environment. On most menu items ...
1
vote
1answer
660 views

upstart script is not picking system default environment variable

I have one openstack based service. Which we are ran using upstart script. upstart script # filename: /etc/init/myservice.conf start on runlevel [2345] and started mountall stop on runlevel [016] ...
2
votes
5answers
10k views

Setup to try OpenStack on a single machine

I have been assigned to install openstack on a single machine in our dev office. I am following the guide here : http://docs.openstack.org/kilo/install-guide/install/apt/content/ch_basic_environment....
1
vote
1answer
4k views

Mate Desktop Environment won't uninstall from Ubuntu

I'm new to the community. I have a fresh install of Ubuntu 14.04 LTS, and decided to install Mate Desktop Environment to use it instead of Unity. I have installed Mate DE from the following ...
2
votes
1answer
696 views

Is it possible to create UI for Ubuntu with HTML & CSS?

I would like to develop a myu own UI for ubuntu.But I wouldn't like complex C-coding to do that! Rather HTML & CSS are getting more powerful and we can even make a desktop class application with ...
1
vote
1answer
2k views

How to change Desktop, Download, Music and … path? [duplicate]

How can I rename Desktop, Download, Music, Pictures & ... folders names to desktop, download, music, pictures & ... . NOTE: I'd simply rename them by mv command, but still have troubles. ...
2
votes
1answer
64 views

Diffrence among environment/profile/bash files

I know the difference among ~/.bash, ~/.profile vs. /etc/profile. I know (please correct me if I am wrong) configuration in ~/.bash is applicable for a specific user and terminal only.Configuration in ...
0
votes
1answer
590 views

Juju bootstrap environment fails

i have a problem during deploying my first juju environment "maas". The host is commissioned by MAAS but during the juju deployment there is this error: Setting up libtcmalloc-minimal4 (2.1-2ubuntu1) ...
1
vote
1answer
197 views

Sorting files by ASCII conventions in Ubuntu 14.04

This has been an incredible annoyance for me because it should be so easy to fix!!! I want ASCII conventions to be applied when sorting files (both in the terminal and in nautilus) because the "...
0
votes
1answer
229 views

Unable to choose desktop environment 14.04

I don't have the dropdown menu in the login screen. This question was posed earlier but closed as not being reproducible. Guess what? I have that problem also. Any KNOWLEDGEABLE suggestions would be ...
0
votes
3answers
72 views

Problems accessing my Ubuntu system

I have a problem accessing to my Ubuntu 13.04 system. Recently I updated from 12 to 13 and after some hard work I am able to input my password and user name, but I can't get any further, because the ...
1
vote
1answer
863 views

Why is 'sudo bash' a bad idea? [duplicate]

Anyone want to comment on sudo bash in comparison to sudo su and sudo -i? I know sudo -i is the preferred because "environment". I've gotten into the bad habit from years ago when I was a kid in a ...
8
votes
2answers
189 views

Setting LOG=1 in /etc/environment

I asked a question earlier about viewing the history of notify-osd using the indicator-notifications app. The answer was that I needed to add LOG=1 in my /etc/environment file. That sounded ...
0
votes
2answers
93 views

locale when login ubuntu 12.04 desktop

I logged in to Ubuntu 12.04 desktop via ssh, the env variables of locale had been set are followed: env | grep LC LC_PAPER=zh_CN.UTF-8 LC_ADDRESS=zh_CN.UTF-8 LC_MONETARY=zh_CN.UTF-8 LC_NUMERIC=...
1
vote
3answers
98 views

Environment variable is not update

I try to set the $PATH reference to the current working directory, one machine work as expected, but another machine is not. basically, I have set below line in .bashrc export PATH=$PWD/bin:$PATH ...
6
votes
2answers
2k views

Why doesn't JSLint/JSHint work in Ubuntu?

I installed as described here and other places, but after using npm to install jslint, jshint, neither will work. Running "jslint", I only get: /usr/bin/env: node: No such file or directory Is there ...
0
votes
1answer
595 views

How can I activate a Desktop Environment? [duplicate]

Sorry if this is an incredibly stupid question, but I'm new to Linux on a whole & I'm trying hard to get into the flow with it. I recently installed LXDE which as you know is a DE, but I can't ...
1
vote
1answer
261 views

Juju can't connect to environment

I have been trying to run juju status -e maas but it keeps giving me the error 2013-08-12 10:00:48,301 INFO Connecting to environment... 2013-08-12 10:00:48,357 ERROR Cannot connect to environment: ...