LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Xorg.conf, using en_GB keyboard layout (https://www.linuxquestions.org/questions/linux-general-1/xorg-conf-using-en_gb-keyboard-layout-239400/)

kxHGB 10-06-2004 10:14 AM

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!

;)

ilikejam 10-06-2004 06:09 PM

Hi.

Try this in the keyboard section of xorg.conf:
Code:

        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "gb"

Dave

kxHGB 10-07-2004 07:21 PM

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.

kxHGB 10-09-2004 11:41 AM

bump

kxHGB 10-14-2004 05:15 PM

One last BUMP!

reddazz 10-15-2004 03:07 AM

The previous answer was right, mine is as follows,

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


All times are GMT -5. The time now is 11:21 PM.