setxkbmap set incorrect layer for swedish and alt-intl keyboards

Bug #1247360 reported by Federico Leoni
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
x11-xkb-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

For my work and for real life I write a lot in English, Italian and Portuguese so on all my system desktop (Lubuntu 13.04), netbook and notebook (Lubuntu 13.10), I set my keyboard to US alternative international.
What I expect pressing the key " ' " followed by " c " from the keyboard is the special char " ç " (ALT code 135) but on 13.10 it
read it as a " ć ", when on 13.04 is working as expected.
I tried to configure it with the new keyboard layout Handler applet and with the old-but-good Lxkeymap but Lubuntu simply seems to ignore the existence of that character. The rest of the keyboard is working fine. This char is really important for Portuguese so it's a big issue. I tried with a standard Ubuntu 13.04/13.10 live, same behavior.

Another user on Lubuntu mailing list reported the same issue wih swedish keyboard:
2013/11/2 Nio Wiklund <@>:
I can confirm this behaviour also with Swedish keyboard

Examples

Acute accent + c prints ç in 12.04.3 but ć in 13.10
Acute accent + e prints é in 12.04.3 and 13.10

When I log in from a Lubuntu 13.10 client via ssh to a Xubuntu 12.04.3
ssh server, I get the 13.10 behaviour, so it seems connected to the
keyboard setting rather than interpreting the ascii code.

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

Note that entering a TTY the keyboard do not change at all. It's stuck on US keyboard.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: x11-xkb-utils 7.7~1ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic i686
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: i386
Date: Sat Nov 2 08:24:59 2013
InstallationDate: Installed on 2013-10-30 (3 days ago)
InstallationMedia:

MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_US
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: x11-xkb-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Federico Leoni (effelle-gmail) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in x11-xkb-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Federico Leoni (effelle-gmail) wrote :

my desktop (running 13.04) is set to PT-BR, if I change language to US the keyboard start acting strange as on others PC.
Setting to PT-BR my netbook and notebook solved the problem but I need an English setup here. And have a keyboard that change behavior with the language is not the best.

Revision history for this message
sudodus (nio-wiklund) wrote :

To make something clean I installed from Lubuntu_13.10oct30.tar.xz,
selected Swedish at the OEM finishing screen, added Swedish language,
set it system-wide. and rebooted.

The clock, pull down menus, letters in the terminal windows are Swedish,
for example åäö. but the issue with c is still there.

It behaves as described earlier

Acute accent + c prints ç in 12.04.3 but ć in 13.10

setxkbmap pt gives a keyboard where I get ç, where the US keyboard has ;
(semicolon), the key below p.

Revision history for this message
Gustavo Barreto (elvenfoot) wrote :

Hello to all!

I've found the possibile problem causa by accident, when applying this patch to ubuntu 13.10:
https://launchpad.net/~timekiller/+archive/unity-systrayfix

Ubuntu 13.10 are using two different keyboard layout configurations, the ibus and the gnome keyboard, and as it looks both of the are active.
But you cannot see the ibus icon on top, as it has been disabled...
---
If you appy the patch above, you will see another keyboard icon, that leads to ibus configuration, that (in my case) were different from the gnome keyboard, as the english keyboard was before us alt-int.
<------------------------------->
MY SOLUTION

->open a terminal
->open ibus configuration using the command: ibus-setup
-> Configure your keyboard layout.

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

Other bug subscribers

Remote bug watches

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