OpenBox. Keyboard layout.

I do not even know how to add keyboard layouts OpenBox:
English (default)
Russian
Ukrainian

Change keyboards Left Shift + Left Alt.
Do not even know how!

Thanks.
 
As the GUI is used OpenBox.
Option 1.
Open ~/.config/openbox/autostart.sh file and add the line.
Code:
setxkbmap -layout us,ru,ua -variant -option grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp &

Valid combinations of keys:
Code:
    grp:toggle – Right Alt
    grp:shift_toggle – Two Shift
    grp:ctrl_shift_toggle – Ctrl+Shift
    grp:alt_shift_toggle – Alt+Shift
    grp:ctrl_alt_toggle – Ctrl+Alt
    grp:caps_toggle – CapsLock
    grp:lwin_toggle – Left "Win"
    grp:rwin_toggle – Right "Win"
    grp:menu_toggle – Button "Menu"
Include an indicator:
Code:
    grp_led:num – indicator Num Lock.
    grp_led:caps – indicator Caps Lock.
    grp_led:scroll – indicator Scroll Lock.

Command: ",terminate:ctrl_alt_bksp" - shutdown X when you click Ctrl+Alt+Backspace.
Use Ctrl+Shift => En Ru

Option 2.
In /etc/X11/xorg.conf rewrite:
Code:
Section "InputDevice"
	Identifier "Generic Keyboard"
	Driver "kbd"
	Option "CoreKeyboard"
	Option "XkbRules" "xorg"
	Option "XkbModel" "pc105"
	Option "XkbLayout" "us,ru,ua"
	Option "XkbVariant" ",winkeys"
	Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection
Use Ctrl+Shift => En Ru

Localization OpenBox.
In ~/.xinitrc
Code:
export LANG='ru_RU.UTF-8'
export LC_ALL='ru_RU.UTF-8'
openbox-session

in FreeBSD 8.x.
 
What's wrong with my browser? I can't find the THANK YOU button.

Anyway, THANK YOU, setxkbmap is so very useful, but I tend to forget about it from time to time.
 
free-and-bsd said:
What's wrong with my browser? I can't find the THANK YOU button.
Yes, yes, point taken :h We're aware that it's one of the most-missed features since the migration from vBulletin to phpBB.
 
Back
Top