LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-28-2015, 03:51 AM   #1
guneshgt
LQ Newbie
 
Registered: Aug 2015
Posts: 2

Rep: Reputation: Disabled
Keyboard layout in Terminal of Red Hat 6.6 Linux changes automatically


Hello All,

I have an unique problem in Terminal of Red Hat Linux WS 6.6. After some of period of period (Don't know exactly when..) keyboard layout (and not language) changes from German to English ONLY in Terminal. In other programs (e.g. nedit or Openoffice etc..) it remains always German. I am not sure, how and when this is taking place. Is any of my script changing any environment variable or any other program.

What would you suggest, what can be the best way to figure it out?

I thought of following :

If I could write any shell script which at some time interval, say at every hour, would write time, environment variable LANG and all the processes ran in that hour on the whole system. So this would help me to figure out at what time LANG is changed and which processes caused it. What is your opinion about it?

If you think this would help, how can I write a shell script which would be continuously running in background and write above-stated variables.

Help of any sorts would be appreciated. This problem is literally bugging me now....

Thanks in advance.

Gunesh
 
Old 08-31-2015, 05:20 AM   #2
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
I suspect that you are accidentally pressing the keyboard shortcut for toggling through your installed keyboard layouts. On my PC it's the Windows key + Space. I can't remember whether I assigned it or whether it is the default in Gnome. It also might be that the keyboard layout sticks to the current window, which would explain that you have different layouts in different programs.

If you don't need the English layout, just remove it.
Attached Thumbnails
Click image for larger version

Name:	007.jpg
Views:	18
Size:	51.1 KB
ID:	19329  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard layout in Terminal of Red Hat 6.6 Linux changes automatically guneshgt Linux - Newbie 1 08-28-2015 04:04 AM
Keyboard layout not changed automatically. hack3rcon Linux - Newbie 1 02-01-2015 12:48 PM
Red Hat 9 Linux Terminal problem sinatosk Red Hat 1 04-08-2004 04:31 PM
Keyboard layout and terminal charset... [MDK9.1] lucat Linux - Distributions 0 03-31-2003 02:30 PM
Keyboard layout and terminal charset... lucat Linux - Hardware 0 03-31-2003 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration