Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
snvvOffline
Post subject: How to cahnge keyboard language? [solved]  PostPosted: 10.03.2013, 18:18



Joined: 2010-09-13
Posts: 287

Status: Offline
Hello,
Recently I started to use fluxbox.
The only problem that I have is i can't find a way to change language.
I created kbd.conf in /etc/X11/xorg.conf.d
      Code:
Section "InputDevice"
        Identifier   "Generic Keyboard"
        Driver       "kbd" #"evdev"
#       Option       "evdev"
#       Option       "Device"   "/dev/input/by-path/pci-0000:00:1a.1-usb-0:2:1.0-event-kbd"
        Option       "CoreKeyboard"
        Option       "XkbRules"      "xorg"
        Option       "XkbModel"      "evdev"
        Option       "XkbLayout"     "us,el"
        Option       "XkbVariant"    ",qwerty"
        Option       "XkbOptions"    "grp:alt_shift_toggle,grp_led:scroll"
EndSection


Then i changed /etc/default/keyboard from
XKBLAYOUT="us"
to
XKBLAYOUT="us,el"

Still I can't change language.
Any help on this please.
Thanks
snvv

edit
if I write
      Code:
 setxkbmap "us,el" -variant ",extended" -option "grp:alt_shift_toggle"

then it works. However, I can find no way to make that run at startup.

EDIT 2
Solution

Put
      Code:
exec setxkbmap -option grp:alt_shift_toggle -layout "us,el"  & 

before
      Code:
exec fluxbox

in ~/.fluxbox/startup

All other approaches failed.
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: How to cahnge keyboard language? [solved]  PostPosted: 10.03.2013, 19:51



Joined: 2010-08-25
Posts: 688

Status: Offline
"dpkg-reconfigure keyboard-configuration" and "dpkg-reconfigure console-data" should set this for both cli and X11 (unless overridden, like you're doing here).

In general, it is better to select language/ keymap and timezone before installing on the live media you use for the installation, as that makes sure that everything is set up correctly from the beginning; it's of course still possible to change this afterwards, but it needs multiple changes.
 
 View user's profile Send private message  
Reply with quote Back to top
OppaErichOffline
Post subject: RE: How to cahnge keyboard language? [solved]  PostPosted: 27.05.2013, 14:17



Joined: 2010-09-13
Posts: 28
Location: Essen, Germany
Status: Offline
Ooops, a bit late to the party...

I have a German environment but I'm using a keyboard with UK layout. Whatever I do, after the next reboot the keyboard is set to German layout in the console. Any ideas on this ?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio