Support and General Use > Theming and Appearance Customization
Time & Date/Gigabeat F40 Themes/Updating Ajax RTC
thenrik:
I know that the format for the time and date have recently changed but unfortunately none of the wps themes for the Gigabeat F40 have caught up. Is there anything the average Joe can do to fix the error or should we just wait for the theme authors to update their themes?
Thanks,
Tom
elborak:
Just manually edit the .wps file. It's very simple.
thenrik:
This is aimed at folks who have never done any coding, like me. It's not very difficult.
Well, if you go to the Customwps Wiki page:
http://www.rockbox.org/twiki/bin/view/Main/CustomWPS
and read all of the tag descriptions under Real Time Clock as well as alignment ones %al etc and then look at the hint below:
"For example, I use: %ca, %cb %cd, %cH:%cM:%cS"
Then look at the posts on this page from Johnson4 and Ddyourself and the code:
%al%cb %ce, %cH:%cM %ar%pvdb %bl%%
I went back to the Customwps page above and looked up the tags.
I like the Ajax wps as it's easy to read, shows how much time has played in the song, how much is left, the current song, the next song, volume level and so on. I went to the .rockbox folder, wps and opened Ajax.wps with notepad. On the 8th line down or 5th after the comments, I found the offending line:
%al%ca, b dc%ar%cl:M:Sc
It's a little difficult to divine the Ajax creator's intentions as I don't have the old code but by mixing and matching the code above, I replaced it with:
%al%ca, %cb %cd, %cH:%cM:%cS %ar%bl%%
Which gives you the month and date, day of the week, time and battery level.
It works. Just replace the 8th line with my line or further modify it yourself.
Tom
makotochan:
I must be a moron ..... I cannot figure out for the life of me what to modify in the code .... I want to get the frostbox AA to work in my gigabeat F40 but i am lost since the new update . can some on help please ????
Nate!:
I just looked at the Frostbox AA wps. There's no RTC information in it. If you are trying to edit it to add RTC info, then take a look at the RTC tags in the link posted by thenrik.
Placement is relative to where you want it to appear in the WPS. So if you want it under the battery info, place the RTC tags under the line that starts with: %?bp
Space is limited so you'll have to take that into account when choosing what part of the date and/or time you want to see.
Navigation
[0] Message Index
[#] Next page
Go to full version