Jeff07971 wrote: 
> Hi All
> 
> Really small thing but is there a way on the "Digital Clock" screensaver
> to have the leading zero not blanked when in 24Hr mode ?
> I.e. 02:50 rather than 2:50
> 
> Thanks
> Jeff

Yes,

cd /home/tc/.jivelite/userpath/applets

sudo cp -Lr /opt/jivelite/share/jive/applets/Clock .

Make the following change to Clock/ClockApplet.lua around line 862, save
and quit jivelite.


Code:
--------------------
    --- ClockApplet.lua.orig        2017-06-22 07:34:54.000000000 -0400
  +++ ClockApplet.lua     2017-06-22 08:10:55.000000000 -0400
  @@ -859,7 +859,11 @@
  local theHour   = self:_getHour(time)
  
  if string.sub(theHour, 1, 1) == '0' then
  -        self.h1:setValue('')
  +        if self.useAmPm then
  +            self.h1:setValue('')
  +        else
  +            self.h1:setValue('0')
  +        end
  widget = self.h1Shadow:getWidget('h1Shadow')
  widget:setStyle('icon_digitalClockNoShadow')
  else
  
--------------------


When jivelite restarts....and don't forget to backup the pcp config.

22943


+-------------------------------------------------------------------+
|Filename: jivelite0001.jpg                                         |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=22943|
+-------------------------------------------------------------------+


Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to