Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Cannot change keyboard layout.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ivan_D
n00b
n00b


Joined: 26 Nov 2007
Posts: 53
Location: Ukraine

PostPosted: Tue Aug 26, 2008 4:11 am    Post subject: [solved] Cannot change keyboard layout. Reply with quote

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
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Tue Aug 26, 2008 2:06 pm    Post subject: Reply with quote

What is in your /etc/locale.gen ?
Back to top
View user's profile Send private message
Ivan_D
n00b
n00b


Joined: 26 Nov 2007
Posts: 53
Location: Ukraine

PostPosted: Tue Aug 26, 2008 5:45 pm    Post subject: Reply with quote

/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
View user's profile Send private message
hampel
n00b
n00b


Joined: 26 Jul 2007
Posts: 55

PostPosted: Tue Aug 26, 2008 9:41 pm    Post subject: Re: Cannot change keyboard layout. Xfce4 Reply with quote

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
View user's profile Send private message
Ivan_D
n00b
n00b


Joined: 26 Nov 2007
Posts: 53
Location: Ukraine

PostPosted: Wed Aug 27, 2008 4:08 am    Post subject: Re: Cannot change keyboard layout. Xfce4 Reply with quote

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
View user's profile Send private message
Ivan_D
n00b
n00b


Joined: 26 Nov 2007
Posts: 53
Location: Ukraine

PostPosted: Sat Aug 30, 2008 1:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Aug 30, 2008 1:58 pm    Post subject: Reply with quote

What are the chances, that this was hal/evdev problem ?
Back to top
View user's profile Send private message
Ivan_D
n00b
n00b


Joined: 26 Nov 2007
Posts: 53
Location: Ukraine

PostPosted: Wed Dec 24, 2008 6:18 pm    Post subject: Reply with quote

VoidMage wrote:
What are the chances, that this was hal/evdev problem ?
Chances are 100% : https://bugs.gentoo.org/200061 :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum