Clock replacement

(New page: == Clock replacement == The "clock replacement" is a substitute for the stock/default clock in Maemo 5. It's TMO thread can be found here: http://talk.maemo.org/showthread.php?t=81582 ==...)
(Later development)
 
(5 intermediate revisions not shown)
Line 3: Line 3:
The "clock replacement" is a substitute for the stock/default clock in Maemo 5.
The "clock replacement" is a substitute for the stock/default clock in Maemo 5.
It's TMO thread can be found here: http://talk.maemo.org/showthread.php?t=81582
It's TMO thread can be found here: http://talk.maemo.org/showthread.php?t=81582
 +
A deb package is available for download (clock-ui_0.6-x, both thumb and non-thumb versions)
===Why?===
===Why?===
It was initially created by [http://talk.maemo.org/member.php?u=34540 Cepiperez] in order to have an opensource replacement for the stock clock, which would also bring portrait mode support. In that way it has some resemblance to the [http://wiki.maemo.org/Open_Media_Player OpenMediaPlayer (OMP)] project, although OMP has more extra options added.
It was initially created by [http://talk.maemo.org/member.php?u=34540 Cepiperez] in order to have an opensource replacement for the stock clock, which would also bring portrait mode support. In that way it has some resemblance to the [http://wiki.maemo.org/Open_Media_Player OpenMediaPlayer (OMP)] project, although OMP has more extra options added.
-
 
-
 
-
===Later development===
 
-
 
-
Cepiperez abandoned the project, leaving it with some unsolved issues. Eventually [http://talk.maemo.org/member.php?u=53057 Ade] took over, initially for some bug fixing.
 
Line 26: Line 22:
* It uses a graphical worldmap for adding a city to the worldclock screen. The replacement clock goes directly to the "Search city" popup (this is selectable from the worldmap in the stock clock).
* It uses a graphical worldmap for adding a city to the worldclock screen. The replacement clock goes directly to the "Search city" popup (this is selectable from the worldmap in the stock clock).
* It shows small clock pictograms in the worldclock screen displaying the localtime.
* It shows small clock pictograms in the worldclock screen displaying the localtime.
-
 
+
* It shows some graphical map details when selecting worldtime details.
====Different approaches====
====Different approaches====
Line 32: Line 28:
* The replacement clock can add a city to the worldclock even if it is localtime
* The replacement clock can add a city to the worldclock even if it is localtime
* The replacement clock sorts the citylist by cityname (stock clock most likely by city id)
* The replacement clock sorts the citylist by cityname (stock clock most likely by city id)
-
* The replacement clock also uses it's own config file for some config items (/home/user/.config/worldclock/worldclock.conf). The default clock only uses gconf (entry /apps/clock). Where the default clock stores it's selected worldclocks is unknown (?).
+
* The replacement clock also uses it's own config file for some config items (/home/user/.config/worldclock/worldclock.conf). The default clock only uses gconf (entry /apps/clock) and most likely /home/user/.clock/wdb-user for it's selected worldclocks.
-
 
+
====Unique to the replacement clock====
====Unique to the replacement clock====
-
* It support portrait mode
+
* It supports portrait mode
* It can display seconds in the current clock time (selectable from the status menu)
* It can display seconds in the current clock time (selectable from the status menu)
* It can disable the background image
* It can disable the background image
* It can display the current UTC in the worldclock list
* It can display the current UTC in the worldclock list
-
 
+
* It has the ability to set an alarm for a specific date
===The config file (example)===
===The config file (example)===
Line 54: Line 49:
''Background'' will show or hide the background image in landscape mode. You will have to edit this file to change this.
''Background'' will show or hide the background image in landscape mode. You will have to edit this file to change this.
-
 
-
 
-
===New developments===
 
-
The latest "experimental" version also supports setting alarms on specific dates. The stock clock only supports one time alarms and alarms repeating within a week sequence.
 

Latest revision as of 07:51, 22 March 2013

Contents

[edit] Clock replacement

The "clock replacement" is a substitute for the stock/default clock in Maemo 5. It's TMO thread can be found here: http://talk.maemo.org/showthread.php?t=81582 A deb package is available for download (clock-ui_0.6-x, both thumb and non-thumb versions)

[edit] Why?

It was initially created by Cepiperez in order to have an opensource replacement for the stock clock, which would also bring portrait mode support. In that way it has some resemblance to the OpenMediaPlayer (OMP) project, although OMP has more extra options added.


[edit] Technical differences

The stock clock (named worldclock) is started by calling maemo-invoker/-launcher via a symlink in /usr/bin. The stock clock is a kind of shared library (like many default maemo products) and has a GTK origin. The replacement clock is a standalone executable, created in Qt. This makes the memory footprint (both executable and memory usage) bigger. The replacement clock executable replaces the worldclock link to maemo-invoker in the current install setup.


[edit] Functional differences

[edit] Unique to the stock clock

  • It uses a graphical worldmap for adding a city to the worldclock screen. The replacement clock goes directly to the "Search city" popup (this is selectable from the worldmap in the stock clock).
  • It shows small clock pictograms in the worldclock screen displaying the localtime.
  • It shows some graphical map details when selecting worldtime details.

[edit] Different approaches

  • New alarms default have the current time in the replacement clock. The stock clock comes up with the time of the previous alarm.
  • The replacement clock can add a city to the worldclock even if it is localtime
  • The replacement clock sorts the citylist by cityname (stock clock most likely by city id)
  • The replacement clock also uses it's own config file for some config items (/home/user/.config/worldclock/worldclock.conf). The default clock only uses gconf (entry /apps/clock) and most likely /home/user/.clock/wdb-user for it's selected worldclocks.

[edit] Unique to the replacement clock

  • It supports portrait mode
  • It can display seconds in the current clock time (selectable from the status menu)
  • It can disable the background image
  • It can display the current UTC in the worldclock list
  • It has the ability to set an alarm for a specific date

[edit] The config file (example)

/home/user/.config/worldclock/worldclock.conf 
[General]
Cities=235, 999
SecondsAdded=true
Background=false

Cities are the id's from cities shown in the worldclock part.

SecondsAdded determines the display of seconds (configurable in worldclock itself).

Background will show or hide the background image in landscape mode. You will have to edit this file to change this.