Skip to main content

Tray notification applet for informing about package updates in Slackware

Project description

About

Let’s SUN:sunny:(shine)!!!

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

https://gitlab.com/dslackw/images/raw/master/sun/sun.png

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.2.2.tar.gz
$ cd sun-1.2.2
$ ./install.sh

Installed as Slackware package

or

$ pip install sun --upgrade

Usage

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_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.2.2

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
Stopping 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

Screenshots

https://gitlab.com/dslackw/images/raw/master/sun/gtk_daemon.png https://gitlab.com/dslackw/images/raw/master/sun/xfce_screenshot.png https://gitlab.com/dslackw/images/raw/master/sun/kde_screenshot.png https://gitlab.com/dslackw/images/raw/master/sun/check_updates.png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sun-1.2.3.tar.gz (22.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page