We have moved to a new Sailfish OS Forum. Please start new discussions there.

[Feature Request] Option to turn on/off keyboard word suggestions

asked 2014-05-03 10:54:24 +0200

molan gravatar image

updated 2016-09-08 18:22:18 +0200

misc11 gravatar image

On a daily basis I write/text in 3 different languages on my Jolla (one of them being a written dialect). I therefore don't use those suggestions and never felt the need for it. It often happens to me that Jolla's keyboard 'corrects' the word in a wrong way or into a language I'm not writing in because I accidentally tap the suggested word. This makes writing on SailfishOS quiet difficult.

  • How can I turn off suggestions (yes I went through all settings but didn't find it)?
  • Where are/went the keyboard settings other than language selection?

I hope someone can help me find those settings. I appreciate any suggestions. There is another request which also belongs to the category of missing keyboard settings (disable input suggestions): https://together.jolla.com/question/13497/option-to-disable-input-suggestion/

[Update 04.05.14] Changed topic to "Feature request" since the option to turn off that feature is missing and needs to be (in my opinion) implemented in future firmware releases.

See @zlatko 's answer for a temporary solution: https://together.jolla.com/question/41627/feature-request-turn-onoff-keyboard-autocorrect/#post-id-41630

update: still not implemented in SFOSv2.0.1.11

update: still not implemented in SFOSv2.0.2.51

edit retag flag offensive close delete



Hi guyz. Thanx a lot for the app. I never used word suggestions on any of my tech stuffs, thus it really disturbed me a lot that it is totally superfluous and even takes some place from the small screen. I tried to upgrade now, but it gives an error message as feedback (I made a screenshot, but I cannot attach it)...

Artemys ( 2016-07-23 09:31:48 +0200 )edit

5 Answers

Sort by » oldest newest most voted

answered 2014-05-03 11:27:14 +0200

zlatko gravatar image

updated 2014-05-03 11:29:27 +0200

@caprico Currently there is not such setting in UI as far as I know. If you are comfortable with terminal and text UI text editors you can easily switch auto correction off by going to /usr/share/maliit/plugins/com/jolla/layouts/ and editing your layout.conf file. Just (remove)comment this line handler=Xt9InputHandler.qml for your preferred keyboard entry. You must be root to do it. Then restart maliit(as as user!): systemctl --user restart maliit-server.service It is even better that you create your own custom layout file, so it is not overwritten by system updates, e.g caprico.conf and rename default one to e.g. layouts.conf.bkp. More detailed information can be found on TMO: http://talk.maemo.org/showthread.php?t=91917

edit flag offensive delete publish link more


Good to know, thank you :-)

ced117 ( 2014-05-03 17:18:56 +0200 )edit

@zlatko: Thanks a lot - fantastic answer. I will try that as soon as possible. Yet I think it is important that Jolla let users decide whether they want to use autocorrect or not and therefore this option has to be implement as soon as possible. I'm aware that Switzerland is a bit an exception with the strong German dialect we speak and write (which makes autocorrect being annyoing or/and useless) - but I'm sure there are also other people in all languages who prefer a disables autocorrect feature.

molan ( 2014-05-04 13:16:43 +0200 )edit

How can we remove the top row completely to save space especially in landscape mode? At the same time, clipboard key must be moved to another row if that remains the only way to use copy/paste feature.

hana ( 2014-08-02 22:47:49 +0200 )edit

Here is a dirty hack to set the height of the suggestion bar to whatever pixels you like. Do not blame me if it breaks something. I recommend creating a backup first! Although it did not break anything on my device.

Edit the /usr/share/maliit/plugins/com/jolla/TopItem.qml file like this: search for the height: Theme.itemSizeSmall text and comment it, and insert your own value instead, like height: 8

It looks like this in my file:

//  height: Theme.itemSizeSmall
    height: 8 //or whatever

Then restart the maliit server by killing it (and it will restart automatically), or by using zlatko-s systemctl command (see above).

killall maliit-server

I am not a programmer, this is really a nasty and temporary solution. The clipboard icon is not moved, so you have only some pixels height area to tap on. You can set the height to your liking for a more/less conveniant copy-paste experience.

cuh7b5 ( 2015-02-06 13:19:22 +0200 )edit

@cuh7b5 Thanks for the hack! For now it's the best solution.

hana ( 2015-09-11 14:25:57 +0200 )edit

answered 2016-07-01 01:21:41 +0200

Schturman gravatar image

updated 2016-07-01 01:22:43 +0200

If someone still need, I created patch for this: https://openrepos.net/content/schturman/patch-hide-word-suggestions
Work in a little bit different way...

edit flag offensive delete publish link more


@schturman man, youre the man!

i cant test it since i dont have v2.0.2.45, but from your screenshot it looks like you removed the suggestion but not actually the row where the suggestions would be, right?

i mean, for me thats kidna the point of this - to get more visibility...

do you think it would be possible to do that?

misc11 ( 2016-07-01 02:11:51 +0200 )edit

I'm tried to do this line invisible, but for now without success...

Schturman ( 2016-07-01 03:29:35 +0200 )edit

@Markkyboy, I already played with TopItem.qml file, but didn't get the wanted result... I just want this line transparent without changing the size.

Schturman ( 2016-07-01 13:39:21 +0200 )edit

I created new version that can also hide the Clipboard line if clipboard do not have text, it will give you some free screen space. I want also update version for, but for this I need output of TopItem.qml file from to see if it different from Can someone show me output of this file from ?

cat /usr/share/maliit/plugins/com/jolla/TopItem.qml

P.S. uploaded to openrepos....

Schturman ( 2016-07-03 00:11:43 +0200 )edit

TopItem.qml in

// comments

import QtQuick 2.0
import com.jolla.keyboard 1.0
import Sailfish.Silica 1.0
import com.meego.maliitquick 1.0

CloseGestureArea {
    height: Theme.itemSizeSmall
    threshold: Math.max(keyboard.height*.3, Theme.itemSizeSmall)
    onTriggered: MInputMethodQuick.userHide()
misc11 ( 2016-07-03 19:28:00 +0200 )edit

answered 2015-12-26 10:23:05 +0200

ping gravatar image

updated 2015-12-27 20:14:23 +0200

Tested under Sailfish OS v2.0.0.10 (Saimaa)

The following only hides the suggested words, because disabling the whole Xt9InputHandler would also hide the paste button.

Become root in Terminal using devel-su, or any way you fancy:
[nemo@Jolla ~]$ devel-su

Then edit file /usr/share/maliit/plugins/com/jolla/Xt9InputHandler.qml:
[root@Jolla nemo]# nano -w /usr/share/maliit/plugins/com/jolla/Xt9InputHandler.qml

Then under the square brackets block of
Do comment out the following line (prepend with //):
text: formatText(model.text)

..And to disable the possibility of clicking the now-invisible suggested words,
under the square brackets block of
Do comment out the following line (prepend with //):
onClicked: applyPrediction(model.text, model.index)

edit flag offensive delete publish link more


Great input my friend....but for me personally, I'm struggling to find some of these lines in my Xt9InputHandler.qml.

Some line numbers would be good, which I use in Nano, by appending a '-c' at the end of the command - this gives you a line counter/number.

nano /usr/share/maliit/plugins/com/jolla/Xt9InputHandler.qml -c

Spam Hunter ( 2016-01-17 15:44:43 +0200 )edit

answered 2017-01-07 16:21:58 +0200

stateoftheart gravatar image

updated 2017-01-07 16:25:02 +0200

To prevent new words from automatically being added to the prediction list under "/home/nemo/.local/share/xt9/xt9.dlm" I have also commented out the following function in "/usr/share/maliit/plugins/com/jolla/Xt9InputHandler.qml":

297   /*function handleKeyClick() {
405   }*/

And as already said, to hide the predictions, we have to comment out the following parts in the same file.

for the normal view:

091   /*delegate: BackgroundItem {
104   }*/

... and for the vertical view of the keyboard:

159   /*delegate: BackgroundItem {
175   }*/

I am using this right now on Sailfish OS

edit flag offensive delete publish link more

answered 2017-08-17 18:48:50 +0200

iourine gravatar image

Highly support the idea and vote for the "word suggestions ON/OFF" option in the UI. Auto-suggestions is a useless and very annoying junk from the very beginning. Jolla developers had to think of it and not of "atmospheres" and other bloatware.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2014-05-03 10:54:24 +0200

Seen: 2,396 times

Last updated: Aug 17 '17