LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-06-2004, 10:14 AM   #1
kxHGB
LQ Newbie
 
Registered: Oct 2004
Distribution: none (LFS)
Posts: 6

Rep: Reputation: 0
Xorg.conf, using en_GB keyboard layout


Hi,

I just recently install LFS (Linux From Scratch) and then I started install Xorg. All worked out fine, however when I loaded XWindows (for say KDE), my keyboard layout was set as default layout (I think its american).

So after a little searching I found that if I added *somthing like* xfkeyboard "en_GB" to Xorg.conf I'd be able to use the english map. All well and good, until I tried to use my windows key for some of the short cuts in KDE. It wasnt being picked up by KDE at all in the shortcut manager. However, the windows key worked fine in the default layout (if I didnt speicfy a language in Xorg.conf).

Does anyone know a way around this? Hardly a serious problem, but can be a bit annoying sometimes! Any help is greatly appreciated!

 
Old 10-06-2004, 06:09 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Try this in the keyboard section of xorg.conf:
Code:
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "gb"
Dave
 
Old 10-07-2004, 07:21 PM   #3
kxHGB
LQ Newbie
 
Registered: Oct 2004
Distribution: none (LFS)
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

Yes, I tried that already, but it didnt work However, I did manage to map the key with a nice tutorial I found. (http://mandrakeuser.org/docs/xwin/print/keys.html) So, pressing WIN+D works, and WIN plus any other combination works. Problem is, WIN on its own will not work as its a "META" map.

I ran xmodmap with this:
Code:
keycode 115 = Meta_L
add mod4 = Meta_L
Know anyway to get it to work with combinations of WIN and just WIN? Perhaps some other kind of mod map? Also, is there any way to get X to do the commands on startup, instead of me constantly mapping it on each logon?

Regards.
 
Old 10-09-2004, 11:41 AM   #4
kxHGB
LQ Newbie
 
Registered: Oct 2004
Distribution: none (LFS)
Posts: 6

Original Poster
Rep: Reputation: 0
bump
 
Old 10-14-2004, 05:15 PM   #5
kxHGB
LQ Newbie
 
Registered: Oct 2004
Distribution: none (LFS)
Posts: 6

Original Poster
Rep: Reputation: 0
One last BUMP!
 
Old 10-15-2004, 03:07 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The previous answer was right, mine is as follows,

Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3 keyboard layouts in xorg.conf doesn't work VMM Linux - Newbie 3 11-10-2009 05:43 PM
KDE Keyboard Shortcuts with different Keyboard Layout hellblade Linux - Software 5 04-18-2006 12:40 AM
"Shorty" keyboard entry in xorg.conf aes canis Linux - Hardware 0 05-26-2005 06:20 AM
keyboard layouts with xorg.conf logicport Linux - Software 1 07-27-2004 01:10 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:08 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