SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-02-15 17:23:35

soraaru
New Member
Registered: 2014-02-15
Posts: 6

[SOLVED]Keyboard Layout

Hello guys.
I got a strange problem with #!, I just installed the new version of the system. Got all the updates and stuff, but there`s a problem:
I use a brazilian keyboard (the layout is different, there`s like 3 different keys in it) and I can`t change to the proper layout.

This is my /etc/default/keyboard/

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="br"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

Any help would be appreciated.

Last edited by soraaru (2014-02-15 20:03:44)

Offline

Help fund CrunchBang, donate to the project!

#2 2014-02-15 18:27:12

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 13,410
Website

Re: [SOLVED]Keyboard Layout

soraaru wrote:

Any help would be appreciated.

sudo dpkg-reconfigure keyboard-configuration

Screen 1 - choose a Model of Keyboard
2014_02_15_15_07_12_960x600_Sector11.jpg

Screen 2 - Select the layout - Portuguese (Brazil)
2014_02_15_15_08_06_960x600_Sector11.jpg
Screen 3 - Choose a configuration
2014_02_15_15_31_57_960x600_Sector11.jpg
Screen 4 - Alt-Gr configuration
2014_02_15_15_33_49_960x600_Sector11.jpg


if the configuration selections in Screen 3 & 4 don't work try a different ones ...
Can't remember if you need to log-out or reboot ... but that should get you going.

Last edited by Sector11 (2014-02-15 18:39:25)

Offline

#3 2014-02-15 18:37:57

soraaru
New Member
Registered: 2014-02-15
Posts: 6

Re: [SOLVED]Keyboard Layout

Sector11 wrote:

Fast answer:

sudo dpkg-reconfigure keyboard-configuration

Screen 1 - choose a keyboard
Screen 2 - Portuguese (Brazil)
Screen 3 - Choose a configuration

if the configuration doesn't work try a different one ...
Can't remember if you need to log-out or reboot ... but that should get you going.

Still doesn`t work, I`ve tried with other keyboards or regions and other keyboards and still is like that.
I had an older PS/2 keyboard and it worked just fine, but this one uses USB, maybe that could give it some trouble with the region and layout.

Offline

#4 2014-02-15 18:40:56

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 13,410
Website

Re: [SOLVED]Keyboard Layout

soraaru wrote:
Sector11 wrote:

Fast answer:

sudo dpkg-reconfigure keyboard-configuration

Screen 1 - choose a keyboard
Screen 2 - Portuguese (Brazil)
Screen 3 - Choose a configuration

if the configuration doesn't work try a different one ...
Can't remember if you need to log-out or reboot ... but that should get you going.

Still doesn`t work, I`ve tried with other keyboards or regions and other keyboards and still is like that.
I had an older PS/2 keyboard and it worked just fine, but this one uses USB, maybe that could give it some trouble with the region and layout.

Hmmm interesting.
Be right back ...

Got a model name - number on the bottom of the keyboard?

Last edited by Sector11 (2014-02-15 18:41:49)

Offline

#5 2014-02-15 18:46:43

soraaru
New Member
Registered: 2014-02-15
Posts: 6

Re: [SOLVED]Keyboard Layout

Sector11 wrote:

Hmmm interesting.
Be right back ...

Got a model name - number on the bottom of the keyboard?

The PS/2 stopped working and it`s in recycling now, but the USB is a Logitech K230 (it`s a little different from the North American version just because of the keys).

Offline

#6 2014-02-15 18:51:42

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 13,410
Website

Re: [SOLVED]Keyboard Layout

Try this:

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="microsoftprousb"
XKBLAYOUT="br"
XKBVARIANT=""
XKBOPTIONS="lv3:ralt_switch"

BACKSPACE="guess"

Also a link: https://wiki.debian.org/Keyboard
with a section: How to enable USB keyboard in initramfs

Last edited by Sector11 (2014-02-15 18:54:18)

Offline

#7 2014-02-15 19:38:39

soraaru
New Member
Registered: 2014-02-15
Posts: 6

Re: [SOLVED]Keyboard Layout

Sector11 wrote:

Try this:

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="microsoftprousb"
XKBLAYOUT="br"
XKBVARIANT=""
XKBOPTIONS="lv3:ralt_switch"

BACKSPACE="guess"

Also a link: https://wiki.debian.org/Keyboard
with a section: How to enable USB keyboard in initramfs

It didn't work, but a friend told me to use this and worked:

setxkbmap -model abnt2 -layout br -variant abnt2 &

Then you just need to put it in the autostart and everything should be fine.
Now, if someone has the same problem, just tell that.

Thanks for the help.

Offline

#8 2014-02-15 19:52:06

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 4,442

Re: [SOLVED]Keyboard Layout

Glad you got it sorted out smile  If you edit the title of your first post and add eg "[SOLVED]" it would be a help to others who are searching for answers


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Offline

#9 2014-02-15 20:04:57

soraaru
New Member
Registered: 2014-02-15
Posts: 6

Re: [SOLVED]Keyboard Layout

damo wrote:

Glad you got it sorted out smile  If you edit the title of your first post and add eg "[SOLVED]" it would be a help to others who are searching for answers

Oh, sorry for not doing that earlier, all shorted out now.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo