Bug with Onboard installed in Libertine container in Ubuntu Touch

Bug #1647816 reported by Vladimir
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Onboard
New
Undecided
Unassigned

Bug Description

I’ve installed the Onboard in Libertine container in Ubuntu Touch (Bq Aquaris M10). Onboard works well, can be configured, but I can not change language layouts from English to Russian. Maliit, default virtual keyboard installed in the host system (Ubuntu Touch), hasn’t such problem. Physical keyboard in host system works well (language layouts are changeable), and in Libertine container the language layouts can be changed, too. Very strange is when I, working in Libertine container, connect physical keyboard and simultaneously start Onboard, then the Onboard can change language layout on itself! But when I try press keys on the Onboard, language is changing to English and printing Enlgish in GEdit in Libertine.

I’m not sure, that it is bug of Onboard, or some piece of necessary software is missing in container by default. Could you possible to give an advice or accept new bug?

Vladimir (nskubuntu1)
description: updated
Revision history for this message
marmuta (marmuta) wrote :

I'm not sure about the environment Onboard runs in there. If it's still X based (XMir?), then Onboard should reflect the state of the currently active xkb keymap and group. You could check that with
setxkbmap -query
setxkbmap -print

> But when I try press keys on the Onboard, language is changing to English
> and printing Enlgish in GEdit in Libertine.
Sounds familiar. Usually something like this made the layout stick for the session:
setxkbmap ru

Does that help?

I'll try to replicate that setup, but it'll take a couple of days.

Revision history for this message
Vladimir (nskubuntu1) wrote :

Oh, thank you!! It works. But with specificity of Ubuntu Touch. So, I must use:
$ DISPLAY=:0 setxkbmap ru
to set Russian for Onboard, working in Libertine Container.
And,
$ DISPLAY=:0 setxkbmap -query
rules: evdev
model: pc105
layout: ru
$ DISPLAY=:0 setxkbmap -print
xkb_keymap {
        xkb_keycodes { include "evdev+aliases(qwerty)" };
        xkb_types { include "complete" };
        xkb_compat { include "complete" };
        xkb_symbols { include "pc+ru+inet(evdev)" };
        xkb_geometry { include "pc(pc105)" };
In addition I should say that "setxkbmap" works only in host. There is no "setxkbmap" inside container:
$ libertine-container-manager exec --command "setxkbmap -query" --id my-container
/usr/sbin/chroot: failed to run command ‘setxkbmap’: No such file or directory

It seems strange...

Revision history for this message
Vladimir (nskubuntu1) wrote :

solved problem with Onboard in Libertine (Ubuntu Touch)

And this a screenshot

Revision history for this message
Vladimir (nskubuntu1) wrote :

solved problem with Onboard in Libertine (Ubuntu Touch)

And this is a screenshot

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.