Tuesday Dec 16, 2008

The best code is code you have forgotten.

Here is some shell code I had forgotten about:

if (( $(date +%m) == 12 ))
then
        ( while  (( $(date +%d) >= 15 ))
        do
        test -f /var/run/snow-opts && snow_opts=$(</var/run/snow-opts)
        /opt/csw/bin/xsnow ${snow_opts:--santa 2}
        done ) &
fi

all for the the Sun Ray picture frames. The kids, all of us, love it.

Tuesday Nov 06, 2007

17" Wide screen Sun Ray Photo Frame

I've briefly mentioned before that we have had the builders in recently and at last we are reaching the final few steps. This includes an LCD TV for the kitchen mounted on the wall. I'm sure you all know, modern LCD TV's all have an input for a computer. So I must be the last of millions to turn my LCD TV into a 17” photo frame powered by a Sun Ray 1 and some ethernet over mains plugs.

With SRSS 4.0 I can, although so far have not, have kiosk mode running just on this one Sun Ray although since everyone in the house has a smart card there is not really any need.

The “photo frame” software is no more than a proof of concept. A script that finds all my photos (about 3000) and uses display(1) to display them. Still need to confirm I have turned off he screen saver, no point in waiting for keyboard or mouse input as the Sun Ray has none and is quite well hidden. Also ideally it needs to have better transitions for the pictures and a way of controlling it. I can see a USB infra red receiver and remote control so that I can select that bike porn channel on demand.

The upgrade of the SRSS software would have been so much simpler if I had:

  1. Read the manual first.

  2. Rebooted when the documentation told me to. I hate rebooting, it is just so Windows but it really did seem to be required.

  3. Read the manual first.

There are however one issue. Kiosk mode does not seem to work with JDS on build 76, which I think is a know bug.

Given that a Sun Ray 1 on ebay is £25, this has to be a really cheap photo frame and this is a 17” wide screen photo frame. In fact the ethernet plug was more than the Sun Ray.

About

This is the old blog of Chris Gerhard. It has mostly moved to http://chrisgerhard.wordpress.com

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today