Fluxbox Keyboard Question

If you are new to YDL and have some more or less basic questions.

Fluxbox Keyboard Question

Postby Beillzibub » 11 Sep 2008, 00:23

Hey Peeps,

Does anyone know how to set a keyboard to english uk within Fluxbox?
I've been looking for hours now and can't work it out at all! Getting a bit fed up of losing the hash and the tilde symbols!!!

Any help appreciated.
Yellow Dog 6 -> 320 GB Internal Drive (using 10 GB)
Playstation 3 40GB (upgraded to 5400RPM 320GB), FW 2.42
Philips 26PFL5322 26" LCD 1080p
User avatar
Beillzibub
ydl newbie
ydl newbie
 
Posts: 7
Joined: 09 Sep 2008, 13:26

Re: Fluxbox Keyboard Question

Postby Beillzibub » 11 Sep 2008, 00:47

ehem,

As with my last two time wasting questions, I've solved this myself.....
For anyone who's interested, I used a terminal as root and input the following command;

setxkbmap -layout 'gb,us' -model pc105



Hope this helps anyone else in my predicament. (",)


# EDIT: Actually, this command doesn't need to be executed in root. You can do it with any login...
-Incidentally, if anyone else IS having this issue, I also found that my keyboard was reverting back to US keyboard standard on reboot. To combat this, I placed the command in my "~/.fluxbox/startup" file where you can place any programs that you want to load when fluxbox boots i.e: conky etc...
Yellow Dog 6 -> 320 GB Internal Drive (using 10 GB)
Playstation 3 40GB (upgraded to 5400RPM 320GB), FW 2.42
Philips 26PFL5322 26" LCD 1080p
User avatar
Beillzibub
ydl newbie
ydl newbie
 
Posts: 7
Joined: 09 Sep 2008, 13:26

Re: Fluxbox Keyboard Question

Postby tcrroadie » 11 Sep 2008, 20:55

For a more perminent fix, you should be able to set your keyboard layout by editing the "InputDevice" section defining your keyboard in your /etc/X11/xorg.conf file. As an example on my Ubuntu laptop, the section defining my keyboard in my /etc/X11/xorg.conf file looks like this.

Code: Select all
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
EndSection


Just change the line

Code: Select all
 Option          "XkbLayout"     "us"


to

Code: Select all
 Option          "XkbLayout"     "gb,us"


At least I think that is the correct code for Great Britain. :)
User avatar
tcrroadie
ydl guru
ydl guru
 
Posts: 235
Joined: 12 May 2008, 17:44
Location: Dirt Poor Michigan, U.S.A

Re: Fluxbox Keyboard Question

Postby stubbsjuk » 21 Oct 2008, 18:56

Hi,

I was having the same problem - English/British keyboard and changed the file /etc/X11/xorg.conf file
to
Option "XkbLayout" "gb,us"
I rebooted and now, non of my alpha keys work only the top numeric keys.

Obviously now I can't log in using the graphical screen.

I used viewtopic.php?f=19&t=3097&start=0&st=0&sk=t&sd=a&hilit=boot+recovery
to get into Kboot. But I can't find the file I need to change.

I hope you can help.

Best wishes.


James
stubbsjuk
ydl newbie
ydl newbie
 
Posts: 5
Joined: 15 Oct 2008, 22:25


Return to Beginner

Who is online

Users browsing this forum: No registered users and 3 guests