Keyboard Debate

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (Summary of the problem)
(Illume keyboard: remove broken links -- first 404, second server error)
 
(111 intermediate revisions by 28 users not shown)
Line 1: Line 1:
{{note|This is an emotionally laden topic. Please stick to facts and Neutral Point of View.[[User:MinhHaDuong|MinhHaDuong]] 09:43, 27 August 2008 (UTC)}}
+
The default touchscreen keyboard in [[Om 2009]] is the [[Illume keyboard]].
 
+
{{note|This is work in progress. Please help by linking to appropriate messages and wiki pages.}}
+
  
 
== Summary of the problem ==
 
== Summary of the problem ==
  
Om 2008.8 uses Qtopia for its phone stack. Qtopia has a build-in keyboard primarily designed to compose SMS in English. This keyboard is very impractical to use with a terminal or enter an URL. [http://lists.openmoko.org/pipermail/support/2008-August/002184.html According to Raster] it cannot be turned off, [http://n2.nabble.com/preserving-illume-keyboard-on-update-tp778734p778919.html short of recompiling qpe] of course.
+
Om 2008.8 uses Qtopia for its phone stack. Qtopia has a build-in keyboard primarily designed to compose SMS in English. This keyboard is very impractical to use with a terminal or enter an URL.
  
[http://n2.nabble.com/preserving-illume-keyboard-on-update-tp778734p780454.html More details...]
+
[http://n2.nabble.com/preserving-illume-keyboard-on-update-tp778734p780454.html More details...], list of all [https://docs.openmoko.org/trac/query?status=accepted&status=assigned&status=in_testing&status=new&status=reopened&summary=~keyboard&order=priority keyboard bugs in the defect tracking system].
 
+
List of all [https://docs.openmoko.org/trac/query?status=accepted&status=assigned&status=in_testing&status=new&status=reopened&summary=~keyboard&order=priority keyboard bugs in the defect tracking system].
+
  
 
== List of available keyboards ==
 
== List of available keyboards ==
  
The [[Om2008.8_Keyboard|Qtopia keyboard]] build-in Om 2008.8. See also the [[http://doc.trolltech.com/qtopia4.3/inputmethods-description.html documentation at Trolltech]]
+
=== Qtopia keyboard ===
  
The [[Switching_Keyboards_on_OM_2007.2|matchbox keyboard]].
+
The [[Om2008.8_Keyboard|Qtopia keyboard]] build-in Om 2008.8. See also the [http://doc.trolltech.com/qtopia4.3/inputmethods-description.html documentation at Trolltech]
  
 +
{|
 +
| [[Image:asu_keyboard_lower.png|none|thumb|250px|ASU Keyboard]] || [[Image:asu_keyboard_word.png|none|thumb|250px|ASU Keyboard with hello]] || [[Image:asu_keyboard_numeric.png|none|thumb|250px|ASU Keyboard with numeric keys]]
 +
|}
 +
 +
=== Matchbox keyboard ===
 +
 +
The [[Switching_Keyboards_on_OM_2007.2#What_does_the_keyboard_look_like.3F|matchbox keyboard]]. See also [http://matchbox-project.org/?p=1 homepage of Matchbox keyboard and Matchbox stroke]. [[Image:Complete_QWERTY_Keyboard_On_The_Freerunner_screenshot.png|none|thumb|260px|Screenshot of the keyboard applet on 2007.2]]
 +
 +
=== Illume keyboard ===
 +
{{Main|Illume keyboard}}
 
The illume virtual keyboard a.k.a. Raster's keyboard.
 
The illume virtual keyboard a.k.a. Raster's keyboard.
 +
 +
[[Image:Illume-Keyboard-Screenshot.png]]
 +
 +
=== qwo Quikwriting for Openmoko keyboard ===
 +
 +
It is hard to call this a key-board, it looks more like a pair of [http://en.wikipedia.org/wiki/Ouija Ouija board] than a matrix of buttons. But as far as an touchscreen input method for letters, this one allows the stylus to remain on the screen and move continuously. Needs a few hours of practice before writing words fluently.
 +
 +
* http://www.nongnu.org/qwo/
 +
 +
=== Vkbd system ===
  
 
The vkbd system.
 
The vkbd system.
Line 23: Line 39:
 
== List of keyboard-related Howtos ==
 
== List of keyboard-related Howtos ==
  
[[Om_2008.8_Keyboard| How to use the Qtopia keyboard]] shipped with Om 2008.8 ?
+
=== How to use the Qtopia keyboard shipped with Om 2008.8 ? ===
  
How to have a toggle button to make the keyboard appear/disappear ?
+
Summary:
 +
* Slide finger left = backspace.
 +
* Slide finger right = space.
 +
* Slide finger up/down = changes between lowercase/uppercase/numbers/special characters.
 +
* The 'Enter' key is bottom right on the special characters page
 +
* Hovering over a letter for more than 2 seconds activates zoom mode, allowing you to type specific letters without prediction.
 +
Detailed version: see [[Om_2008.8_Keyboard| How to use the Qtopia keyboard]].
  
How to change the keyboards layout ?
+
=== How to have a toggle button to make the keyboard appear/disappear ? ===
  
How to change the dictionnary used by the predictive keyboards ?
+
Short answer: In 2008.8, ''opkg install illume-config''. In testing, edit '/etc/enlightenment/default_profile' to use ''illume'' theme instead of 'asu'.
 +
Long answer: [[Keyboard Toggle|here]].
 +
 
 +
=== How to install the matchbox keyboard ? ===
 +
 
 +
Short answer: ''opkg install matchbox-keyboard-applet matchbox-keyboard-inputmethod''
 +
Long answer: [[Switching_Keyboards|here]].
 +
 
 +
=== How to install the illume (Raster's) keyboard ? ===
 +
{{Main|Illume_keyboard#How_to_install}}
 +
 
 +
=== How to turn off the Qtopia keyboard ? ===
 +
 
 +
Short answer: Add the line ''export QTOPIA_NO_VIRTUAL_KEYBOARD=1'' into the file ''/etc/X11/Xsession.d/89qtopia''.
 +
 
 +
Warning: Even when you install another keyboard, if you do not turn off the Qtopia keyboard it will come back on the top <strike>to bite you trollishly</strike>. References:
 +
[http://docs.openmoko.org/trac/ticket/1864 Comment on ticket 1864], and untested proposed
 +
[http://n2.nabble.com/preserving-illume-keyboard-on-update-tp778734p778919.html patch to qpe].
 +
If you use base-image (testing) don't forget to set E_PROFILE="-profile illume" in /etc/enlightenment/default_profile see [http://wiki.openmoko.org/wiki/ASU_Keyboard_Toggle]
 +
 
 +
=== How to change the keyboards layout ? ===
 +
 
 +
TBD
 +
 
 +
==== matchbox ====
 +
See instructions on the [[Change matchbox keyboard layout]] page.
 +
 
 +
==== illume keyboard ====
 +
{{Main|Illume_keyboard#Localization}}
 +
 
 +
=== How to change the dictionary used by the predictive keyboards ? ===
 +
 
 +
==== Qtopia keyboard ====
 +
You can compile your own wordlist or use precompiled wordlists.
 +
===== From the Openwall project =====
 +
This method retrieves wordlists with lower case words only, not including proper names. This is not sufficient for languages with capitalized nouns, such as german.
 +
Precompiled openwall words.dawg can be found at: http://alasal.be/openmoko/keyboard .
 +
To compile the openwall wordlist on your Linux box:
 +
<code><br/>
 +
wget http://www.3v1n0.net/openmoko/qtopia-italian-keyboard.tar.bz2<br/>
 +
tar xvf qtopia-italian-keyboard.tar.bz2<br/>
 +
wget ftp://ftp.mathematik.uni-marburg.de/pub/mirror/openwall/wordlists/languages/***YourLanguageHere***/lower.gz<br/>
 +
gunzip lower.gz<br/>
 +
./qdawggen -d lang_LANG lower<br/>
 +
mv lang_LANG/lower.dawg words.dawg<br/>
 +
</code>
 +
 
 +
===== Other sources =====
 +
A better german wordlist, including proper names and nouns, can be downloaded from http://www.fragcom.de/server/fragcom_words .
 +
It is based on the Debian package "wngerman".
 +
 
 +
===== Installing the words.dawg file =====
 +
First, move the English dictionary out of the way, on your Neo:
 +
<br/><code>cd /opt/Qtopia/etc/dict/
 +
<br/>cp -r en_EN lang_LANG</code>
 +
<br/>Second, back on your Linux box, send the dictionary (overwriting the existing words.dawg in the new directory):
 +
<br/>
 +
<code>scp words.dawg root@192.168.0.202:/opt/Qtopia/etc/dict/lang_LANG/words.dawg</code><br/>
 +
Third, edit /opt/Qtopia/etc/default/Trolltech/locale.conf to change the language
 +
<code><br/>[Language]<br/>
 +
InputLanguages = lang_LANG<br/>
 +
Language = lang_LANG<br/></code>
 +
Fourth, restart X or reboot your Neo.
 +
 
 +
==== Illume keyboard ====
 +
{{Main|Illume_keyboard#How_to_import_dictionaries}}
 +
 
 +
==== Other keyboards ====
 +
 
 +
Matchbox has no predictive mode (to be confirmed ?).
 +
 
 +
=== How to toggle the predictive mode on and off ? ===
 +
 
 +
Quick and Dirty version of toggle the predictive mode on and off is a small script that renames the dictionary
 +
words.dawg to words.dawg.off and back. The dict is still loaded, but after restart you can work without predictive mode, because the the predictive mode is dependend on the dictionary.
 +
You can find the dictionary in the folder /opt/Qtopia/etc/dict/en_US
 +
 
 +
 
 +
=== How to make Qtopia keyboards and illume/raster keyboard coexist ? ===
 +
 
 +
TBD
  
 
== Your short-term options ==
 
== Your short-term options ==
 +
[[Image:Assume_good_faith_lolcat.jpg|thumb|Even if things might look bad, you shouldn't assume that they are]]
  
* Recompile Qtopia and provide a package.
+
* Turn off the Qtopia keyboard and install the matchbox one instead.
* Switch to 2007.2, FSO or Debian.
+
* Keep the Qtopia keyboard, let go (for a while) the desire to use the terminal locally, login remotely via ssh when you need.
 +
* Get an external keyboard, USB or Bluetooth, light and foldable if you want.
 +
* Switch to 2007.2 (but then similar issues arise : [[Switching Keyboards on Om 2007.2]]), FSO or Debian.
 +
* Patch Qtopia so that it plays nice with other keyboards, send upstream, meanwhile recompile and provide a package.
 
PS: Complaining that management does not listen to the users needs is not a productive option.
 
PS: Complaining that management does not listen to the users needs is not a productive option.
{{todo|find a cartoon to add humor here, the debate can use some relaxation}}
 
  
 
== Perspectives for long-term resolution ==
 
== Perspectives for long-term resolution ==
  
On August 27th 2008, Openmoko inc. announced its intention to focus on the low-level layers. Future "base system" distribution may not include any phone stack at all.
+
On August 27th 2008, Marek from Openmoko inc. [http://lists.openmoko.org/pipermail/community/2008-August/028152.html announced] the intention to focus on the low-level layers. Future "base system" distribution may not include any phone stack at all.
 +
 
 +
[[Category:Touchscreen keyboards]]
 +
[[Category:Om 2008.8]]

Latest revision as of 06:29, 20 September 2010

The default touchscreen keyboard in Om 2009 is the Illume keyboard.

Contents

[edit] Summary of the problem

Om 2008.8 uses Qtopia for its phone stack. Qtopia has a build-in keyboard primarily designed to compose SMS in English. This keyboard is very impractical to use with a terminal or enter an URL.

More details..., list of all keyboard bugs in the defect tracking system.

[edit] List of available keyboards

[edit] Qtopia keyboard

The Qtopia keyboard build-in Om 2008.8. See also the documentation at Trolltech

ASU Keyboard
ASU Keyboard with hello
ASU Keyboard with numeric keys

[edit] Matchbox keyboard

The matchbox keyboard. See also homepage of Matchbox keyboard and Matchbox stroke.
Screenshot of the keyboard applet on 2007.2

[edit] Illume keyboard

Main article: Illume keyboard


The illume virtual keyboard a.k.a. Raster's keyboard.

Illume-Keyboard-Screenshot.png

[edit] qwo Quikwriting for Openmoko keyboard

It is hard to call this a key-board, it looks more like a pair of Ouija board than a matrix of buttons. But as far as an touchscreen input method for letters, this one allows the stylus to remain on the screen and move continuously. Needs a few hours of practice before writing words fluently.

[edit] Vkbd system

The vkbd system.

[edit] List of keyboard-related Howtos

[edit] How to use the Qtopia keyboard shipped with Om 2008.8 ?

Summary:

  • Slide finger left = backspace.
  • Slide finger right = space.
  • Slide finger up/down = changes between lowercase/uppercase/numbers/special characters.
  • The 'Enter' key is bottom right on the special characters page
  • Hovering over a letter for more than 2 seconds activates zoom mode, allowing you to type specific letters without prediction.

Detailed version: see How to use the Qtopia keyboard.

[edit] How to have a toggle button to make the keyboard appear/disappear ?

Short answer: In 2008.8, opkg install illume-config. In testing, edit '/etc/enlightenment/default_profile' to use illume theme instead of 'asu'. Long answer: here.

[edit] How to install the matchbox keyboard ?

Short answer: opkg install matchbox-keyboard-applet matchbox-keyboard-inputmethod Long answer: here.

[edit] How to install the illume (Raster's) keyboard ?

Main article: Illume_keyboard#How_to_install


[edit] How to turn off the Qtopia keyboard ?

Short answer: Add the line export QTOPIA_NO_VIRTUAL_KEYBOARD=1 into the file /etc/X11/Xsession.d/89qtopia.

Warning: Even when you install another keyboard, if you do not turn off the Qtopia keyboard it will come back on the top to bite you trollishly. References: Comment on ticket 1864, and untested proposed patch to qpe. If you use base-image (testing) don't forget to set E_PROFILE="-profile illume" in /etc/enlightenment/default_profile see [1]

[edit] How to change the keyboards layout ?

TBD

[edit] matchbox

See instructions on the Change matchbox keyboard layout page.

[edit] illume keyboard

Main article: Illume_keyboard#Localization


[edit] How to change the dictionary used by the predictive keyboards ?

[edit] Qtopia keyboard

You can compile your own wordlist or use precompiled wordlists.

[edit] From the Openwall project

This method retrieves wordlists with lower case words only, not including proper names. This is not sufficient for languages with capitalized nouns, such as german. Precompiled openwall words.dawg can be found at: http://alasal.be/openmoko/keyboard . To compile the openwall wordlist on your Linux box:
wget http://www.3v1n0.net/openmoko/qtopia-italian-keyboard.tar.bz2
tar xvf qtopia-italian-keyboard.tar.bz2
wget ftp://ftp.mathematik.uni-marburg.de/pub/mirror/openwall/wordlists/languages/***YourLanguageHere***/lower.gz
gunzip lower.gz
./qdawggen -d lang_LANG lower
mv lang_LANG/lower.dawg words.dawg

[edit] Other sources

A better german wordlist, including proper names and nouns, can be downloaded from http://www.fragcom.de/server/fragcom_words . It is based on the Debian package "wngerman".

[edit] Installing the words.dawg file

First, move the English dictionary out of the way, on your Neo:
cd /opt/Qtopia/etc/dict/
cp -r en_EN lang_LANG

Second, back on your Linux box, send the dictionary (overwriting the existing words.dawg in the new directory):
scp words.dawg root@192.168.0.202:/opt/Qtopia/etc/dict/lang_LANG/words.dawg
Third, edit /opt/Qtopia/etc/default/Trolltech/locale.conf to change the language
[Language]
InputLanguages = lang_LANG
Language = lang_LANG
Fourth, restart X or reboot your Neo.

[edit] Illume keyboard

Main article: Illume_keyboard#How_to_import_dictionaries


[edit] Other keyboards

Matchbox has no predictive mode (to be confirmed ?).

[edit] How to toggle the predictive mode on and off ?

Quick and Dirty version of toggle the predictive mode on and off is a small script that renames the dictionary words.dawg to words.dawg.off and back. The dict is still loaded, but after restart you can work without predictive mode, because the the predictive mode is dependend on the dictionary. You can find the dictionary in the folder /opt/Qtopia/etc/dict/en_US


[edit] How to make Qtopia keyboards and illume/raster keyboard coexist ?

TBD

[edit] Your short-term options

Even if things might look bad, you shouldn't assume that they are
  • Turn off the Qtopia keyboard and install the matchbox one instead.
  • Keep the Qtopia keyboard, let go (for a while) the desire to use the terminal locally, login remotely via ssh when you need.
  • Get an external keyboard, USB or Bluetooth, light and foldable if you want.
  • Switch to 2007.2 (but then similar issues arise : Switching Keyboards on Om 2007.2), FSO or Debian.
  • Patch Qtopia so that it plays nice with other keyboards, send upstream, meanwhile recompile and provide a package.

PS: Complaining that management does not listen to the users needs is not a productive option.

[edit] Perspectives for long-term resolution

On August 27th 2008, Marek from Openmoko inc. announced the intention to focus on the low-level layers. Future "base system" distribution may not include any phone stack at all.

Personal tools
NOTE: This is an emotionally laden topic. Please stick to facts and Neutral Point of View.MinhHaDuong 09:43, 27 August 2008 (UTC)


NOTE: This is work in progress. Please help by linking to appropriate messages and wiki pages.


Summary of the problem

Om 2008.8 uses Qtopia for its phone stack. Qtopia has a build-in keyboard primarily designed to compose SMS in English. This keyboard is very impractical to use with a terminal or enter an URL. According to Raster it cannot be turned off, short of recompiling qpe of course.

More details...

List of all keyboard bugs in the defect tracking system.

List of available keyboards

The Qtopia keyboard build-in Om 2008.8. See also the [documentation at Trolltech]

The matchbox keyboard.

The illume virtual keyboard a.k.a. Raster's keyboard.

The vkbd system.

List of keyboard-related Howtos

How to use the Qtopia keyboard shipped with Om 2008.8 ?

How to have a toggle button to make the keyboard appear/disappear ?

How to change the keyboards layout ?

How to change the dictionnary used by the predictive keyboards ?

Your short-term options

  • Recompile Qtopia and provide a package.
  • Switch to 2007.2, FSO or Debian.

PS: Complaining that management does not listen to the users needs is not a productive option.

TODO: find a cartoon to add humor here, the debate can use some relaxation (See: To-Do List)

Perspectives for long-term resolution

On August 27th 2008, Openmoko inc. announced its intention to focus on the low-level layers. Future "base system" distribution may not include any phone stack at all.