For anyone who would like to test this, I have uploaded it to here -
https://www.linuxliteos.com/files/litewidget2.tar.gz download and extract it to your home folder, then go to Menu, Settings, Session and Startup, Application Autostart tab, place a tick in 'Lite Widget'. This is how you enable/disable it at start up.
You need this package installed to be able to use the widget:
Code:
sudo apt-get install conky-all
Thanks, Jerry!
It's coming along nicely

Especially the lightness, simplicity and flexibility is great!
Is the "apt-get update" part covered by the system out of the box? I see that you straight away check for available updates via "apt-get upgrade".
(09-20-2016, 12:50 AM)LL-user link Wrote: [ -> ]Is the "apt-get update" part covered by the system out of the box? I see that you straight away check for available updates via "apt-get upgrade".
That method does work, each time I've reboot one of my VM's here running the widget displays a new amount of updates when they're available.
You can change Line 8 in the updates script to show:
Code:
NUMOFUPDATES=$(LANG=C /usr/lib/update-notifier/apt-check 2>&1 | cut -d ';' -f 1)
if you like. apt-check is run at boot time to check for the number of updates available and show them in the motd, it's an Ubuntu thing

Thanks for taking the time to clarify, Jerry!
I came across /etc/update-motd.d/ and /usr/lib/update-notifier/ when I was following up my discovery of update notifications displayed when I remotely logged in to one of my systems on the command line.
I haven't dug deeper into it (yet) to understand the full setup.
You mention that the apt-check is run at boot time.
Just had a quick look at cron jobs and found apt-compat as a daily one pointing to /usr/lib/apt/apt.systemd.daily.
So I hope I'm not wrong to assume that an update is not only run at boot/reboot time but on a regular basis.
Otherwise there wouldn't be a check for quite some time considering that people just suspend their system. Also the execpi loop in the widget would just use up resources without real benefit.
Also, I'm still not clear about the effects of the settings in Synaptic -> Settings -> Software & Updates -> Updates, especially in Linux Lite.
Looking into the setup/configuration of (semi)automatic updates seems like opening a can of worms ...

New package:
- Smokey transparency
- Better contrasting feather on transparent background vs text
- Alternative update check
https://www.linuxliteos.com/files/litewidget2.tar.gz
Overwrite the existing files.
You need this package installed to be able to use the widget:
Code:
sudo apt-get install conky-all
Just gave it a try on a test system.
Important to note for anyone else who wants to give it a go. The package
conky-all needs to be installed! If the package conky got installed, it would display an error related to the image.
Have also integrated the update status part into my own conky configuration on the production system [LL 2.8]. Thanks Jerry!
I only need to see how/whether there will be an automatic update happening between reboots. I run the machine on a regular basis for weeks utilizing suspend so can't rely on a reboot.
(09-21-2016, 08:11 AM)LL-user link Wrote: [ -> ]Important to note for anyone else who wants to give it a go. The package conky-all needs to be installed! If the package conky got installed, it would display an error related to the image.
Ah yes, I forgot that part! I'll add it to the download post. Thanks.
Yep. Noticed it yesterday evening.
TC
Must be doing something wrong,cannot get this to run.
Have downloaded and extracted widget and installed conky-all from synaptic.
Linux widget does not show in application autostart menu.
Can add it to the autostart menu but needs a command to run.
Jocklad
Just noticed this is not a support section...........SORRY
Did you extract it directly to your home folder? For example, if you downloaded it into your Downloads folder, you may have extracted it into your Downloads folder.
Sent from my Nexus 6 using Tapatalk