SHR User Manual

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Phone applications)
(Moving to Manuals/SHR)
 
(391 intermediate revisions by 48 users not shown)
Line 1: Line 1:
Work in progress. [[Talk:SHR_User_Manual|Comments here]]
+
#REDIRECT [[Manuals/SHR]]
 
+
 
+
==SHR Introduction==
+
 
+
'''SHR''' (Stable Hybrid Release) is a community driven distribution based on the [[FSO]] framework. SHR can use several different graphical toolkits, for example GTK or EFL. At first, SHR was introduced in order to use the [[Om 2007.2]] GTK software in combination with the new FSO, but things have changed, software got developed further and development is still progressing.
+
 
+
''TODO: Text from [[SHR]], enhance.''
+
 
+
==SHR Specific==
+
 
+
At this point, there are some applications and procedures that are purely specific to SHR and would not run on another distribution. For example the phone applications (Dialer, Messages and Contacts) and SHR Settings depend heavily on the ophonekitd daemon.
+
 
+
In sense of the underlying phone subsystem SHR is based on [[FSO]] so basically any application using FSO has a chance to run, should all required libraries be available. In the future, this will give a chance to some other GUI phone managers to be chosen from.
+
 
+
==Installation==
+
 
+
===Getting SHR===
+
===GSM firmware===
+
 
+
If you don't have Moko11 as your GSM firmware yet, you should update it: See [[GSM/Flashing]]
+
 
+
''TODO: Include the full GSM upgrade procedure? Or perhaps as an addendum?''
+
 
+
 
+
===Boot loader===
+
 
+
 
+
Recent bootloaders ensure proper kernel loading. [[qi]] is recommended but [[Bootloader|uboot]] is still fun optional and supported. The latest boot loader files are available at http://downloads.openmoko.org/distro/testing/
+
 
+
===Installation on Flash===
+
 
+
===Installation on µSD Card===
+
 
+
 
+
===SHR version===
+
 
+
To find out what version of SHR you have installed, please run
+
 
+
cat /etc/shr-version
+
 
+
 
+
or check SHR Settings -> Other -> Image information
+
 
+
 
+
 
+
==Running SHR==
+
===Booting===
+
Press the power button shortly once to start the Freerunner. Booting splash screen will appear. First boot after new installation takes always a bit longer. Sometimes, it is recommended to reboot after this first boot, to make sure all packages got initialized properly.
+
 
+
[[Image:Shr-boot-preview.png|200px|thumb|center|SHR Boot Splash screen]]
+
 
+
===Initial Setup===
+
 
+
[[Image:SHR-Setup-Language.png|200px|thumb|Initial setup]]
+
On the first boot, Setup is automatically initiated to walk the user through basic setup of the Enlightenment desktop environment. You are able to choose preferred language of the desktop environment, Illume SHR themed profile or select default menu (only one at the moment). On the Add icon screen you can add icons for some application. If you add a terminal based application like mplayer, you will see an icon but no application running upon click, as it will run in the background. Last screen allow settin up quick launch applications. TODO: what does quick launch do anyways?
+
 
+
{| class="wikitable" cellspacing="0" cellpadding="0" style="padding: 0%; margin:0em 0em 1em 0em; border:1px solid #c0c0c0; background:#eeeeee; floating="center";width:100%; "
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
[[Image:SHR-Setup-Profile.png|200px|thumb|Theme profile]]
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
 
+
[[Image:SHR-Setup-Menu.png|200px|thumb|Menu]]
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
 
+
[[Image:SHR-Setup-Add-Icons.png|200px|thumb|Add icons]]
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
+
[[Image:SHR-Setup-Quick-Launch.png|200px|thumb|Quick launch]]
+
 
+
|}
+
 
+
 
+
 
+
===First look===
+
[[Image:SHR-First-Look.png|200px|thumb|Desktop screen]]
+
'''Illume desktop''' is default home screen of the SHR desktop. Application files located in /usr/share/applications are displayed here. All applications are ran fullscreen and you can switch between them by using the Task switcher in the Top Shelve or by using the < left or right > arrows in the Top Shelve.
+
 
+
The Illume desktop can be easily customized - slide the Top Shelve down and tap the Settings icon (Wrench).
+
 
+
{{Note|TIP: for better access of the Settings icon, tap and hold the Settings icon, then drag it to the right.}}
+
 
+
'''Illume settings''' provides various options to alter the desktop environment. You can change sizes of elements, single or double click, wallpaper. To access all the various options, open Illume Settings and slide the visible icons to the left, to preview more options on the right hand side.
+
 
+
The little applets in the Top Shelve (for example Battery, GSM, Bluetooth etc.)  are called '''Shelve gadgets''' and you can configure whether they are visible (on the front part of the top shelve) or hidden (you can access them by sliding the top shelve) through Illume Settings -> Display -> Shelve gadget.
+
 
+
Some screens are not resized properly to fit the Freerunner's display - for example the Wallpapper setting. This is a known bug already reported upstream.
+
 
+
<!-- [[Image:SHR-Top-Shelve.png|200px|thumb|Top Shelve]] -->
+
 
+
===Phone applications===
+
 
+
Besides other software, SHR comes with 4 main phone applications: Dialer, Contacts, Messages and Phone log.
+
 
+
{| class="wikitable" cellspacing="0" cellpadding="0" style="padding: 0%; margin:0em 0em 1em 0em; border:1px solid #c0c0c0; background:#eeeeee; floating="center";width:100%; "
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " | 
+
[[Image:SHR-Dialer.png|200px|thumb|Dialer]]
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
[[Image:SHR-Contacts.png|200px|thumb|Contacts]]
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
[[Image:SHR-Contacts-Options.png|200px|thumb|Contact options]]
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
[[Image:SHR-Contact-Add.png|200px|thumb|Add new contact]]
+
|}
+
 
+
 
+
{| class="wikitable" cellspacing="0" cellpadding="0" style="padding: 0%; margin:0em 0em 1em 0em; border:1px solid #c0c0c0; background:#eeeeee; floating="center";width:100%; "
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " | 
+
[[Image:SHR-Mesages.png|200px|thumb|Messages]]
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
 
+
[[Image:SHR-Messages-Options.png|200px|thumb|Messages options]]
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
[[Image:SHR-Message-View.png|200px|thumb|View message]]
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
[[Image:SHR-Message-View-chars.png|200px|thumb|Unicode support]]
+
 
+
|}
+
 
+
 
+
 
+
{| class="wikitable" cellspacing="0" cellpadding="0" style="padding: 0%; margin:0em 0em 1em 0em; border:1px solid #c0c0c0; background:#eeeeee; floating="center";width:100%; "
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " | 
+
[[Image:SHR-Mesages-Options.png|200px|thumb|Message options]]
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
 
+
[[Image:SHR-Phonelog.png|200px|thumb|Phonelog]]
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:25% " |
+
 
+
[[Image:SHR-Dialer-Active.png|200px|thumb|Active call]]
+
 
+
|}
+
 
+
===First steps===
+
 
+
Right after clean installation and first boot you might want to do a few initial steps:
+
 
+
'''Establish network connection''' and SSH into your Freerunner. The root account uses no password by default. You can establish connection either via USB to your desktop and enable NAT or you can connect through Wifi. If you use USB, some setup is required on the desktop side, please read [[USB_Networking]]. For Wifi, you can use [[#Network manager|Network Manager]]
+
 
+
'''Check if GSM is working correctly''' - observe the GSM gadget in the Top Shelve and see reported signal of your GSM operator
+
 
+
'''Check and set call volume''' - this is handled by alsa state files in /usr/share/shr/scenarii/ . To customize speaker volume edit /usr/share/shr/scenarii/gsmheadset.state and change control 4. Values between from 105 to 120 might be sufficient.
+
 
+
Shell you want to alter more parameters be aware that each file is a set of value for the 94 parameters. Some of the important ones are:
+
 
+
Control 48: internal mic of the tel (set to 2 or 3)
+
Control 4 : internal speaker (set from 110 to 120)
+
Control 49: headset mic
+
Control 3 : headset speaker
+
Control 4 : internal speaker (set from 110 to 120)
+
 
+
'''Initialize opkg database''' in order to install some applications from SHR repositories or from other sources, for example [[http://opkg.org opkg.org]]. While still being online, you need to first run
+
 
+
opkg update
+
 
+
===Under the hood===
+
 
+
SHR is based on linux kernel and Openembedded. XGlamo is providing X server environment and Illume (Enlightment window manager module for small devices) is providing comfortable finger controlled desktop environment. Under the hood of the pretty desktop there is FSO middleware talking to the GSM modem, GPS module as well as to the other bits of hardware. SHR ophonekitd daemon is run with X server start up and it that communicates with FSO via d-bus. SHR phone applications talk to ophonekitd and also to FSO so for example when you receive a phone call, the dialer is launched to provide a way of answering it. Dialer, Contacts and Messages applications are part of the SHR internal libframeworkd-phonegui-efl library, Phone log is an extra application written in python-gtk.
+
 
+
===Localization===
+
[[Image:SHR-Illume-Settings-Languages.png|200px|thumb|Setting Language]]
+
 
+
You can change the language of the SHR desktop environment by using the Settings of Illume. For Example, for Czech language: in Illume Top Shelve go to Wrench (Settings) -> Language -> Language Settings -> and choose: Čeština. If your language is not in the menu you can install by using opkg.
+
 
+
You can list all available languages by running:
+
 
+
opkg list | grep glibc-locale-
+
 
+
And install the language of your choice (for example czech):
+
 
+
opkg install glibc-locale-cs
+
 
+
After this, the Language Settings of Illume will offer Czech.
+
 
+
 
+
This will localize the Illume environment and will also set correct lang environment variable. If you wish to have translations for other applications, you need to install them again (presuming they are available):
+
 
+
This will install czech localisation for SHR phone applications, SHR Settings and TangoGps:
+
 
+
opkg install libframeworkd-phonegui-efl-locale-cs shr-settings-locale-cs tangogps-locale-cs
+
 
+
For localized terminal environment (ssh login) set lang variables set /etc/profile, example for Czech language:
+
 
+
export LANG=cs_CZ
+
export LC_ALL=cs_CZ
+
 
+
 
+
The Illume keyboard offers english dictionary correction by default. You can list all the dictionaries available for installation:
+
 
+
opkg list | grep illume-dic
+
 
+
 
+
If your language is not available and english is bothering you, you can set an empty dictionary:
+
 
+
echo "" > /usr/lib/enlightenment/modules/illume/dicts/None.dic
+
 
+
By using it, it will get filled by the words you use and after time will start helping and correcting your typing.
+
 
+
===Date and time===
+
 
+
Timezone is automatically retrieved from the GSM network. Date and time are automatically set from GPS or Network. The easiest way of setting the time for the first time is to run TangoGps (GPS & Map icon) and obtaining GPS fix. Time will then be set automatically after several minutes.
+
 
+
Time can set time also manually.
+
 
+
Via SHR-Settings -> Date/time -> Set time
+
 
+
From linux based desktop:
+
 
+
ssh root@192.168.0.202 "date -u -s `date -u +%m%d%H%M%Y.%S`"
+
 
+
You can also set the hardware clock to the system time:
+
 
+
hwclock --systohc
+
 
+
==SHR Settings==
+
 
+
SHR Settings
+
 
+
 
+
SHR Settings is the main setting application of SHR. In the background it uses [[FSO]] specific dbus calls as well as low level commands. The graphical interface is Elementary-Python based. It provides an easy way of setting up your phone to your liking - from phone related settings, to requesting resources in order to prevent screen dim or suspend (for example while using GPS).
+
 
+
While some settings are persistent over reboots, other are not.
+
 
+
''TODO: list persistent/non persistent settings, or make a note at each section''
+
 
+
 
+
 
+
SCREEN
+
 
+
===Main Screen===
+
Main screen is divided into few categories, which contain modules. Every SHR Settings module has specified task - control GSM antenna power, set actual time etc.
+
 
+
===Phone===
+
 
+
SCREEN
+
 
+
====GSM====
+
 
+
In GSM settings you can turn off and on GSM module. After turning off antenna, whole GSM modem is turned off.
+
 
+
To list available providers, click on Operators button. Scanning can take some time. After while, list of operators should pop up.
+
 
+
SCREEN
+
 
+
You can't connect to operators marked as [forbidden]. After failed connect, message is displayed.
+
 
+
SCREEN
+
 
+
Selecting operator from list also changes modem registration mode to manual. It won't register to other network, even if some is available and has better signal strengh. To return to automatic mode, click "Automatic" button in operator list.
+
 
+
====Call====
+
 
+
You can decide, if your phone number should be displayed to other party. You can either depend on network decision ("By network") or force it manually ("Manual")
+
 
+
SCREEN
+
 
+
====SIM====
+
 
+
Here you can view some informations about your SIM card and clean phone and messagebooks.
+
 
+
SCREEN (?)
+
 
+
===Profiles===
+
 
+
SCREEN
+
 
+
====Profile====
+
 
+
Here you can select current profile, which device should use to determine ring tone etc.
+
 
+
====Current profile====
+
 
+
Here you can adjust properties of currently used profile. Available settings: ring tone, ring volume, ring vibration, ring loop, ring length, message tone, message volume, message vibration, message loop, message length.
+
 
+
To change ring tone, click on "Change" button.
+
 
+
SCREEN
+
 
+
To use your own ring tone, place it in /usr/share/sounds directory.
+
 
+
After selecting sid tune as ring tone, there are available controls to select tune number from file.
+
 
+
SCREEN
+
 
+
===Connectivity===
+
 
+
SCREEN
+
 
+
====WiFi====
+
 
+
With "WiFi radio" toggle you can set, if wifi module should be powered. WiFi radio has to be turned on before trying to connect to WiFi network.
+
 
+
''TODO: obsolete, Kmokonnect turns wifi on automatically''
+
 
+
====GPRS====
+
 
+
To enter APN, login and password fields, just click on actual value (default: "internet"). Keyboard will pop up.
+
NOTE: If you don't know APN, login and passwork, ask your provider.
+
 
+
''TODO: obsolete, Kmokonnect provides gprs support now''
+
 
+
SCREEN
+
 
+
To connect to GPRS network, just click "Connect" button. Entered values will be saved after successful connection.
+
 
+
SCREEN
+
 
+
====USB====
+
 
+
With this toggle you can switch USB port between device (Neo to PC) or host (device to Neo) modes.
+
 
+
====Bluetooth====
+
 
+
To power up Bluetooth module, swith "Bluetooth radio" toggle to "On". After that, "Visibility" toggle should arrive - set it to "On" if you want your FR to be visible by other Bluetooth devices on scanning.
+
 
+
===GPS===
+
 
+
SCREEN
+
 
+
====GPS====
+
 
+
By default, GPS is turned on only when requested (when you turn on TangoGPS, Navit, omgps or other GPS app). That state corresponds to "Auto" setting. After changing to "Manual", you can set it on all the time.
+
 
+
====GPS information====
+
 
+
This page can be used to monitor GPS status. If some value isn't known, then "unknown" is displayed.
+
 
+
SCREEN
+
 
+
You can also view information about every visible satellite and check, which are used for getting fix. To do that, just click "Satellite details".
+
 
+
If you experience problems with GPS, turn it off, click "Remove AGPS data" and reboot your Neo.
+
 
+
===Date/time===
+
 
+
SCREEN
+
 
+
====Time====
+
 
+
Here you can view and set actual time. By default, time is just displayed, To adjust it, click on "Set time".
+
 
+
SCREEN
+
 
+
After finishing adjusting, click "OK" button.
+
 
+
====Date====
+
 
+
This module displays current date.
+
 
+
===Power===
+
 
+
SCREEN
+
 
+
====Battery====
+
 
+
This module displays informations about battery state - charge, voltage, remaining time etc. To update data, click "Update" button.
+
 
+
Here you also enable 500mA charging with dumb chargers.
+
 
+
====Display====
+
 
+
With this slider you can easly tweak backlight power.
+
 
+
NOTE: This setting isn't pernament over sessions. At boot backlight is set back to 100%.
+
 
+
====Power====
+
 
+
Here you can turn on or off automatic dimming or suspend after idle timeout (see: Timeouts module)
+
 
+
SCREEN
+
 
+
====Timeouts====
+
 
+
Here you can set up values of idle timeouts used by device. Timeouts are reached in this order: idle -> idle dim -> idle prelock -> lock -> suspend. Idle, idle prelock and lock aren't used by default in SHR at the moment.
+
 
+
===Services===
+
 
+
SCREEN
+
 
+
====Services====
+
 
+
Here is listed every interesting script from /etc/init.d/ directory.
+
 
+
SCREEN
+
 
+
After clicking on some, you can either start, restart or stop service and view result.
+
 
+
===Others===
+
 
+
SCREEN
+
 
+
====Splash====
+
 
+
With this selector you can select theme used by shr-splash at boot and shutdown. After clicking "Preview", selected boot image will be displayed for 5 seconds.
+
 
+
====PIM====
+
 
+
Module used by opimd developers. Doesn't have influence on behaviour of default SHR image.
+
 
+
====Userspace backups====
+
 
+
Here you can either archive or restore your files and configurations. (TODO)
+
 
+
SCREEN
+
 
+
====Image information====
+
 
+
SCREEN
+
 
+
This module contains basic information about installed image - name of buildhost, used revision, branch and time of build.
+
 
+
==Theming==
+
 
+
 
+
==Network manager==
+
 
+
While there are several ways of networking - Wifi, USB, Bluetooth and Gprs - By default, USB networking is enabled in /etc/network/interfaces.
+
 
+
Enhanced configuration is possible through direct editing of /etc/network/interfaces or through Mokonnect.
+
 
+
Connmand daemon with Mokonnect are the recommended user level applications for setting up networking. At the moment, Mokonnect can manage USB, Wifi and Gprs connections. Wifi device is not required to be manually turned on via SHR-Settings as Mokonnect will automatically enable the device when needed and disable after use.
+
 
+
''TODO: screenshots, supported encr. wifi''
+
 
+
{| class="wikitable" cellspacing="0" cellpadding="0" style="padding: 0%; margin:0em 0em 1em 0em; border:1px solid #c0c0c0; background:#eeeeee; floating="center";width:100%; "
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:33% " |
+
[[Image:SHR-Mokonnect.png|200px|thumb|Mokonnect]]
+
 
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:33% " |
+
+
[[Image:SHR-Mokonnect-Wifi.png|200px|thumb|Mokonnect Wifi]]
+
 
+
! style="background:#fcfcfc;border-left:1px solid #9999cc;border-right:1px ; border-top:2px solid 75d806; border:0px solid #222222; width:33% " |
+
+
[[Image:SHR-Mokonnect-Wifi-Scan.png|200px|thumb|Mokonneect Wifi Scan]]
+
 
+
 
+
|}
+
 
+
==System Customizing==
+
 
+
'''Changing the splash screen'''
+
 
+
list available splash screen themes
+
 
+
opkg list | grep splash-theme
+
 
+
and install one of the available themes
+
 
+
opkg install shr-splash-theme-dontpanic
+
 
+
Then go to SHR Settings -> Others -> Themes. Here you can preview installed themes and change the default one.
+
 
+
 
+
'''Enable mouse cursor'''
+
 
+
edit line 121 of /etc/X11/Xinit and erase -hide-cursor
+
 
+
ARGS="$ARGS -dpi ${DPI} -screen ${SCREEN_SIZE} -mouse tslib -root-ppm /usr/share/pixmaps/xsplash-vga.ppm vt1"
+
           
+
 
+
'''Connect Bluetooth keyboard'''
+
 
+
Turn Bluetooth on in SHR Settings -> Connectivity, then in terminal run
+
 
+
hidd --search
+
 
+
 
+
If you try to change Wallpaper or Theme and Illume keeps on crashing, it might be caused by the whole Illume running in Software_16 mode. Go to Illume Settings, slide the icon bar and select Advanced. There tap on Engine and select Software. After this, you can change your Wallpaper or Theme. Selecting Software_16 later on again will speed up the desktop's response (though causing it to be a bit uglier).
+
 
+
==Installing Software==
+
 
+
[[Category:SHR]]
+

Latest revision as of 18:00, 9 December 2009

  1. REDIRECT Manuals/SHR
Personal tools

Work in progress. Comments here


SHR Introduction

SHR (Stable Hybrid Release) is a community driven distribution based on the FSO framework. SHR can use several different graphical toolkits, for example GTK or EFL. At first, SHR was introduced in order to use the Om 2007.2 GTK software in combination with the new FSO, but things have changed, software got developed further and development is still progressing.

TODO: Text from SHR, enhance.

SHR Specific

At this point, there are some applications and procedures that are purely specific to SHR and would not run on another distribution. For example the phone applications (Dialer, Messages and Contacts) and SHR Settings depend heavily on the ophonekitd daemon.

In sense of the underlying phone subsystem SHR is based on FSO so basically any application using FSO has a chance to run, should all required libraries be available. In the future, this will give a chance to some other GUI phone managers to be chosen from.

Installation

Getting SHR

GSM firmware

If you don't have Moko11 as your GSM firmware yet, you should update it: See GSM/Flashing

TODO: Include the full GSM upgrade procedure? Or perhaps as an addendum?


Boot loader

Recent bootloaders ensure proper kernel loading. qi is recommended but uboot is still fun optional and supported. The latest boot loader files are available at http://downloads.openmoko.org/distro/testing/

Installation on Flash

Installation on µSD Card

SHR version

To find out what version of SHR you have installed, please run

cat /etc/shr-version


or check SHR Settings -> Other -> Image information


Running SHR

Booting

Press the power button shortly once to start the Freerunner. Booting splash screen will appear. First boot after new installation takes always a bit longer. Sometimes, it is recommended to reboot after this first boot, to make sure all packages got initialized properly.

SHR Boot Splash screen

Initial Setup

Initial setup

On the first boot, Setup is automatically initiated to walk the user through basic setup of the Enlightenment desktop environment. You are able to choose preferred language of the desktop environment, Illume SHR themed profile or select default menu (only one at the moment). On the Add icon screen you can add icons for some application. If you add a terminal based application like mplayer, you will see an icon but no application running upon click, as it will run in the background. Last screen allow settin up quick launch applications. TODO: what does quick launch do anyways?

Theme profile
Menu
Add icons
Quick launch


First look

Desktop screen

Illume desktop is default home screen of the SHR desktop. Application files located in /usr/share/applications are displayed here. All applications are ran fullscreen and you can switch between them by using the Task switcher in the Top Shelve or by using the < left or right > arrows in the Top Shelve.

The Illume desktop can be easily customized - slide the Top Shelve down and tap the Settings icon (Wrench).

NOTE: TIP: for better access of the Settings icon, tap and hold the Settings icon, then drag it to the right.


Illume settings provides various options to alter the desktop environment. You can change sizes of elements, single or double click, wallpaper. To access all the various options, open Illume Settings and slide the visible icons to the left, to preview more options on the right hand side.

The little applets in the Top Shelve (for example Battery, GSM, Bluetooth etc.) are called Shelve gadgets and you can configure whether they are visible (on the front part of the top shelve) or hidden (you can access them by sliding the top shelve) through Illume Settings -> Display -> Shelve gadget.

Some screens are not resized properly to fit the Freerunner's display - for example the Wallpapper setting. This is a known bug already reported upstream.


Phone applications

Besides other software, SHR comes with 4 main phone applications: Dialer, Contacts, Messages and Phone log.

Dialer
Contacts
Contact options
Add new contact


Messages
Messages options
View message
Unicode support


Message options
Phonelog
Active call

First steps

Right after clean installation and first boot you might want to do a few initial steps:

Establish network connection and SSH into your Freerunner. The root account uses no password by default. You can establish connection either via USB to your desktop and enable NAT or you can connect through Wifi. If you use USB, some setup is required on the desktop side, please read USB_Networking. For Wifi, you can use Network Manager

Check if GSM is working correctly - observe the GSM gadget in the Top Shelve and see reported signal of your GSM operator

Check and set call volume - this is handled by alsa state files in /usr/share/shr/scenarii/ . To customize speaker volume edit /usr/share/shr/scenarii/gsmheadset.state and change control 4. Values between from 105 to 120 might be sufficient.

Shell you want to alter more parameters be aware that each file is a set of value for the 94 parameters. Some of the important ones are:

Control 48: internal mic of the tel (set to 2 or 3)
Control 4 : internal speaker (set from 110 to 120)
Control 49: headset mic
Control 3 : headset speaker 
Control 4 : internal speaker (set from 110 to 120)

Initialize opkg database in order to install some applications from SHR repositories or from other sources, for example [opkg.org]. While still being online, you need to first run

opkg update

Under the hood

SHR is based on linux kernel and Openembedded. XGlamo is providing X server environment and Illume (Enlightment window manager module for small devices) is providing comfortable finger controlled desktop environment. Under the hood of the pretty desktop there is FSO middleware talking to the GSM modem, GPS module as well as to the other bits of hardware. SHR ophonekitd daemon is run with X server start up and it that communicates with FSO via d-bus. SHR phone applications talk to ophonekitd and also to FSO so for example when you receive a phone call, the dialer is launched to provide a way of answering it. Dialer, Contacts and Messages applications are part of the SHR internal libframeworkd-phonegui-efl library, Phone log is an extra application written in python-gtk.

Localization

Setting Language

You can change the language of the SHR desktop environment by using the Settings of Illume. For Example, for Czech language: in Illume Top Shelve go to Wrench (Settings) -> Language -> Language Settings -> and choose: Čeština. If your language is not in the menu you can install by using opkg.

You can list all available languages by running:

opkg list | grep glibc-locale-

And install the language of your choice (for example czech):

opkg install glibc-locale-cs

After this, the Language Settings of Illume will offer Czech.


This will localize the Illume environment and will also set correct lang environment variable. If you wish to have translations for other applications, you need to install them again (presuming they are available):

This will install czech localisation for SHR phone applications, SHR Settings and TangoGps:

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

For localized terminal environment (ssh login) set lang variables set /etc/profile, example for Czech language:

export LANG=cs_CZ
export LC_ALL=cs_CZ


The Illume keyboard offers english dictionary correction by default. You can list all the dictionaries available for installation:

opkg list | grep illume-dic


If your language is not available and english is bothering you, you can set an empty dictionary:

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

By using it, it will get filled by the words you use and after time will start helping and correcting your typing.

Date and time

Timezone is automatically retrieved from the GSM network. Date and time are automatically set from GPS or Network. The easiest way of setting the time for the first time is to run TangoGps (GPS & Map icon) and obtaining GPS fix. Time will then be set automatically after several minutes.

Time can set time also manually.

Via SHR-Settings -> Date/time -> Set time

From linux based desktop:

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

You can also set the hardware clock to the system time:

hwclock --systohc

SHR Settings

SHR Settings


SHR Settings is the main setting application of SHR. In the background it uses FSO specific dbus calls as well as low level commands. The graphical interface is Elementary-Python based. It provides an easy way of setting up your phone to your liking - from phone related settings, to requesting resources in order to prevent screen dim or suspend (for example while using GPS).

While some settings are persistent over reboots, other are not.

TODO: list persistent/non persistent settings, or make a note at each section


SCREEN

Main Screen

Main screen is divided into few categories, which contain modules. Every SHR Settings module has specified task - control GSM antenna power, set actual time etc.

Phone

SCREEN

GSM

In GSM settings you can turn off and on GSM module. After turning off antenna, whole GSM modem is turned off.

To list available providers, click on Operators button. Scanning can take some time. After while, list of operators should pop up.

SCREEN

You can't connect to operators marked as [forbidden]. After failed connect, message is displayed.

SCREEN

Selecting operator from list also changes modem registration mode to manual. It won't register to other network, even if some is available and has better signal strengh. To return to automatic mode, click "Automatic" button in operator list.

Call

You can decide, if your phone number should be displayed to other party. You can either depend on network decision ("By network") or force it manually ("Manual")

SCREEN

SIM

Here you can view some informations about your SIM card and clean phone and messagebooks.

SCREEN (?)

Profiles

SCREEN

Profile

Here you can select current profile, which device should use to determine ring tone etc.

Current profile

Here you can adjust properties of currently used profile. Available settings: ring tone, ring volume, ring vibration, ring loop, ring length, message tone, message volume, message vibration, message loop, message length.

To change ring tone, click on "Change" button.

SCREEN

To use your own ring tone, place it in /usr/share/sounds directory.

After selecting sid tune as ring tone, there are available controls to select tune number from file.

SCREEN

Connectivity

SCREEN

WiFi

With "WiFi radio" toggle you can set, if wifi module should be powered. WiFi radio has to be turned on before trying to connect to WiFi network.

TODO: obsolete, Kmokonnect turns wifi on automatically

GPRS

To enter APN, login and password fields, just click on actual value (default: "internet"). Keyboard will pop up. NOTE: If you don't know APN, login and passwork, ask your provider.

TODO: obsolete, Kmokonnect provides gprs support now

SCREEN

To connect to GPRS network, just click "Connect" button. Entered values will be saved after successful connection.

SCREEN

USB

With this toggle you can switch USB port between device (Neo to PC) or host (device to Neo) modes.

Bluetooth

To power up Bluetooth module, swith "Bluetooth radio" toggle to "On". After that, "Visibility" toggle should arrive - set it to "On" if you want your FR to be visible by other Bluetooth devices on scanning.

GPS

SCREEN

GPS

By default, GPS is turned on only when requested (when you turn on TangoGPS, Navit, omgps or other GPS app). That state corresponds to "Auto" setting. After changing to "Manual", you can set it on all the time.

GPS information

This page can be used to monitor GPS status. If some value isn't known, then "unknown" is displayed.

SCREEN

You can also view information about every visible satellite and check, which are used for getting fix. To do that, just click "Satellite details".

If you experience problems with GPS, turn it off, click "Remove AGPS data" and reboot your Neo.

Date/time

SCREEN

Time

Here you can view and set actual time. By default, time is just displayed, To adjust it, click on "Set time".

SCREEN

After finishing adjusting, click "OK" button.

Date

This module displays current date.

Power

SCREEN

Battery

This module displays informations about battery state - charge, voltage, remaining time etc. To update data, click "Update" button.

Here you also enable 500mA charging with dumb chargers.

Display

With this slider you can easly tweak backlight power.

NOTE: This setting isn't pernament over sessions. At boot backlight is set back to 100%.

Power

Here you can turn on or off automatic dimming or suspend after idle timeout (see: Timeouts module)

SCREEN

Timeouts

Here you can set up values of idle timeouts used by device. Timeouts are reached in this order: idle -> idle dim -> idle prelock -> lock -> suspend. Idle, idle prelock and lock aren't used by default in SHR at the moment.

Services

SCREEN

Services

Here is listed every interesting script from /etc/init.d/ directory.

SCREEN

After clicking on some, you can either start, restart or stop service and view result.

Others

SCREEN

Splash

With this selector you can select theme used by shr-splash at boot and shutdown. After clicking "Preview", selected boot image will be displayed for 5 seconds.

PIM

Module used by opimd developers. Doesn't have influence on behaviour of default SHR image.

Userspace backups

Here you can either archive or restore your files and configurations. (TODO)

SCREEN

Image information

SCREEN

This module contains basic information about installed image - name of buildhost, used revision, branch and time of build.

Theming

Network manager

While there are several ways of networking - Wifi, USB, Bluetooth and Gprs - By default, USB networking is enabled in /etc/network/interfaces.

Enhanced configuration is possible through direct editing of /etc/network/interfaces or through Mokonnect.

Connmand daemon with Mokonnect are the recommended user level applications for setting up networking. At the moment, Mokonnect can manage USB, Wifi and Gprs connections. Wifi device is not required to be manually turned on via SHR-Settings as Mokonnect will automatically enable the device when needed and disable after use.

TODO: screenshots, supported encr. wifi

Mokonnect


Mokonnect Wifi
Mokonneect Wifi Scan


System Customizing

Changing the splash screen

list available splash screen themes

opkg list | grep splash-theme

and install one of the available themes

opkg install shr-splash-theme-dontpanic

Then go to SHR Settings -> Others -> Themes. Here you can preview installed themes and change the default one.


Enable mouse cursor

edit line 121 of /etc/X11/Xinit and erase -hide-cursor

ARGS="$ARGS -dpi ${DPI} -screen ${SCREEN_SIZE} -mouse tslib -root-ppm /usr/share/pixmaps/xsplash-vga.ppm vt1"
           

Connect Bluetooth keyboard

Turn Bluetooth on in SHR Settings -> Connectivity, then in terminal run

hidd --search


If you try to change Wallpaper or Theme and Illume keeps on crashing, it might be caused by the whole Illume running in Software_16 mode. Go to Illume Settings, slide the icon bar and select Advanced. There tap on Engine and select Software. After this, you can change your Wallpaper or Theme. Selecting Software_16 later on again will speed up the desktop's response (though causing it to be a bit uglier).

Installing Software