Ubuntu :: LANG Variable Keeps Getting Overruled In 11.04?
May 3, 2011
ince Ubuntu 11.04 the "LANG" environment variable keeps getting overruled somewhere. The result is that the date notation in the indicator area and the GRUB boot menu is in a different language compared to the rest.At login I have selected the language en_GB, the same language is at the top in the "Language support" dialog. However, I have set my "Regional format" to "nl_NL".When I check "env" in the terminal LANG is set to "nl_NL" as well.I tried forcing it to "en_GB" by adding "LANG=en_GB" in "/etc/environment" but this did not help.
View 6 Replies
ADVERTISEMENT
Jul 8, 2010
I have been install LAMP ok. ware i want to write php lang in nano , vi or vim. how to host the website
View 1 Replies
View Related
Mar 22, 2011
enum argu {
send = 0x0001
, receive = 0x0002
};
what is the meaning of the 0x0001 and 2.
View 8 Replies
View Related
Feb 11, 2011
problem created on making c programing lang.
View 1 Replies
View Related
Sep 12, 2010
implementing hamming code in c: Calculating the Hamming Code The key to the Hamming Code is the use of extra parity bits to allow the identification of a single error. Create the code word as follows:
Mark all bit positions that are powers of two as parity bits. (positions 1, 2, 4, 8, 16, 32, 64, etc.)
All other bit positions are for the data to be encoded. (positions 3, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, etc.)
[code]....
View 2 Replies
View Related
Oct 16, 2010
openSUSE-11.3-Addon-Lang-i586.iso and openSUSE-11.3-GNOME-LiveCD-i686.iso
Index of /distribution/11.3/iso
And what is openSUSE-11.3-Addon-NonOss-BiArch-i586-x86_64.iso ?
View 1 Replies
View Related
Jan 14, 2010
I use Fedora 10.When I use Firefox , the following message appear with the dialog box.java.lang.SecurityException:Changing the SecurityManager is not allowed.:I click OK button.How can I do for it.
View 1 Replies
View Related
Aug 17, 2010
I doing malloc and getting the chunk of dynamic memory. Now I want it to align that memory to 64KB. This means that the address of the memory starts from 64KB or multiple of 64KB.
View 3 Replies
View Related
Jun 26, 2010
The automatic updater cannot install bundle-lang-gnome 2233: "A protected system package cannot be removed" ("Ein geschtztes System-Paket kann nicht entfernt werden.")Detail info: "Subprocess failed. Error: RPM failed: error: package bundle-lang-gnome-extras-de-11.2-19.21.1.noarch is not installed"
View 1 Replies
View Related
Jul 21, 2010
working on a script to update .Jar file, I have tried jar xf to unpack and jar cf to repack it is giving me java.lang.NoClassDefFoundError exception at main class. I also tried jar uf, which is also not working for me Basically my jar file requires to update date, which i do from "winrar" Manual it works fine, but now to remove "Donkey work", i want to make an script which does this all automatically, and the last stage is to update jar file which is not happening.
View 1 Replies
View Related
Aug 21, 2009
I'm trying to read content of file to variable and use this variable in for loop. The problem is, when I have c++ comment style in file - /*. Spaces in line are also interpreted as separated lines.
For example:
Code:
Changing $files to "$files" eliminate these problems but causes that whole content of variable is treated as one string (one execution of loop).
View 6 Replies
View Related
Feb 17, 2011
how to assign a local variable value to a global variable....
View 2 Replies
View Related
Apr 7, 2010
my script has a variable which comes in the form +00.00 +0.00 -00.00 or -0.00 (the numbers can be any in that form) for any that have a + symbol I need to remove the +, but if it has a - symbol it needs to stay.
i need to make a new variable with the string from the old variable btut without any plus sign. I have tried a lot of different ways with no success, each thing I tried either left the + or removed the entire string. I think this should work but doesn't
foo=+12.40
bar=${foo#+}
View 4 Replies
View Related
Apr 16, 2011
I am supposed to create an environment variable with the PRINTER variable, which should resolve to the word sales. Would the command be like this?: env PRINTER - NAME=SALES (is this the command to create that variable with resolving the word sales to it?)
View 3 Replies
View Related
Jun 10, 2009
I have a text file i that has a mailTo: NAME in it. In a bash script i need to extract NAME and put it in a $variable to use. How do i do this?
View 2 Replies
View Related
Apr 25, 2011
how I can search within a variable and assign the results to a new variable. I'll use the following as an example -
cars="Audi BMW Cadillac Chevy Dodge Ferrari Ford Mercedes"
list=`echo ${cars} | egrep -o '<A?+|<C+'`
with the echo command I get the following output assigned to list -
A
C
C
What I'd like to get for output is -
Audi
Cadillac
Chevy
how I could do this regardless of upper/lower case letters?
View 5 Replies
View Related
Apr 28, 2010
included shell script inside c program, and i wanted to assign the value of c variable to shell variable..Can any one please suggest me how to do it?
View 8 Replies
View Related
Jul 25, 2010
can i use the value of one variable to generate a name for another variable? for example i want to use the counter from a "do while" loop to name and define a variable each time the loop executes. for example
objectnames1=`ls -a`
objectnames2=`ls -a`
etc.
i don't have a script yet but each time through the loop i intend to cd to a particular directory and then define a variable containing a list of each object in that directory as values. for the rest of the script to work, each variable generated has to be unique, and i can't think of a good way to accomplish this.
if using a value from one variable to name another isn't possible, can anyone think of a more elegant solution? i know limited syntax but i'm willing to read up...
View 6 Replies
View Related
Dec 27, 2010
I am trying to alter the character position of residue numbers above 999 in a pdb file.The following script is an attempt to:1) Get all unique pdb residue numbers (in column 5) using awk and assign it to a variable i.2) Loop through all the values in $i and if it is greater than 999, shift that number one character to the right using sed.However, the script only manages to alter the final residue numberCould anyone please advise how I can loop through all values in $i and shift it one character to the right?
#!/bin/bash
# Script to alter position of residue number in pdb file for resid above 999
i=$(awk '{print $5}' wt-test.pdb | uniq)
[code]...
View 6 Replies
View Related
Mar 17, 2011
This loop is part of a bash script which takes multiple arguments.
Code:
for ((i=1;i<=$number;++i)) ; do
offset=$(($i+5))
[code]...
View 3 Replies
View Related
Feb 23, 2011
i try to open a java app, the launch proceeds as far as the final stages, but then stops to do the final sequences showing the error msg listed above.
View 3 Replies
View Related
Dec 8, 2009
On one of my servers I see this when I log in. What does this mean and how can I get it to go away? Everything seems to work fine, but none of my other machines give this error.
View 5 Replies
View Related
Mar 28, 2010
I'm making a script I want to be able to just call (ie, rclick instead of ./rclick) where do I put it?
~/bin?
/bin?
/usr/bin?
Also, how do I pass a variable to the script (rclick 10 will rightclick 10 times) (Found, so simple... $1)Lastly, can I force it to run on CPU2? CPU1 is completley locked up if I run this on it... Or can I make it use less cpu cycles?
View 2 Replies
View Related
Jun 28, 2010
Well on a Rsps forum it says that the reason i keep crashing in the client is cause my Envieronment Variable isnt set for Java. i was wondering how to do this.please make it deatailed since i am new to ubuntu and i dont know most of the things like usr/java
View 9 Replies
View Related
Feb 4, 2010
I'm trying to set the environment variable. java_home and path.
I used the following instruction:
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.14
and to check :
echo "java_home=$JAVA_HOME"
and every thing is ok.
But since i close the terminal every thing is deleted.
View 13 Replies
View Related
Mar 2, 2010
I have a script that backs up my computer that must be run like this:
Code:
sudo /home/bjorn/script.sh
However, I need to be able to change the ip it backs up to. I used to do this by rewriting the script when the ip changed, but I now have like 10 different scripts. So, it would be nice to be able to set a variable and then run my script. I used $bkup_ip in the place of all the old ip s in the script. However, it seems like if I set the variable with export, and then run the script with sudo the variable is empty. How can I set the variable so that it is available for the script?
View 2 Replies
View Related
Jun 19, 2010
I'm trying to configure subclipse with JAVAHL for ganymede. I have everything installed and the right version of the JAVAHL.
I have seen that a lot of people uses java.library.path in the eclipse.ini file to set it up or just write a script for launching eclipse.
I have read about the .gnomerc file but i couldn't find it or create one and make it work. I'm using a 9.04 ubuntu.. is there anyway to configure an environment variable for gnome? What i want is just click on the shotcut and have it working, not having to run a script or all that stuff.
View 1 Replies
View Related
Oct 10, 2010
I just upgraded to 10.10, I use Tilda (terminal client) on my desktop but now when I type "clear" it says "TERM environment variable not set." instead of clearing the screen. Also commands like "tree" does not show folders and iles in color like they did before upgrading.
View 4 Replies
View Related
Oct 20, 2010
I have just installed Ubuntu onto my machine and my question is if it automatically comes with the PATH environment variable?If so, how do I add something such as python.exe to the PATH environment variable?
View 2 Replies
View Related
Nov 15, 2010
what is a variable file?
View 2 Replies
View Related