Configuring keyboard layout on Fluxbox

This command works but just at the actual session:

# setxkbmap -model abnt2 -layout br -variant abnt2

To keep the layout every time you start your system you need write the keyboard options

at a file if you use Xorg window system try this:

“/etc/X11/xorg.conf.d/00-keyboard.conf”

Section “InputClass”

        Identifier “keyboard”

        MatchIsKeyboard “yes”

        Option “XkbLayout” “br”

        Option “XkbVariant” “abnt2”

        Option “XkbOptions” “”

EndSection

Advertisements

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