Skip to content

kidaak/sun

 
 

Repository files navigation

image

image

image

image

image

image

image

image

image

Table of Contents:

About

SUN ☀️ (Slackware Update Notifier) is a tray notification applet for informing about package updates in Slackware and CLI tool for monitoring upgraded packages.

image

How works

Actually read the two dates of ChangeLog.txt files one the server and a local by counting how many packages have been upgraded, rebuilt or added. SUN ☀️ works with slackpkg as well with slpkg

Installing

Required root privileges

$ tar xvf sun-1.1.4.tar.gz
$ cd sun-1.1.4
$ ./install.sh

Installed as Slackware package

or

$ pip install sun --upgrade

Usage

Make sure that daemon has executable permission or otherwise run '# chmod +x /etc/rc.d/rc.sun'.

Then choose ONE mirror from '/etc/slackpkg/mirrors' file.

Gtk menu icon

Add sun in your windows manager session startup.

As for xfce: Settings Manager --> Session and Startup --> Application Autostart --> +Add

[Add application]

Name: sun
Description: Slackware Update Notifier
Command: /usr/bin/sun start --gtk

Click [Ok]

Click Menu --> System --> SUN (Slackware Update Notifier)
An icon will appear in the panel, right click in SUN icon to show menu.

Thats it.

CLI

$ sun help
SUN (Slackware Update Notifier) - Version: 1.1.4

Usage: sun [OPTION]

Optional arguments:
  help     display this help and exit
  start    start sun daemon
  stop     stop sun daemon
  restart  restart sun daemon
  check    check for software updates
  status   sun daemon status
  info     os information

$ sun start
Starting SUN daemon:  /usr/bin/sun_daemon

$ sun stop
Stoping SUN daemon:  /usr/bin/sun_daemon

$ sun status
SUN is not running

$ sun check
3 software updates are available

samba-4.1.17-x86_64-1_slack14.1.txz:  Upgraded.
mozilla-firefox-31.5.0esr-x86_64-1_slack14.1.txz:  Upgraded.
mozilla-thunderbird-31.5.0-x86_64-1_slack14.1.txz:  Upgraded.

Configuration files

/etc/sun/sun.conf
    General configuration of sun

/etc/rc.d/rc.sun
    Runtime configuration file

Screenshots

image

image

image

image

Donate

If you feel satisfied with this project and want to thank me go to Slackware and make a donation or visit the store.

Copyright

  • Copyright © Dimitris Zlatanidis
  • Slackware® is a Registered Trademark of Patrick Volkerding.
  • Linux is a Registered Trademark of Linus Torvalds.

Packages

No packages published

Languages

  • Python 80.6%
  • Shell 19.4%