Dr-Freak wrote:I've been looking for a "Complete Idiot's Guide to Creating the Clock Overlay" but can't seem to locate one. I'm not a programmer (the last language I programmed in was PL/1) and my Linux experience before my Chumby was limited to Knoppix. Can anyone point me in the right direction, please?
OK, I finally got this working and will share my "knowledge."
1. Go to Control Panel, Settings, Chumby Info
2. Press the ? (pi) sign in the upper right corner. In the following screen, hit SSHD.
Also, note the IP address on this screen.
3. I am using Macintosh--open Terminal window, probably similar in other OS's.
4. Type: ssh root@192.168.1.101
(substitute IP address from step 2)
5. Type: echo '<overlay format='"'%A %b %e %r'"' x='"'5'"' y='"'200'"' width='"'310'"' height='"'35'"' textsize='"'24'"'/>' > /psp/clockoverlay.xml
* All one line.
* Note that it took me a while to figure out the (single quote)(double quote)(single quote) combination, which actually outputs a single quote. I'm not sure if that is universal across platforms, but that's what worked for me.
* To check if this is formatting correctly, leave off the "> /psp/clockoverlay.xml" -- then it just echos to the screen so you can check your formatting.
* Also, adjust the parameters as you wish as per specifications the "Control Panel 2.7.16" post. Note that I am actually using '<overlay format='"'%l:%M %P'"' x='"'210'"' y='"'0'"' width='"'110'"' height='"'35'"' textsize='"'24'"'/>' which puts just the time in the upper right corner.
6. Type: stop_control_panel
7. Type: start_control_panel
8. Here is where my knowledge ends. The terminal keeps printing out a record of what's happening. I don't know how to stop that. So I just shut the window and restart the Chumby. Maybe someone can give a more elegant solution.
Again, this is what worked for me running Macintosh OSX 10.5. Hope this will give you some insights. It did take some trial and error!