User:Christz

From Openmoko

Revision as of 23:07, 10 March 2009 by Christz (Talk | contribs)

Jump to: navigation, search

Contents

Notes

  • Restart the X Server and Qtopia with the following command:
/etc/init.d/xserver-nodm restart
  • X11 Forwarding. X11 forwarding of applications running inside the debian chroot on the freerunner does not work at the moment.
  • The font size of Qt applications can be changed using the program qtconfig. A font size of 4 fits nice on the screen.

Paritions on my SD-card

  • Stop qpe so that any currently mounted partitions on the SD-card can be safely unmounted:
~# /etc/init.d/xserver-nodm stop
  • Then create this paritions:
~# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
4 heads, 16 sectors/track, 243200 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start         End      Blocks  Id System
# (ca. 50MiB, boot paritition, reserved for future use)
/dev/mmcblk0p1               1        1527       48856  83 Linux
# (ca. 500 Mib, swap parition)        
/dev/mmcblk0p2            1528       17153      500032  82 Linux
# (ca. 7050 Mib, data parition)
/dev/mmcblk0p3           17154      243200     7233504  83 Linux
root@om-gta02:~#

This thread describes how to interpret the fdisk output.

  • Create the swap parition:
~# mkswap /dev/mmcblk0p2

Edit the /etc/fstab:

/dev/mtdblock6  /               jffs2   rw,noatime      1  1
proc            /proc           proc    defaults        0  0

# microSD slot

# boot parition (for future use)
/dev/mmcblk0p1  /media/mmcblk0p1        auto    defaults,async,noatime  0  0
# swap parition
/dev/mmcblk0p2  none                    swap    sw      0  0
# data parition
/dev/mmcblk0p3  /media/card             auto    defaults,async,noatime  0  0
  • Create the folder /media/mmcblk0p1.
  • Activate the swap parition by rebooting or executing:
~# swapon /dev/mmcblk0p2

Debian chroot

  • No virtual keyboard gets invoked automatically!
  • Follow this instructions. Console and X applications run inside the debian chroot. Most programs load without too much delay. Exceptions are e.g treeline.

ToDos

  • Try to get to work the matchbox keyboard in Om 2008.12.
  • WLAN
    • Make sure that when stopping Wifi the device is also diabled to save energy.
  • VoIP
* hint
  • notecase
  • Tune Enlightenment. See here (speed).

Om 2008.12

  • Don't forget to set a root password!

Not working software

  • wicd (v1.5.6) does not seem to work.
  • Mofi (v0.02) does not seem to work.
  • Matchbox keyboard: Works using the following instructions: 1 and 2. The Qtopia keyboard has to be disabled because it overrules any other keyboards. Matchbox starts one matchbox process in daemon mode (matchbox-keyboard -d). However, a second matchbox-keyboard process has to be started before the keyboard operates correctly. The second process kann be after it has been started once. Therefore a keyboard that can be toggled on on off manually is required for my purposes. E.g. the Illume keyboard.

Notecase

  • Required dependencies:
    • gnome-vfs
  • There are no packages available that do not depend on Hildon and have the correct architecture.

TreeLine

  • Qt is available on Om 2008.12 (info).

Issues

Customizations

  • Use the Illume keyboard instead of the Qtopia one. Look here for instructions.
  • Enable the search bar in the contacts application (instructions).
  • Configure Wifi (instructions). Note: The SSH server only listens on the USB interface per default. Read here how to change this.
  • Add two desktop icons. One for starting and another one for stopping Wifi. Read on here. Qtopia had to be restarted for one of the icons to show up. The .desktop files can be grouped in folder in the file system. On the desktop there is only a flat hierachy.
  • Use the Illume theme. Apply all the tweaks regarding Illume mentioned here

Additional Software

  • qtopia-phone-x11-datebook (in official repo): Calendaring application.
  • ttf-liberation-mono (in official repo): Required for vala-terminal. You have to reboot in order for the font to be used.
  • midori (in official repo): Webbrowser.


  • Install Pidgin (in official repo): Instant messenger. See here. Note: There is no desktop icon in the package. So install a custom one. The pidgin package also misses the required dependency pidgin-data. You need to install this manually.

Calendars

The Openmoko calendar is still available in the repository (openmoko-dates2 - 0.1.0+svnr703-r2.03 - Legacy Om calendar application.). But the prefered calendar is the Qtopia Calendar (qtopia-phone-x11-datebook - 1:4.3.2+gitr476+ba3f443faec4cefcd3805158eef70921ed39f3de-r51 - Qtopia application for organizing dates and schedules.)

Import

The Qtopia calendar supports the import of iCalendar files. The following character encodings have be confirmed to work:

  • ASCII
  • latin1

Files encoded in UTF8 are not supported (non-ASCII characters get mangled on import). To change the character encoding use the following command:

$ iconv -c -f utf8 -t latin1 calendar-utf8.vcf > calendar-latin1.vcf

Note: You can reset the PIM data if you delete the ~/Applications/Qtopia/qtopia_db.sqlite file. But if you do so you have to restart Qtopia for the changes to take effect (process qpe). If you modify the database the changes take effect immediately.

Personal tools

Notes

  • Restart the X Server and Qtopia with the following command:
/etc/init.d/xserver-nodm restart
  • X11 Forwarding. X11 forwarding of applications running inside the debian chroot on the freerunner does not work at the moment.
  • The font size of Qt applications can be changed using the program qtconfig. A font size of 4 fits nice on the screen.

Paritions on my SD-card

  • Stop qpe so that any currently mounted partitions on the SD-card can be safely unmounted:
~# /etc/init.d/xserver-nodm stop
  • Then create this paritions:
~# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
4 heads, 16 sectors/track, 243200 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start         End      Blocks  Id System
# (ca. 50MiB, boot paritition, reserved for future use)
/dev/mmcblk0p1               1        1527       48856  83 Linux
# (ca. 500 Mib, swap parition)        
/dev/mmcblk0p2            1528       17153      500032  82 Linux
# (ca. 7050 Mib, data parition)
/dev/mmcblk0p3           17154      243200     7233504  83 Linux
root@om-gta02:~#

This thread describes how to interpret the fdisk output.

  • Create the swap parition:
~# mkswap /dev/mmcblk0p2

Edit the /etc/fstab:

/dev/mtdblock6  /               jffs2   rw,noatime      1  1
proc            /proc           proc    defaults        0  0

# microSD slot

# boot parition (for future use)
/dev/mmcblk0p1  /media/mmcblk0p1        auto    defaults,async,noatime  0  0
# swap parition
/dev/mmcblk0p2  none                    swap    sw      0  0
# data parition
/dev/mmcblk0p3  /media/card             auto    defaults,async,noatime  0  0
  • Create the folder /media/mmcblk0p1.
  • Activate the swap parition by rebooting or executing:
~# swapon /dev/mmcblk0p2

Debian chroot

  • No virtual keyboard gets invoked automatically!
  • Follow this instructions. Console and X applications run inside the debian chroot. Most programs load without too much delay. Exceptions are e.g treeline.

ToDos

  • Try to get to work the matchbox keyboard in Om 2008.12.
  • WLAN
    • Make sure that when stopping Wifi the device is also diabled to save energy.
  • VoIP
* hint
  • notecase
  • Tune Enlightenment. See here (speed).

Om 2008.12

  • Don't forget to set a root password!

Not working software

  • wicd (v1.5.6) does not seem to work.
  • Mofi (v0.02) does not seem to work.
  • Matchbox keyboard: Works using the following instructions: 1 and 2. The Qtopia keyboard has to be disabled because it overrules any other keyboards. Matchbox starts one matchbox process in daemon mode (matchbox-keyboard -d). However, a second matchbox-keyboard process has to be started before the keyboard operates correctly. The second process kann be after it has been started once. Therefore a keyboard that can be toggled on on off manually is required for my purposes. E.g. the Illume keyboard.

Notecase

  • Required dependencies:
    • gnome-vfs
  • There are no packages available that do not depend on Hildon and have the correct architecture.

TreeLine

  • Qt is available on Om 2008.12 (info).

Issues

Customizations

  • Use the Illume keyboard instead of the Qtopia one. Look here for instructions.
  • Enable the search bar in the contacts application (instructions).
  • Configure Wifi (instructions). Note: The SSH server only listens on the USB interface per default. Read here how to change this.
  • Add two desktop icons. One for starting and another one for stopping Wifi. Read on here. Qtopia had to be restarted for one of the icons to show up. The .desktop files can be grouped in folder in the file system. On the desktop there is only a flat hierachy.
  • Use the Illume theme. Apply all the tweaks regarding Illume mentioned here

Additional Software

  • qtopia-phone-x11-datebook (in official repo): Calendaring application.
  • ttf-liberation-mono (in official repo): Required for vala-terminal. You have to reboot in order for the font to be used.
  • midori (in official repo): Webbrowser.


  • Install Pidgin (in official repo): Instant messenger. See here. Note: There is no desktop icon in the package. So install a custom one. The pidgin package also misses the required dependency pidgin-data. You need to install this manually.

Calendars

The Openmoko calendar is still available in the repository (openmoko-dates2 - 0.1.0+svnr703-r2.03 - Legacy Om calendar application.). But the prefered calendar is the Qtopia Calendar (qtopia-phone-x11-datebook - 1:4.3.2+gitr476+ba3f443faec4cefcd3805158eef70921ed39f3de-r51 - Qtopia application for organizing dates and schedules.)

Import

The Qtopia calendar supports the import of iCalendar files. The following character encodings have be confirmed to work:

  • ASCII
  • latin1

Files encoded in UTF8 are not supported (non-ASCII characters get mangled on import). To change the character encoding use the following command:

$ iconv -c -f utf8 -t latin1 calendar-utf8.vcf > calendar-latin1.vcf

Note: You can reset the PIM data if you delete the ~/Applications/Qtopia/qtopia_db.sqlite file. But if you do so you have to restart Qtopia for the changes to take effect (process qpe). If you modify the database the changes take effect immediately.