Patch Clock Enabling the Hidden Theme
Jump to navigation
Jump to search
This is a theme that Palm doesn't have activate as of webOS1.2.0
In: /usr/palm/applications/com.palm.app.clock/themes/ File: themes.json @ Line 13 replace
}
with
}, { "name":"manualanalog", "nicename":"Analog Black", "description":"", "source": "themes/manualanalog/" }
Restart LunaSysMgr
sudo ./sbin/initctl stop LunaSysMgr sudo ./sbin/initctl start LunaSysMgr
Thanks goes out to frankos72 @ precentral for this orginal modification.
Enable Day & Date within the new clock
This mod will give you the Time & Date on the new theme Analog Black
In: /usr/palm/applications/com.palm.app.clock/themes/manualanalog/
File: manualanalog-clock-functions.js
@ Line: 92&93 un-comment the lines so they look like this:
this.controller.get('date').textContent = Mojo.Format.formatDate(now, {"date":"short"}); this.controller.get('day').textContent = Mojo.Format.getDateTimeHash().medium.day[now.getDay()];
In: /usr/palm/applications/com.palm.app.clock/themes/manualanalog/ File: manualanalog-clock.html
@ Line: 4&5 make it look like this:
<div id="day" class="day"></div> <div id="date" class="date"></div>
Restart LunaSysMgr, enjoy.
sudo ./sbin/initctl stop LunaSysMgr sudo ./sbin/initctl start LunaSysMgr
-Phrozen