VectorLinux
April 24, 2014, 12:53:17 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Portuguese Keybord Layout  (Read 1511 times)
hugobartolo
Member
*
Posts: 1


« on: February 03, 2008, 04:04:06 pm »

hi,

I'm a beginner on VL, and I've try to install the VL on a Toshiba s1700 with a Portuguese keyboard layout, but i just can't manager to do it.

Can, anybody, help me?

thanks

Hugo Bártolo
Logged
rbistolfi
Packager
Vectorian
****
Posts: 2265


« Reply #1 on: February 03, 2008, 05:25:18 pm »

You can do it from MENU > SYSTEM > VASMCC > X WINDOW > KEYBOARD SETUP.
But I think the better way to do this is editing the xorg.conf file directly. If you want to do that:

Open a console and login as root with the su command
Then with the text editor of your choice open the /etc/X11/xorg.conf, for example:

Code:
# medit /etc/X11/xorg.conf

Find a section looking like this:


Quote
Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "XkbLayout" "es"    ## KEYBOARD_MAP!
    Option         "XkbModel" "pc105"    ## KEYBOARD_MODEL!
    Option         "Xkbvariant" ""    ## KEYBOARD_VARIANT!

EndSection

Change "XkbLayout" "es" to "XkbLayout" "pt_PT" or "pt_BR" or whatever you need, for a complete list of the options and variants for the pt layout type locale -a | grep pt in a console. Save the file, close all your apps and restart the X server with CTL+ALT+BACK.

HTH

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!