← Back to team overview

ubuntu-phone team mailing list archive

Re: Keyboard layout

 

Correction to the GMail and Twitter comment below. After a reboot keyboard works (but without auto-caps) in GMail, but still not when composing a tweet. Using the search function in Twitter brings up the keyboard.

/Tomas

Tomas Ö skrev 2013-11-05 15:16:
Hi Bill,

I am on 14.04 (r10) and yes, I noticed that auto-caps is working in the Notes and Messaging apps. However, when I try composing a new message in GMail or a new tweet in the Twitter app, the keyboard doesn't even show up.

With reference to the reply from Thomas, I was wondering about the command: adb shell sudo -iu phablet gsettings set com.canonical.keyboard.maliit enabled-languages "['en', 'es', 'fr', 'pt', 'de', 'zh']" The layout is picked from the LANGUAGE env variable. A recent keyboard is needed.

In a previous build r100 I think, I tried changing the keyboard layout according to my question here:
http://askubuntu.com/questions/362910/swedish-keyboard-on-ubuntu-touch

Does the keyboard depend on the display language from the Ubuntu Touch settings? I was thinking I could use a Swedish keyboard together with the English UI language, as Swedish is not yet enabled in Ubuntu Touch (probably because it isn't ready enough). In that case, how do I enable Swedish for the UI?

Thanks,
Tomas


Bill Filler skrev 2013-11-05 14:51:
On 11/05/2013 06:23 AM, Tomas Ö wrote:
Hi Thomas,

thanks for the input. I will try this for the keyboard layout. As I stated below, I have tried the auto-caps command without any result. I guess that is what you meant with the "predicitive-text true" command...? I will try that again also.

auto-caps is the default behavior now and is working in the latest image. The first letter of the word or after punctiation should be automatically capitilized in non special text fields. you should not need to turn predictive-text on to get the auto-caps functionality as they are properly decoupled. Are you using latest trusty image?
phablet-flash ubuntu-system --channel trusty-proposed

I assume that these commands could also be issued from the terminal app on the device, or?

Thank you,
Tomas

Thomas Moenicke skrev 2013-11-05 12:18:
Hi Tomas,

you need to add the desired language to the list of enabled languages:
adb shell sudo -iu phablet gsettings set com.canonical.keyboard.maliit enabled-languages "['en', 'es', 'fr', 'pt', 'de', 'zh']" The layout is picked from the LANGUAGE env variable. A recent keyboard is needed.

For getting autocaps working also try this:
adb shell sudo -iu phablet gsettings set com.canonical.keyboard.maliit predictive-text true

Thomas



On Wed, Oct 30, 2013 at 12:30 PM, Tomas Ö <tomoqv@xxxxxxxxx <mailto:tomoqv@xxxxxxxxx>> wrote:

    Is it possible to change the keyboard layout with the gsettings
    command? I also tried to change auto-capitalization with the
    following command in the terminal on my device:

    sudo -iu phablet gsettings set com.canonical.keyboard.maliit
    auto-capitalization true

    but it didn't work.

    Thanks,
    Tomas

    --
    Mailing list: https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
    <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    More help   : https://help.launchpad.net/ListHelp











Follow ups

References