Linux Lite 8.0 RC1 has been released - Click here


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Update notifier
#1

Made an experiment. Not satisfied with the icon not changing after update is completed.
I've used xfce4-genmon-plugin.
http://www.dropbox.com/s/ghxq29lpq34jf15...t.mkv?dl=0
Video might not be displaying correctly in a browser so downloading it might be a good idea. It's only 2MB.
cron-apt is set to download package cache lists every hour.
Then genmon calls the script periodically to check if there are updates available.
If there are updates clicking on the icon calls the script to show the available updates.
Clicking on the update calls the update script.

I think that the better solution would be to use the python script to display the notification icon because this xfce panel item can be easily removed by mistake and if so it will not start on a reboot.

Reply
#2

It's really nice to see an update tray icon in LL. Like you said, still some work to go. We do need to make sure that the tray app can be added back if accidentally removed. Keep at it, I'm confident you'll conquer this :)

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#3

Well, I like to have a full control over everything executing but most people migrating from windows expect to have an update notification.
Reply
#4

Do you have all the code for this? I have some time off this week and would like to have a play :)

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#5

Bump request.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#6

Omg, missed that one. :(
It's in one VM, I think. will look it up later.
Reply
#7

Bump. Cant find it. I think the py was called "apt-notifier", qt based from some distro (I think mx or antix linux) with some modifications to run our zenity update scripts.
Why haven't I sent it to github remains a mystery. It was probably useless but still...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)