Design Team/Proposals/Touchscreen/On-screen Keyboard: Difference between revisions

Erikos (talk | contribs)
Erikos (talk | contribs)
Build from Source on the XO: added steps to change the style
Line 62: Line 62:
* Instruct GTK to use the Maliit IM_MODULE:
* Instruct GTK to use the Maliit IM_MODULE:
  Install the following [http://dev.laptop.org/~erikos/maliit/sugar-session sugar-session file] in /usr/bin/sugar-session. This sets the environment variable for 'GTK_IM_MODULE' to 'Maliit' on Sugar startup.
  Install the following [http://dev.laptop.org/~erikos/maliit/sugar-session sugar-session file] in /usr/bin/sugar-session. This sets the environment variable for 'GTK_IM_MODULE' to 'Maliit' on Sugar startup.
* Change the style
To adjust your settings have a look at maliit-framework/examples/apps/maliit-exampleapp-settings-python3.py If you change the header to say '/usr/bin/python' to not try to use Python3 you can use it to do Maliit settings (you have to run the script from within Sugar).
./maliit-exampleapp-settings-python3.py about libmaliit-keyboard-plugin.so
./maliit-exampleapp-settings-python3.py set libmaliit-keyboard-plugin.so current_style olpc-xo
You can add as well several languages to be available:
./maliit-exampleapp-settings-python3.py set enabled
libmaliit-keyboard-plugin.so:ar,libmaliit-keyboard-plugin.so:de


====Issues====
====Issues====