User:Vanous

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Undo revision 77188 by Kukide (Talk))
(Replacing page with '===SMS delivery confirmation codes=== Place on the beggining of each SMS :Vodafone: '''*n#''' (needs confirming) :O2: '''YYYY''' :T-mobile: '''*stav#''' (needs confirming) =...')
Line 1: Line 1:
Most of this is obsolete and incorporated in [[SHR_User_Manual]]
 
 
==Czech national settings for Neo Freerunner==
 
 
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
Line 100: Line 6:
 
:T-mobile: '''*stav#''' (needs confirming)
 
: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
 
 
[http://vanous.penguin.cz/files/om/navit.xml My Navit conf] with the above map configured. Place into ~/.navit
 
  
 
===Dictionary for Illume keyboard===
 
===Dictionary for Illume keyboard===
Line 112: Line 13:
  
 
switch to it after every reboot :) and the None.dic will autolearn and save it in /.e/e/dicts-dynamic/personal.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==
 
 
[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`"
 

Revision as of 19:06, 22 February 2010

SMS delivery confirmation codes

Place on the beggining of each SMS

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


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

Personal tools

Most of this is obsolete and incorporated in SHR_User_Manual

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