Wrong keyboard layout used in X

Bug #27509 reported by David Balažic
10
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Fix Released
Medium
Tollef Fog Heen

Bug Description

v5.10

During install I selected "slovene" for keyboard alyout.
After install, the keys are from US layout.
(in X, on text console, they are OK: slovene)

Excerpt form Xorg.conf :

 Option "XkbLayout" "us"

Should have been "si" (or maybe "sl", I can't remember now).

Related branches

Revision history for this message
David Balažic (xerces8) wrote :

Created an attachment (id=5444)
Xorg.conf

Daniel Stone (daniels)
Changed in xorg:
assignee: daniels → nobody
Matt Zimmerman (mdz)
Changed in xorg:
assignee: nobody → tfheen
Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Just re-assigning the bug to xkeyboard-config. If any of you have updated information on this from dapper that would be great.

- Henrik

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

xserver-xorg.config.in needs to pick up the correct value from d-i and put that into the case statement around line 800 in that file.

Revision history for this message
Aurel Schwarzentruber (zed-balcab) wrote :

> If any of you have updated information on this from dapper
> that would be great.

This is still occurring in Dapper, I had the same problem after installing Kubuntu Flight 6 from scratch. I selected "Swiss-German" and got Option "XkbLayout" "us" - the correct entry would be "de_CH".

Changed in xorg:
status: Unconfirmed → Confirmed
Revision history for this message
Tollef Fog Heen (tfheen) wrote :

xorg (7.0.0-0ubuntu31) dapper; urgency=low

  * Add Slovenian, Swiss French and Swiss German keyboard layout
    detection. Malone: #27509

 -- Tollef Fog Heen <email address hidden> Wed, 26 Apr 2006 11:49:18 +0200

Changed in xorg:
status: Confirmed → Fix Released
Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Preconfiguring packages ...
/tmp/xserver-xorg.config.131311: line 973: syntax error near unexpected token `)'
xserver-xorg failed to preconfigure, with exit status 2
(Reading database ... 187076 files and directories currently installed.)
Preparing to replace xserver-xorg 7.0.0-0ubuntu30 (using .../xserver-xorg_7.0.0-0ubuntu31_amd64.deb) ...
/var/lib/dpkg/tmp.ci/config: line 973: syntax error near unexpected token `)'
dpkg: error processing /var/cache/apt/archives/xserver-xorg_7.0.0-0ubuntu31_amd64.deb (--unpack):
 subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/xserver-xorg_7.0.0-0ubuntu31_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

It seems there is an error in config script at line 973. At line 972:

    slovene) XMAP="si"
    sr-cy) XMAP="sr";;

So the problem is the missing ;; at the end of line 972 ?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :
Download full text (5.7 KiB)

xorg (1:7.2-3ubuntu1) gutsy; urgency=low

  * Merge from Debian unstable. Remaining changes:
    - debian/control, debian/scripts/vars.sparc, debian/rules:
      + Makes xorg Architecture: any and use an extra variable
        to not Depends on type-handling.
    - debian/control:
      + Keep meta-packages for xbase-clients, xutils.
      + Change the Maintainer-field.
      + Add replaces for xinit since we now ship Xsession from x11-common.
        Ditto for xrgb as we ship rgb.txt in x11-common.
      + xserver-xorg: Add dependancy "OR xserver-xorg-video" because
        the restricted drivers provide that.
    - debian/local/Xsession:
      + If ~/.xsession-errors is bigger than 0.5MiB, truncate it to the last
        0.5MiB to avoid having it grow indefinitively. (This does not happen
        with gdm anyway since gdm cleans the file on login). (LP #60448)
    - debian/local/dexconf:
      + Uncoditionally re-enable ZAxisMapping in dexconf. (LP: #31827)
      + Add InputDevice entries for wacom.
      + Add extra bits for ps3fb xorg.conf.
      + Read xserver-xorg/config/device/extra_options key, parse it
        (first token is option name, rest of the line after first space
        is value), and add it as Option lines to the device section.
        (LP: #90109)
      + Add special case for i810 with 3M TouchScreen monitors to set a
        resolution of 800x600 and avoid probing since it will fail miserably
        in xserver-xorg.postinst. Also make sure to write Option "DisplayInfo"
        "False" in Device Section in dexconf if the above combination is
        matched otherwise the card will display extra unrequired info each
        time X attempts a startup. (touches also xserver-xorg.postinst.in)
      + Due to a very annoying DRI/DRM bug, make sure to use OldDmaInit
        when writing down the Device section for mga driver. This will make
        DRI working at least for AGP cards. PCI didn't work before and it will
        keep not working since the option does explicitly disable DRI for PCI.
        (LP: #27442)
      + Enable elographics driver when matching known machines.
      + Disable composite when using the fglrx driver. It does not support
        composition, and enabling it by default (as recently done in
        xorg-server) breaks DRI for fglrx. (LP: #90688)
    - debian/scripts/vars.i386:
      + Add xserver-xorg-input-elographics to XSERVER_XORG_INPUT_DEPENDS.
    - debian/xserver-xorg.postinst.in:
      + Add lt to list of non-Latin keymaps (LP: #38931).
      + Make sure to ask video driver on sparc even if autodetected. Some
        cards still require weird overrides (ati -> fbdev) that are not
        100% known in all combinations.
      + Skip video card autodetection if xforcevesa is set
        (LP #27020, #59618).
      + Detect keyboard layout configuration using /etc/default/console-setup
        if available.
      + Clean up duplicate keymaps in xserver-xorg.config.in and make sure
        they're all neatly alphabetised.
      + Map cf console keymap to ca(fr).
      + Map croat console keymap to hr. (LP: #43598)
      + Set default keyboard variant for French to oss (LP: #89835).
      + Map...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.