User:Vanous

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Translations)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Czech national settings for Neo Freerunner==
+
{{TOC}}
 
+
all settings apply for current (January 2009) SHR (SHR is FSO based)
+
 
+
comments? [[User_talk:Vanous|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-binary-localedata-cs-cz 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
+
 
+
SHR and SHR Settings are also translated and committed to shr git
+
 
+
Please report any bugs.
+
  
 
===SMS delivery confirmation codes===
 
===SMS delivery confirmation codes===
 
Place on the beggining of each SMS
 
Place on the beggining of each SMS
  
:Vodafone: '''*n#''' (needs confirming)
+
:Vodafone CZ: '''*n#''' (needs confirming)
:O2: '''YYYY'''
+
:O2 CZ: '''YYYY'''
:T-mobile: '''*stav#''' (needs confirming)
+
:T-mobile CZ: '''*stav#''' (needs confirming)
  
  
===Navit maps===
+
===SHR Unstable customization:===
http://vanous.penguin.cz/files/om/czech_republic_navit.bin Openstreetmap of CZ, generated  December 2008, 57MB. Place into  ~/.navit
+
 
+
[http://vanous.penguin.cz/files/om/navit.xml My Navit conf] with the above map configured. Place into ~/.navit
+
 
+
===Dictionary for Illume keyboard===
+
temporary solution:
+
  
 +
opkg update
 +
opkg install om-neon ventura emtooth jefliks shr-launcher mc
 
  echo "" > /usr/lib/enlightenment/modules/illume/dicts/None.dic  
 
  echo "" > /usr/lib/enlightenment/modules/illume/dicts/None.dic  
 +
opkg remove --force-depends numptyphysics pidgin vagalume
 +
opkg install http://www.opkg.org/packages/OptimSMS_2.0_armv4t.opk http://atrack.googlecode.com/files/atrack_0.0.66_all.ipk http://neomis.googlecode.com/files/neomis_1.0.2-r0_all.ipk python-netclient  http://www.opkg.org/packages/mokometeo_0.6_arm.ipk http://www.opkg.org/packages/hotelwifi_0.0.3_all.ipk
  
switch to it after every reboot :) and the None.dic will autolearn and save it in /.e/e/dicts-dynamic/personal.dic
+
===SHR cz list===
 
+
http://wiki.openmoko.org/wiki/User:Vanous/czech-shr-list
==Other stuff==
+
 
+
[http://vanous.penguin.cz/gps/ My TangoGPS tracks]
+
 
+
[http://vanous.penguin.cz/files/om/FDSubmenu.py FDSubmenu] (icon enhancement)
+
 
+
 
+
==Navit==
+
 
+
[http://vanous.penguin.cz/files/om/navi.sh 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     
+
 
+
 
+
 
+
[http://vanous.penguin.cz/files/om/navit.xml 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`"
+

Latest revision as of 08:36, 5 August 2010

[edit] SMS delivery confirmation codes

Place on the beggining of each SMS

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


[edit] SHR Unstable customization:

opkg update
opkg install om-neon ventura emtooth jefliks shr-launcher mc
echo "" > /usr/lib/enlightenment/modules/illume/dicts/None.dic 
opkg remove --force-depends numptyphysics pidgin vagalume 
opkg install http://www.opkg.org/packages/OptimSMS_2.0_armv4t.opk http://atrack.googlecode.com/files/atrack_0.0.66_all.ipk http://neomis.googlecode.com/files/neomis_1.0.2-r0_all.ipk python-netclient  http://www.opkg.org/packages/mokometeo_0.6_arm.ipk http://www.opkg.org/packages/hotelwifi_0.0.3_all.ipk

[edit] SHR cz list

http://wiki.openmoko.org/wiki/User:Vanous/czech-shr-list

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-binary-localedata-cs-cz 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

SHR and SHR Settings are also translated and committed to shr git

Please report any bugs.

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`"