You are not logged in.

#1 2008-12-07 10:25:27

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Xorg 1.5.3 - Still some issues with the keyboard layout

well i read a lot of threads and i solved almost everything, but my keyboard layout is still a little strange, for example, before the "backslash" key (the one above the TAB key) doesn't work anymore, that really bothers me because i really use the midnight commander "hotdir" feature

my config files:
/etc/hal/fdi/policy/10-keymap.fdi

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">base</merge>

      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.xkb.model" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.xkb.model" type="string">evdev</merge>
      </match>

      <merge key="input.xkb.layout" type="string">es</merge>
      <merge key="input.xkb.variant" type="string" />
    </matchudo
  </device>
</deviceinfo>

/etc/X11/xorg.conf

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
#    InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
#        InputDevice    "USB Mouse" "CorePointer"
EndSection

#Section "ServerFlags"
#    Option "AllowMouseOpenFail"  "true"
#    Option "AutoAddDevices" "false"
#EndSection

Section "Files"
#    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/local"
    FontPath     "/usr/share/fonts/artwiz-fonts"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
#    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
#    Load  "type1"
    Load  "freetype"
#    Load  "record"
#    Load  "synaptics"
    SubSection  "extmod"
        Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
EndSection

#Section "InputDevice"  [b]#THIS WAS MY PREVIOUS KEYBOARD CONFIG, WITH IT THE LAYOUT WAS PERFECT...[/b]
#    Identifier  "Keyboard0"
#    Driver      "keyboard"
#       Option      "CoreKeyboard"
#    Option "XkbRules" "xorg"
#    Option "XkbModel" "pc105"
#    Option "XkbLayout" "es"
#    Option "XkbVariant" ""
#EndSection

#Section "InputDevice"
#    Identifier  "Serial Mouse"
#    Driver      "mouse"
#    Option      "Protocol" "Microsoft"
#    Option      "Device" "/dev/ttyS0"
#    Option      "Emulate3Buttons" "true"
#    Option      "Emulate3Timeout" "70"
#    Option        "SendCoreEvents"  "true"
#EndSection

#Section "InputDevice"
#    Identifier  "PS/2 Mouse"
#    Driver      "mouse"
#    Option      "Protocol" "auto"
#    Option      "ZAxisMapping" "4 5"
#    Option      "Device" "/dev/psaux"
#    Option      "Emulate3Buttons" "true"
#    Option      "Emulate3Timeout" "70"
#    Option        "SendCoreEvents"  "true"
#EndSection

#Section "InputDevice"
#        Identifier      "USB Mouse"
#        Driver          "mouse"
#        Option          "Device"                "/dev/input/mice"
#    Option        "SendCoreEvents"    "true"
#        Option          "Protocol"              "IMPS/2"
#        Option          "ZAxisMapping"          "4 5"
#        Option          "Buttons"               "5"
#EndSection


Section "Monitor"
    Identifier   "Monitor0"
    Option       "DPMS" "true"
    VendorName   "SAM"
    ModelName    "SyncMaster"
    HorizSync    30.0 - 81.0
    VertRefresh  56.0 - 75.0
EndSection


Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "Unknown Board"
EndSection


Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    Option     "NoLogo" "true"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     1
        Modes "1680x1050" "1440x900" "1280x800" "1024x640" "800x500"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1680x1050" "1440x900" "1280x800" "1024x640" "800x500"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1680x1050" "1440x900" "1280x800" "1024x640" "800x500"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1680x1050" "1440x900" "1280x800" "1024x640" "800x500"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1680x1050" "1440x900" "1280x800" "1024x640" "800x500"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1680x1050" "1440x900" "1280x800" "1024x640" "800x500"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1680x1050" "1440x900" "1280x800" "1024x640" "800x500"
    EndSubSection
EndSection

Section "Extensions"
    Option      "Composite" "Enable"
EndSection

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#2 2008-12-07 10:35:04

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Xorg 1.5.3 - Still some issues with the keyboard layout

Just to clarify a point; are you using the "Evdev-managed leyboard" in 'System-Settings -> Regional & Language -> Keyboard Layout" ?

I don't know what the files in '/etc/hal/fdi/' are supposed to do, but this folder [and its' sub-folders] on my machine don't contain
any files !

Deej

Offline

#3 2008-12-07 10:38:31

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: Xorg 1.5.3 - Still some issues with the keyboard layout

deej wrote:

Just to clarify a point; are you using the "Evdev-managed leyboard" in 'System-Settings -> Regional & Language -> Keyboard Layout" ?

I don't know what the files in '/etc/hal/fdi/' are supposed to do, but this folder [and its' sub-folders] on my machine don't contain
any files !

Deej

sorry i don't specify but i don't use any DE, only dwm


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#4 2008-12-07 12:25:34

nuttygamergeek
Member
Registered: 2008-11-24
Posts: 15

Re: Xorg 1.5.3 - Still some issues with the keyboard layout

You can change this line to the model you were using before, ie in your case pc105:

<merge key="input.xkb.model" type="string">keyboard</merge>

It won't be used unless evdev isn't working though.

Last edited by nuttygamergeek (2008-12-07 12:26:41)

Offline

#5 2008-12-07 14:16:12

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: Xorg 1.5.3 - Still some issues with the keyboard layout

nuttygamergeek wrote:

You can change this line to the model you were using before, ie in your case pc105:

<merge key="input.xkb.model" type="string">keyboard</merge>

It won't be used unless evdev isn't working though.

i did that and restarted hal but nothing changed, the behaviour is the same sad


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

Board footer

Powered by FluxBB