General :: Environment Variable Containing The Current Keyboard Layout?

May 18, 2010

I have two keyboard layouts installed in my system and I need to determine in scripts which one I'm on. What the environment variable contains indicator of current keyboard layout?

Debian GNU/Linux 5.0.4;
GNOME 2.22.3.

View 1 Replies


ADVERTISEMENT

General :: Environment Variable And Current Shell

May 24, 2010

I am using Red Hat Linux Enterprise 5. I know the theory that -- using export to set environment variable, the environment variable will apply to current and child environment, but without using export to set environment variable, the environment variable will only apply to the current environment. What is the exact definition of "child environment" and "current environment"? For example,

Code:
$ var1=123
$ echo "Hello [$var1]"
The value of var1 (which is 123) is printed in shell, but I think echo is a command invoked by current shell, and it (the echo command) should be a child environment of current shell and the value of var1 should not (because not using export var1=123) impact echo.

View 13 Replies View Related

General :: Set Current Directory As Environment Variable

Jul 10, 2010

How do you set current directory (full path) in an environment variable?

View 10 Replies View Related

Ubuntu :: Set Current Directory As Environment Variable?

Jul 10, 2010

I have a simple shell script name "run.sh".

Code:
export PYTHONHOME="lib/"
python dispatch.py

[code]....

View 1 Replies View Related

Programming :: Perl Script Get Environment Variable LINES= For Current Session?

Apr 1, 2009

Want to return current LINES=, tryng to avoid the "hacky" backticks and string manipulation way

ie: my $somevar = `set | grep LINES`

I tried using the env command and it returns a empty value?

my $lines = $ENV{'LINES'};

$= doesnt work well for putty sessions...

my $lines = $=;

View 6 Replies View Related

Software :: Failed To Install Oracle - Command To View Current DISPLAY Environment Variable Setting

Jun 28, 2010

How to install oracle? I have been tried many times but seems can't resolve the DISPLAY issues.

All installer requirements met.

Use the following command to view the current DISPLAY environment variable setting:

View 2 Replies View Related

General :: Create An Environment Variable With The PRINTER Variable?

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

General :: Using Ubuntu Keyboard Layout In Mac OS X With A PC Keyboard?

Dec 24, 2010

I'm a used Ubuntu user on a pc, and I like the french keyboard layout because it allows me to type accentued characters easily.I found a win-fr keyboard layout but it's much like windows and not so good.I found xmodmap.fr keyboard layout and I'd like to know if it was possible use it with my Mac SL 10.6.5, maybe I could do xmodmap xmodmap.fr or a way to convert to mac layout file.

View 1 Replies View Related

Ubuntu :: Adding Spanish Language Keyboard Layout Disables Alt_R On USA Layout?

May 29, 2010

Running Ubuntu Lucid Lynx, GNOME 2.3Keyboard Preferences utilityAdding any Spanish language keyboard layout makes my Alt_R not work in ANY layout! I see that it changes Alt_R to "Iso_L..." for all/both layouts, including USA layout. When I click "Reset to Defaults" it's fine again, USA layout shows Alt_R again. I've tried all the variants of the Latin American layout and the Spain layout and they all do the same thing.What is "ISO_L..." and what's going on?i DESPERATELY need my Alt_R to work!

View 2 Replies View Related

OpenSUSE Install :: Keyboard Layout Constantly Resets To Another Layout In OSUSE 11.3?

Aug 9, 2010

I have installed opensuse 11.3 a couple of weeks ago in 2 computers and both suffer of the same problem.In my asus laptop, i have a german keyboard. It is correctly recogniced as german keyboard by ev-dev, i guess. (ev-dev managed). But i need to write some spanisch symbols too, like accents (ᠩ ? 񬠷hich in a normal linux, they do work. For some reason, after rebooting, or after some time of having it running, the keyboard layout resets to an invalid setup, here accents get not over the letter (?a ?e ?i ?o ?u), so i have to select my layout again in the gnome control center.

With my other computermore or less the same.Its a desktop PC with an spanisch keyboard. But i thinck i picked German keyboard during installation and now it starts always with german with some sort of 5 secs delay when setting it. I have to pick spanisch and i always delete the german layout, but after some time having it running, it resets to the previusly deleted german layout.

View 7 Replies View Related

Fedora :: Gnome Keyboard Layout Set To USA Default Layout After Upgrade From 11 To 12

Dec 2, 2009

having problems with my keyboard layout since upgrade from F11 to F12. When I reboot and login into gnome I have to switch back to my layout as it has been set to USA default layout.

View 3 Replies View Related

General :: Where Is The $HOME Environment Variable Set

Apr 17, 2011

I'm looking for the place where $HOME environment variable set. It is after login, to my mind.

I'm using Linux debian 2.6.32-5-686.

View 3 Replies View Related

General :: Set Environment Variable With A Given Script?

Nov 23, 2009

i have to set environment variables , after the installation of intel(R)MKL for linux OS given in intel mkl user guide, which are INCLUDE, LD_LIBRARY_PATH, MANPATH,LIBRARY_PATH, CPATH, FPATH, NLSPATH using the script file which, in my case,is "mklvarsem64t.sh"How can i set these environment variables?Do i need to set all these variables?

View 2 Replies View Related

General :: Set The PATH Environment Variable?

Apr 25, 2011

set the PATH environment variable?

View 4 Replies View Related

General :: How To Save Environment Variable From Terminal

May 14, 2011

I am trying to save the PATH environment variable from the Terminal running on a Ubuntu system.I typed in the following however it does not get saved.

export PATH=/home/david/Komodo-Edit-6/bin/:$PATH

View 1 Replies View Related

General :: Adding An Environment Variable To Inittab?

Jul 22, 2010

im quite new to Unix stuff Im in need to add a script to be executed, in to /etc/inittab for that i need to get the path to my java installation. I have set the JAVA_HOME env variable already, my question is whether we can use JAVA_HOME in inittab? i mean, are those env variables are crated by the time inittab starts? if so, how can i add the entry

currently im having is like this
pse:5:respawn:su - <username> -c "$JAVA_HOME/other-path/pp.sh run"
is there any issue with the syntax?

View 2 Replies View Related

General :: Adjusting The PKG_CONFIG_PATH Environment Variable?

Sep 14, 2010

i ran into a problem while isntalling xine player on fedora 11, i first of all installed its core engine 'xine-lib' successfully with standard prefix! when i run the './configure' for its frontend (xine-ui) it gives this error.

No package 'libxine' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XINE_CFLAGS and XINE_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.

View 4 Replies View Related

General :: Change Keyboard Layout From US To UK (GB)?

May 13, 2011

I use Puppy Linux 5.1.1. My keyboard layout is US but I want it to be UK (GB). I have used the mouse/keyboard wizard (Choose keyboard layout for your country) in Setup and made all the right choices but nothing changes. In the 'Advanced Xorg keyboard configuration', when I choose 'layouts', I am told 'Your xorg.config file does not contain any Xkb layout options'.
What else can I do?

View 7 Replies View Related

General :: How To Change The Keyboard Layout

May 2, 2010

I have Debian running in Russian and English. The Russian keyboard layout isn't the typewriter standard, which I know and much prefer to the one it gives me.

NOTE: I am NOT using KDE or gnome. (ratpoison is my windows manager.) I need to solve this via CLI-based solution, I want it to affect the keyboard I get both in ratpoison and in a basic CLI tty (when I'm not in X).

View 14 Replies View Related

General :: Existence Of USER Environment Variable In The Shell?

Jan 28, 2010

I heard (although I can't find any sources for proof) that the USER environment variable may not be set in a old Unix shells (maybe even some obscure shells as well). What is the probability that it won't be set?

View 2 Replies View Related

General :: Changing The Environment Variable Permanently In Ubuntu 10.10

Apr 30, 2011

I want to make change to environment PATH system wide. Because I have program called "md5". I want to execute it from anywhere (i.e any directory).

My md5 program is located at "/home/ahuq/MappingServer/md5_program". So what I did was to put: "export PATH=$PATH:/home/ahuq/MappingServer/md5_program" in the running SHELL.

This only makes temporary changes and lets me run the "md5" program from anywhere temporarily.

But I want to make this change permanent. So what I did was to put the "PATH=$PATH:/home/ahuq/MappingServer/md5_program" line into the "/etc/environment" file.

This screwed everything up and then for a while I couldn't execute anything from SHELL. I knew the absolute path of "nano" editor and used it to modify the file (i.e. /etc/environment) back to its original condition.

This fixed the problem and now I can run programs like "ls" from the SHELL.

But still I need a way to permanently add the path of "md5" to the environment. How can I do this in Ubuntu 10.10? Which file needs to edited?

Do I just logout or do I have to restart the system to make the changes active?

View 6 Replies View Related

General :: Keyboard Layout - One Handed Dvorak On X11

May 18, 2010

I can change to standard dvorak by running setxkbmap dvorak, how do I change to right handed Dvorak, is there a new keymap I need to download?

View 1 Replies View Related

General :: Alternate Keyboard Layout In Openbox?

Jul 3, 2011

I constantly need to switch between the English and Hungarian keyboard layouts. When I add the Hungarian layout in Gnome/KDE/XFCE, I get multiple variations of the layout (like, Hun (101 key, qwerty, dead keys) etc), which I need, because the default Hungarian layout switches the y and z keys (qwertz). So I always choose the "qwerty" option.In Openbox there's no option for this, butfound a post about switching layouts with keybindings.That's OK, but if I type the command

Code:
setxkbmap -model pc101 -layout hu
I can only get the default "qwertz" option, which I refuse to use, lol

View 1 Replies View Related

Debian Multimedia :: General Way To Switch Keyboard Layout?

Nov 22, 2010

What is the general way to switch the keyboard layout?
What works for me currently is the custom Section in /etc/X11/xorg.conf.d/kbd.conf.
However this section must include Option "Device" "/dev/input/by-path/..." which identifies the current keyboard. This works fine for my laptop keyboard.
However when I attach USB keyboard, keyboard switching does not work.
I also found somewhere it should be done via /etc/default/keyboard, but that does not work for me at all.

View 2 Replies View Related

General :: Keyboard Layout For Mathematical / Greek Symbols?

May 12, 2010

I've been wondering about this for a long time but never thought to ask: I do a lot of scientific work so there are many times it would be really handy to be able to type mathematical symbols or Greek letters which, for the most part, aren't part of the ASCII character set. Like "∞ ρ σ τ ω ∑ ... √ ∫ ≤ ≥ " and so on. Is there a keyboard layout (for Linux) that maps simple key combinations to these kinds of characters? (Assuming all the encoding and font issues are worked out properly) I know I could create one myself but it'd be a lot easier if someone's already done the work, or at least if there's a partial solution I could modify.

View 3 Replies View Related

General :: Adding A Custom Keyboard Layout In Kubuntu?

Feb 28, 2011

I have written a custom keyboard layout that I'm trying to install in Kubuntu 10.10. This is the layout: [URL]

I have added the layout as /usr/share/X11/xkb/symbols/dotan and made these changes:

In /usr/share/X11/xkb/rules/base.lst I added this:
! layout
dotan Dotan
Of course, the !layout line was already there, I did not touch it.
In /usr/share/X11/xkb/rules/base.xml I added this:
<layoutList>
<layout>

[Code]....

However, after a reboot I do not see the new layout in KDE's configuration for these things.

Note: this is a repost of a post on the geekhack forums. After posting I realised that LinuxQuestions is the better place to ask this. For reference, here is the original geekhack thread: [URL]

View 2 Replies View Related

General :: Changing Non-printing Keys In Keyboard Layout

May 9, 2011

I'm trying to write a new keyboard layout. I'm testing using Debian Squeeze and Kubuntu 11.04, both with KDE. It is important to solve this issue with a keyboard layout as opposed to playing with xmodmap or scancodes and keycodes because I need to leave other keyboard layouts intact and usable. For the time being the new layout is called Noah, implemented as a variant of US English. If this is done more easily by making whole new layout that is not a variant of another then I am willing to go that route.

First off, I am trying to move the Caps Lock key to the current location of the "B" Key. This is my code (the unshown parts of the files have not been touched):

Code:

The problem is that this configuration is also affecting the US English layout. When I press "B" the keyboard gives a B _and_ a Caps Lock! So typing I get output like this: "keybOARD". How do I restrict the B key to being Caps Lock only in the Noah layout?

Here is the homepage of the Noah layout: [url]

View 8 Replies View Related

General :: Unable To Have Keyboard Layout In Yast In Kde Suse 11.2

Oct 27, 2010

i wanted to add a language to my keyboard layout but i coudnot find it in yast.. previously while i insralled in same situation i go through the start menu and search for keyboard layout and it was comming,but right now after this new indtallation it doesnot come as the search result.

View 2 Replies View Related

Ubuntu :: Customized Keyboard Layout Isn't Listed In Preferences/Keyboard?

Mar 3, 2011

I defined a variant to my keyboard layout (Italian) editing the file/usr/share/X11/xkb/symbols/it and adding this block:

Code:
partial alphanumeric_keys
xkb_symbols "itaro" {

[code]....

View 1 Replies View Related

General :: Keyboard Layout Changed - Screen Locked Now Cannot Login

Aug 8, 2010

While I was away from my computer a friend changed my keyboard layout to a random layout thinking he could revert it via mouse actions only. Unfortunately, by the time I returned, my screen was locked. Now I cannot unlock my session to get back in to the KDE session to restore the correct keyboard layout.

However, I can log in to a console. In the console (e.g., Ctrl-Alt-F1), the keyboard layout is unchanged, so I can edit any text files and make any other changes required. How can I change the KDE keyboard layout from a console? I'm running Kubuntu 10.04. There is no .kderc file in my home directory. And Xorg.conf doesn't contain the settings either. I'm not sure where else to look.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved