This below was posted originally on Fluxbuntu Forum:
“…and as to keyboard – your keyboard is as well supported as on Ubuntu – you will just have to manually edit your xorg.conf file:
Simply add your languages shortcuts to the line describing your keyboard.
Mine looks like this:
Option “XkbLayout” “no,pl”
Yours should probably look as follows
Option “XkbLayout” “de,fr”
If you would like to have keyboard switch try following solution.
Open the file /home/<yourusername>/.fluxbox/menu
Then edit the file adding following lines:
[submenu] (Keyboards)
[exec] (de) {setxkbmap de}
[exec] (fr) {setxkbmap fr}
[end]
IMPORTANT: Check, please, the shortcuts for your keyboard layout firstly – I was just guessing that de=German and fr=French

Anyway: in this way you will be able to change the layout of your keyboard from the menu.
It should look similiar to this (this is from my computer with Polish and Norwegian layouts
):

I hope it will help a bit,
tami”
….hmmm my first trial to write Fluxbox mini-howto…
Enjoy,
tami
PS. More tips on how to edit screenshots in Gimp can be found here














9 comments
Comments feed for this article
July 29, 2008 at 12:54 am
kurdp
ok worked fine,
but what is about keyboard layout variant like that
iq (iraq) — kurdish arabic variant ku_ara
[exec] (de) {setxkbmap de}
[exec] (iq) {setxkbmap iq} variant {ku_ara}
this code don’t work.
best regards
July 29, 2008 at 8:13 am
tamihania
First of – nice that it worked (in a way) for you.
Secondly – may I ask you the question – have you read manual for setxkbmap?
And lastly – perhaps this will work for you:
exec] (de) {setxkbmap de}
[exec] (iq) {setxkbmap iq -option ku_ara}
Once again – I’m definitely not an expert in Linux – I just shared the knowledge I acquired while setting up my system.
best regards
July 29, 2008 at 6:06 pm
kurdp
thanx
but don’t work for variant ku_ara, and i ask before the #xorg and #debian, no answer.
worked for iq standard keyboard.
July 29, 2008 at 6:09 pm
kurdp
sorry
so worked fine
[exec] (dk) {setxkbmap dk}
[exec] (iq) {setxkbmap iq -variant ku_ara}
thanx again
July 29, 2008 at 6:15 pm
tamihania
Glad to be of a little help
Enjoy!
July 29, 2008 at 6:26 pm
kurdp
therefore add you blog in my website
http://linwx.net
best regards
May 22, 2009 at 2:54 am
neilwards
I have noticed something strange with this. When I switch between English and Russian phonetic, sometimes the entire X display goes black. In order to get it back, I have to reboot. It’s too bad, I really like this method of switching keyboards.
I am using Archlinux 2.6.29 i686 and Fluxbox (obviously).
-relevant Xorg.conf-
Section “InputDevice”
Identifier “Keyboard0″
Driver “keyboard”
Option “CoreKeyboard”
Option “XkbRules” “xorg”
Option “XkbModel” “pc105″
Option “XkbOptions” “compose:lwin,grp:rwin”
Option “XkbLayout” “us,ru”
Option “XkbVariant” “,phonetic”
EndSection
-relevant .fluxbox/menu-
[submenu] (Keyboards)
[exec] (US) {setxkbmap us}
[exec] (RU) {setxkbmap ru -variant phonetic}
[end]
It’s not consistent, sometimes it crashes my box, sometimes it doesn’t.
Any ideas?
Thanks.
May 22, 2009 at 9:35 am
tamihania
Hm, I’m not on fluxbox right now but all your files look OK at the first glance. Although I prefer syntax:
Option "XkbLayout" "us,ru(phonetic)"and would uncomment or simply delete:
Option "XkbVariant" ",phonetic"I believe that random crashes are related to lack of support for unicode (needed for Cyrillic) of some applications – see this thread: Arch forum
Sorry for not being of better help.
July 5, 2009 at 12:22 am
neilwards
Thanks for the reply. I will try your syntax. Strangely, I haven’t had any trouble lately. Perhaps an update fixed the problem (or it could be -like you suggested- that this kind of keyboard switching only fails when certain programs are running).
Amusingly, the Arch forum thread that you pointed me to is a thread that I started.
Thanks again.