Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
layout and keyboard model in console [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rudregues
Apprentice
Apprentice


Joined: 29 Jan 2013
Posts: 227
Location: Brazil

PostPosted: Sun Jan 19, 2014 3:21 am    Post subject: layout and keyboard model in console [SOLVED] Reply with quote

https://wiki.gentoo.org/wiki/Localization/HOWTO#Keyboard_layout_for_the_console

For X it works with this command
Code:
setxkbmap -model thinkpad60 -layout br


I tried to put keymap="br-abnt2-thinkpad60" in /etc/conf.d/keymaps but it fails

I think the console configuration is just about layout, no model.....
Code:
$ ls /usr/share/keymaps/i386/qwerty/ | grep br 
br-abnt.map.gz
br-abnt2.map.gz
br-latin1-abnt2.map.gz
br-latin1-us.map.gz

_________________
Emerging en gentoo


Last edited by rudregues on Mon Jan 20, 2014 4:55 am; edited 1 time in total
Back to top
View user's profile Send private message
rudregues
Apprentice
Apprentice


Joined: 29 Jan 2013
Posts: 227
Location: Brazil

PostPosted: Mon Jan 20, 2014 4:54 am    Post subject: Reply with quote

Looks like it's a bug.

X11 loads keyboard mapping from this file /usr/share/X11/xkb/symbols/br-abnt2
console loads keyboard mapping from this file /usr/share/keymaps/i386/qwerty/br-abnt2.map.gz

Since there was no problem in X mapping but in console I just compared these two files and for my surprise they were different from one single line: the last (which caused the problem in console). So I just copied br-abnt2 to br-abnt2.map, zipped to br-abnt2.map.gz replaced the old one.


I'll report this in freedesktop or whatever (if someones knows the correct place to file a bug please tell me).
_________________
Emerging en gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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