Skip to content
September 3, 2012 / alancads

Configuring the language and keyboard to ABNT2 en Slackware

[Language:]

# vim /etc/profile.d/lang.sh

Rename for:

# pt_BR is the Slackware default locale:

export LANG=pt_BR.UTF-8

[Keyboard to ABNT2:]

# cp /usr/share/X11/xorg.conf.d/90-keyboard-layout.conf /etc/X11/xorg.conf.d/

# vim /etc/X11/xorg.conf.d/90-keyboard-layout.conf

Section "InputClass"
   Identifier "keyboard-all"
   MatchIsKeyboard "on"
   MatchDevicePath "/dev/input/event*"
   Driver "evdev"
   Option "XkbLayout" "br"
   Option "XkbVariant" "abnt2"
   Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
 
Reboot X
ctrl+alt+backspace
 
About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: