User:Vanous

From Openmoko

(Difference between revisions)
Jump to: navigation, search
Line 27: Line 27:
 
===Locales===
 
===Locales===
  
opkg install glibc-binary-localedata-cs-cz
+
opkg install glibc-locale-cs libframeworkd-phonegui-efl-locale-cs shr-settings-locale-cs navit-locale-cs tangogps-locale-cs
 +
 
 +
This gives locales for:
 +
 
 +
Illume
 +
 
 +
Shr Settings
 +
 
 +
PIM apps (Dialer, Messages, Contacts)
 +
 
 +
Navit
 +
 
 +
TangoGPS
 +
 
 +
 
  
 
For console set this in /etc/profile :
 
For console set this in /etc/profile :
Line 36: Line 50:
  
  
For X, go to Wrench (Settings) -> Language ->Language Settings -> Choose: Čeština
+
For X in Illume go to Wrench (Settings) -> Language ->Language Settings -> Choose: Čeština
  
  

Revision as of 17:08, 19 June 2009

Contents

Czech national settings for Neo Freerunner

all settings apply for current (January 2009) SHR (SHR is FSO based)

comments? here


Why is localizing good for you?

  • displays time and date in your national settings
  • displays local time instead of universal time
  • applications will show translated interface (if available)
  • some applications require correct lang settings for correct localized function (speech will speak in your language, navit will search throuch database of your country)


Time zone

opkg install tzdata-europe

ln -sf /usr/share/zoneinfo/Europe/Prague /etc/timezone

ln -sf /usr/share/zoneinfo/Europe/Prague /etc/localtime

hwclock --systohc


Locales

opkg install glibc-locale-cs libframeworkd-phonegui-efl-locale-cs shr-settings-locale-cs navit-locale-cs tangogps-locale-cs

This gives locales for:

Illume

Shr Settings

PIM apps (Dialer, Messages, Contacts)

Navit

TangoGPS


For console set this in /etc/profile :

export LANG=cs_CZ
export LC_ALL=cs_CZ


For X in Illume go to Wrench (Settings) -> Language ->Language Settings -> Choose: Čeština


Gprs

O2 flat rate

Scripts for framework (FSO, SHR, Debian). (Not for ASU, OM2008)

Start script
#!/bin/sh
APN="internet"
USERNAME="x"
PASSWORD="x"
BUSNAME="org.freesmartphone.ogsmd"
OBJECTPATH="/org/freesmartphone/GSM/Device"
METHODNAME="org.freesmartphone.GSM.PDP.ActivateContext"
mdbus -s $BUSNAME $OBJECTPATH $METHODNAME $APN "$USERNAME" "$PASSWORD"
Stop script
#!/bin/sh
BUSNAME="org.freesmartphone.ogsmd"
OBJECTPATH="/org/freesmartphone/GSM/Device"
METHODNAME="org.freesmartphone.GSM.PDP.DeactivateContext"
mdbus -s $BUSNAME $OBJECTPATH $METHODNAME

Translations

Here are some translated .mo files that i gathered, place them into /usr/share/locale/cs/LC_MESSAGES/


http://vanous.penguin.cz/files/om/enlightenment.mo Enlightenment/Illume

http://vanous.penguin.cz/files/om/tangogps.mo TangoGPS

Navit translation is already in SHR


SMS delivery confirmation codes

Place on the beggining of each SMS

Vodafone: *n# (needs confirming)
O2: YYYY
T-mobile: *stav# (needs confirming)


Navit maps

http://vanous.penguin.cz/files/om/czech_republic_navit.bin Openstreetmap of CZ, generated December 2008, 57MB. Place into ~/.navit

My Navit conf with the above map configured. Place into ~/.navit

Dictionary for Illume keyboard

temporary solution:

echo "" > /usr/lib/enlightenment/modules/illume/dicts/None.dic

switch to it after every reboot :) and the None.dic will autolearn and save it in /.e/e/dicts-dynamic/personal.dic

Other stuff

My TangoGPS tracks

FDSubmenu (icon enhancement)


Navit

Navit start/stop script (start/stop gpsd daemon, disable/enable screen dimming)

#!/bin/sh

mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone.Usage.SetResourcePolicy CPU enabled
mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone.Usage.SetResourcePolicy Display enabled       

navit

mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone.Usage.SetResourcePolicy CPU auto
mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone.Usage.SetResourcePolicy Display auto       

My Navit conf

SHR Customization

http://shr.bearstech.com/trac/wiki/Tweaks

echo src navit http://download.navit-project.org/navit/openmoko/svn >/etc/opkg/navit-feed.conf

opkg update

opkg install navit libgps17 mc

copy cz map

copy Data

echo ppp-generic > /etc/modutils/ppp-generic

update-modules

echo "" > /usr/lib/enlightenment/modules/illume/dicts/None.dic

opkg upgrade

set time from desktop:

ssh root@openmoko "date -u -s `date -u +%m%d%H%M%Y.%S`"

Personal tools

Czech national settings for Neo Freerunner

all settings apply for current (January 2009) SHR (SHR is FSO based)

comments? here


Why is localizing good for you?

  • displays time and date in your national settings
  • displays local time instead of universal time
  • applications will show translated interface (if available)
  • some applications require correct lang settings for correct localized function (speech will speak in your language, navit will search throuch database of your country)


Time zone

opkg install tzdata-europe

ln -sf /usr/share/zoneinfo/Europe/Prague /etc/timezone

ln -sf /usr/share/zoneinfo/Europe/Prague /etc/localtime

hwclock --systohc


Locales

opkg install glibc-locale-cs libframeworkd-phonegui-efl-locale-cs shr-settings-locale-cs navit-locale-cs tangogps-locale-cs

This gives locales for:

Illume

Shr Settings

PIM apps (Dialer, Messages, Contacts)

Navit

TangoGPS


For console set this in /etc/profile :

export LANG=cs_CZ
export LC_ALL=cs_CZ


For X in Illume go to Wrench (Settings) -> Language ->Language Settings -> Choose: Čeština


Gprs

O2 flat rate

Scripts for framework (FSO, SHR, Debian). (Not for ASU, OM2008)

Start script
#!/bin/sh
APN="internet"
USERNAME="x"
PASSWORD="x"
BUSNAME="org.freesmartphone.ogsmd"
OBJECTPATH="/org/freesmartphone/GSM/Device"
METHODNAME="org.freesmartphone.GSM.PDP.ActivateContext"
mdbus -s $BUSNAME $OBJECTPATH $METHODNAME $APN "$USERNAME" "$PASSWORD"
Stop script
#!/bin/sh
BUSNAME="org.freesmartphone.ogsmd"
OBJECTPATH="/org/freesmartphone/GSM/Device"
METHODNAME="org.freesmartphone.GSM.PDP.DeactivateContext"
mdbus -s $BUSNAME $OBJECTPATH $METHODNAME

Translations

Here are some translated .mo files that i gathered, place them into /usr/share/locale/cs/LC_MESSAGES/


http://vanous.penguin.cz/files/om/enlightenment.mo Enlightenment/Illume

http://vanous.penguin.cz/files/om/tangogps.mo TangoGPS

Navit translation is already in SHR


SMS delivery confirmation codes

Place on the beggining of each SMS

Vodafone: *n# (needs confirming)
O2: YYYY
T-mobile: *stav# (needs confirming)


Navit maps

http://vanous.penguin.cz/files/om/czech_republic_navit.bin Openstreetmap of CZ, generated December 2008, 57MB. Place into ~/.navit

My Navit conf with the above map configured. Place into ~/.navit

Dictionary for Illume keyboard

temporary solution:

echo "" > /usr/lib/enlightenment/modules/illume/dicts/None.dic

switch to it after every reboot :) and the None.dic will autolearn and save it in /.e/e/dicts-dynamic/personal.dic

Other stuff

My TangoGPS tracks

FDSubmenu (icon enhancement)


Navit

Navit start/stop script (start/stop gpsd daemon, disable/enable screen dimming)

#!/bin/sh

mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone.Usage.SetResourcePolicy CPU enabled
mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone.Usage.SetResourcePolicy Display enabled       

navit

mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone.Usage.SetResourcePolicy CPU auto
mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone.Usage.SetResourcePolicy Display auto       

My Navit conf

SHR Customization

http://shr.bearstech.com/trac/wiki/Tweaks

echo src navit http://download.navit-project.org/navit/openmoko/svn >/etc/opkg/navit-feed.conf

opkg update

opkg install navit libgps17 mc

copy cz map

copy Data

echo ppp-generic > /etc/modutils/ppp-generic

update-modules

echo "" > /usr/lib/enlightenment/modules/illume/dicts/None.dic

opkg upgrade

set time from desktop:

ssh root@openmoko "date -u -s `date -u +%m%d%H%M%Y.%S`"