View previous topic :: View next topic |
Author |
Message |
Ivan_D n00b
Joined: 26 Nov 2007 Posts: 53 Location: Ukraine
|
Posted: Tue Aug 26, 2008 4:11 am Post subject: [solved] Cannot change keyboard layout. |
|
|
Code: | Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "Xleds" "1 2 3"
Option "XkbModel" "pc104"
Option "XkbLayout" "en,ru(winkeys)"
Option "XkbOptions" "grp:rshift_toggle"
EndSection |
/etc/locale.gen:
Code: | en_US ISO-8859-1
en_US.UTF-8 UTF-8
ru_RU.CP1251 CP1251
ru_RU.UTF-8 UTF-8 |
It's always english.
What information should I provide?
Last edited by Ivan_D on Wed Dec 24, 2008 6:19 pm; edited 7 times in total |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Tue Aug 26, 2008 2:06 pm Post subject: |
|
|
What is in your /etc/locale.gen ? |
|
Back to top |
|
|
Ivan_D n00b
Joined: 26 Nov 2007 Posts: 53 Location: Ukraine
|
Posted: Tue Aug 26, 2008 5:45 pm Post subject: |
|
|
/etc/locale.gen:
Code: | en_US ISO-8859-1
en_US.UTF-8 UTF-8
ru_RU.CP1251 CP1251
ru_RU.UTF-8 UTF-8 |
|
|
Back to top |
|
|
hampel n00b
Joined: 26 Jul 2007 Posts: 55
|
Posted: Tue Aug 26, 2008 9:41 pm Post subject: Re: Cannot change keyboard layout. Xfce4 |
|
|
Ivan_D wrote: | Code: |
Option "XkbOption" "grp:rshift_toggle"
|
|
Should be "XkbOptions", with an "s" at the end...
Mine looks like the following and works just fine...
Code: | Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
# Option "Protocol" "Standard"
Option "XkbLayout" "de,us"
Option "XkbModel" "pc105"
Option "XkbRules" "xorg"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
|
|
|
Back to top |
|
|
Ivan_D n00b
Joined: 26 Nov 2007 Posts: 53 Location: Ukraine
|
Posted: Wed Aug 27, 2008 4:08 am Post subject: Re: Cannot change keyboard layout. Xfce4 |
|
|
hampel wrote: | Should be "XkbOptions", with an "s" at the end... | It was misprint in forum. There's actually "XkbOptions". Thx, I fixed that in the first post.
The problem still isn't solved. |
|
Back to top |
|
|
Ivan_D n00b
Joined: 26 Nov 2007 Posts: 53 Location: Ukraine
|
Posted: Sat Aug 30, 2008 1:52 pm Post subject: |
|
|
It's not the solution to the problem but that's what I came up with: every time I login the following command is ran:
Code: | setxkbmap -layout "us,ru" -variant ",winkeys" -option "grp:alt_shift_toggle" -model "pc105" -rules "xorg" |
Half of my keyboard does not work, but it's manageable and I can switch layout. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat Aug 30, 2008 1:58 pm Post subject: |
|
|
What are the chances, that this was hal/evdev problem ? |
|
Back to top |
|
|
Ivan_D n00b
Joined: 26 Nov 2007 Posts: 53 Location: Ukraine
|
Posted: Wed Dec 24, 2008 6:18 pm Post subject: |
|
|
VoidMage wrote: | What are the chances, that this was hal/evdev problem ? | Chances are 100% : https://bugs.gentoo.org/200061 |
|
Back to top |
|
|
|