Bogg wrote: 
> I got the skin changed. Thanks. 
> Have you any plans to use the different vu meters that are available on
> picoreplayer jivelite? 
> They're changed through the Web interface, so I don't know how you'd do
> it. Could I copy what's needed over ssh? 

I've found out how to change the vu meters, but i haven't thought about
providing a method to do it from the interface.  You need to do two
things:

1) copy the file that holds the sequence of VU meter images into
/opt/jivelite/share/jive/applets/JogglerSkin/images/UNOFFICIAL/VUMeter/
You'll see there are already a few in there, with different suffixes:
vu_analog_25seq_b.png, _d.png, _e.png, _j.png, _w.png 
2) edit the file:
/opt/jivelite/share/jive/applets/JogglerSkin/JogglerSkinApplet.lua (or
PiGridSkin.lua I guess)

In JogglerSkinApplet.lua, there is a section of code beginning at line
3617.  'bgImg' is the variable you need to set to match the file you
copied in step 1.  Lines are commented out in lua with '--', so you can
see that the image used below is vu_analog_25seq_j.png

Code:
--------------------
                        vumeter_analog = {
                                position = LAYOUT_NONE,
                                x = 0,
                                y = TITLE_HEIGHT + 63,
                                w = 800,
                                h = 413 - (TITLE_HEIGHT + 38 + 38),
                                border = { 0, 0, 0, 0 },
                                padding = { 0, 0, 0, 0 },
  --                            bgImg = _loadImage(self, 
"UNOFFICIAL/VUMeter/vu_analog_25seq_b.png"),
  --                            bgImg = _loadImage(self, 
"UNOFFICIAL/VUMeter/vu_analog_25seq_d.png"),
  --                            bgImg = _loadImage(self, 
"UNOFFICIAL/VUMeter/vu_analog_25seq_e.png"),
                                bgImg = _loadImage(self, 
"UNOFFICIAL/VUMeter/vu_analog_25seq_j.png"),
  --                            bgImg = _loadImage(self, 
"UNOFFICIAL/VUMeter/vu_analog_25seq_w.png"),
                        }
  
--------------------


Bogg wrote: 
> 
> I hope you can resolve the backlight off issue. If it's only off with
> soft off that's great, that's just how I use it anyway :) 
> In the meantime I'm shutting down and restarting with a smart plug. 

I've found out how Squeezeplay achieved the backlight off using the soft
power button.  Evidently it's an x window feature, using the xset
function.  Since I compiled Jivelite to use SDL rather than X windows,
this function isn't available.  I can set the backlight to zero, which
is -almost- as good as turning it off, but there's still a faint glow. 
I'll modify the code so that the blank screen screensaver uses the zero
setting, but I think that's the best I'll be able to do without
modifying the whole build to use X.

Bogg wrote: 
> Do I need to safely shutdown each time? Or like picoreplayer is it happy
> to just have a power cut? 
> Thanks again.

I'm not sure about this.  The 'wiki page'
(https://www.jogglerwiki.com/wiki/Ubuntu_Internal_emmc) for an earlier
build of Ubuntu for the Joggler states:
> It will run a read-only root fs with a volatile rw-system overlaid
> allowing most apps to function normally whilst preventing ware on the
> flash memory and allowing the system to be powered off at any time
> without risk of filesystem corruption. This is ideal for systems which
> will just run a simple GUI that either does't need to save any data - or
> saves all their data remotely.

I'm not sure whether this feature has been built into the latest
'Bionic' build of Ubuntu on the Joggler - I will check with Andy to get
the official word.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to