Mir should read default keymap from udev properties.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
Medium
|
Stephen M. Webb | ||
Mir |
New
|
Medium
|
Andreas Pokorny | ||
Ubuntu Terminal App |
Confirmed
|
Wishlist
|
Unassigned | ||
mir (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Mir should maintain default keymaps for all physical keyboards, read from the XKBLAYOUT, XKBMODEL, XKBOPTIONS, and XKBVARIANT udev properties associated with the keyboard device.
This will make Mir servers use the system-wide configuration by default.
Original report follows:
Note: the documentation request is NOT for the on-screen-keyboard, but for external keyboards connected through bluetooth;
I have an external BT keyboard with layout UK QWERTY (see a scan of the layout here 1) which works fine with my Ubuntu mobile devices. What I in addition want to archive are the Spanish tilded chars like áéíóñ¿¡ ...
In my FreeBSD netbook I do such configuration on the X11 level with commands like this which are fired up when the desktop comes up, here as an example for the character ñ Ñ:
# we use the Win-key to add more (esp. Spanish) letters to the keys:
#
xmodmap -e "keycode 0x73 = Mode_switch"
xmodmap -e "keycode 0x39 = n N ntilde Ntilde"
i.e. the useless key "Win" is redefined as a X11-modifier key and pressing the keys Win + n together gives just ñ.
How could I do this within the Ubuntu OTA-10 terminal app or within the M10?
Changed in canonical-devices-system-image: | |
assignee: | nobody → kevin gunn (kgunn72) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in mir: | |
assignee: | nobody → Andreas Pokorny (andreas-pokorny) |
importance: | Undecided → Medium |
Changed in canonical-devices-system-image: | |
assignee: | kevin gunn (kgunn72) → Stephen M. Webb (bregma) |
summary: |
- BQ E4.5 (OTA-10): documentation of keymapping + Mir should read default keymap from udev properties. |
description: | updated |
Hi Matthias,
I'd split your request into two parts:
1) Keyboard mapping inside ubuntu- terminal- app: opt_terminal_ app_click_ pkg_folder> /lib/<arch> /QMLTermWidget/ kb-layouts/ default. keytab. This is not a safe procedure, and you terminal-app may stop working as expected.
The terminal plugin we use is a fork of Konsole, which exposes an interface for mapping custom keys inside a profile.
We haven't exposed those bits to the application yet, but it's on our list of things to do.
By the way, you can manually edit <path_to_
Anyway, I can surely confirm this bug and mark it as "wishlist".
2) Keyboard mapping in Mir: devices- system- image as affected, so they can reply on this.
I know there's some keyboard mapping in QtMir, but I'm not sure there's a way to customize the keyboard behaviour, or it is applied to the whole Mir environment (i.e. does it work for GTK+ apps too?).
I'm going to mark canonical-