LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   keyboard configuration (https://www.linuxquestions.org/questions/linux-newbie-8/keyboard-configuration-107892/)

perkulio 10-24-2003 01:30 AM

keyboard configuration
 
hello everyone:

I'm newbie in linux and i just install red hat 9, using gnome.

the problem is that every time that i log in to mi session the keyboard is set to
us international (I'm using spanish), then i go to system-setting:///keyboard and my keyboard is set to spanish (it says, but really isnt), i only press ok and my keyboard is to spanish again.

i use it very well until i log in again, is set to us international

thanks for your time and forgive me if i have some mistakes in the english writing

Looking_Lost 10-24-2003 03:34 AM

Take a look in /etc/X11/XF86Config

for the line

Option "XkbLayout" "gb"

Mine is "gb" for great britain if it doesn't have the equivalent for spanish change the setting's to whatever they should be, possibly


Option "XkbLayout" "es"

You'll have to check the proper value for what "es" should be, if it is already correct then I don't know the reason :)

Reboot for good measure for any changes to take effect

Y0jiMb0 10-24-2003 04:18 AM

Quote:

Take a look in /etc/X11/XF86Config
...or maybe you're using the file

Code:

/etc/X11/XF86Config-4
then you have to modify this file, doing what Looking_Lost suggests.

Regards

perkulio 10-24-2003 08:16 PM

hello again,
i dont have the XF86Config-4 file

i look in to my XF86Config and this is it

------------------------------------------------------------------------------------------------
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"

#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "SyncMaster"
DisplaySize 320 240
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Device"

### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "HWCursor" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "UseBIOS" # [<bool>]
#Option "LCDClock" # <freq>
#Option "ShadowStatus" # [<bool>]
#Option "VideoRAM" # <i>
#Option "CrtOnly" # [<bool>]
#Option "TvOn" # [<bool>]
#Option "PAL" # [<bool>]
#Option "ForceInit" # [<bool>]
Identifier "Card0"
Driver "savage"
VendorName "S3 Inc."
BoardName "[ProSavageDDR K4M266]"
VideoRam 32768
Option "UseBIOS" "no"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

-----------------------------------------------------------------------------------------------------------------

there is no Option "XkbLayout", i search about it and it seems that i dont have
the Section "InputDevice" for my keyboard. should i put it myself?

any help would be greatly appreciated and thanks for answer so quickly :)

perkulio 10-24-2003 08:33 PM

the problem is gone, thanks all for the help

I had not seen the keyboard's InputDevice section,
only insert the option and it is "es" for spanish.

sorry for sending the last reply without looking better in the file
PerKulio

Y0jiMb0 10-25-2003 12:19 AM

glad to hear it's working
enjoy! :cool:
Regards


All times are GMT -5. The time now is 09:30 PM.