VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Portuguese Keybord Layout  (Read 1756 times)

hugobartolo

  • Member
  • *
  • Posts: 1
Portuguese Keybord Layout
« 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: 2301
Re: Portuguese Keybord Layout
« 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: [Select]
# 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!!