Skip to main content

Tray notification applet for informing about package updates in Slackware

Project description

About

Let’s SUN!

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

SUN compares the two dates of ChangeLog.txt files on the server and locally by counting how many packages have been upgraded, rebuilt or added etc.

SUN works with slackpkg as well as with others tools and repositories. Probably, you can use the SUN with other’s Slackware based Linux distributions as well.

Installing

Required root privileges

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

Installed as Slackware package

Usage

Edit the configuration /etc/sun/repositories.toml file and change a http mirror for your country.
NOTE: ftp mirrors not supported.

GTK Icon

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

CLI

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

Usage: sun [OPTIONS]

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.

Start GTK icon from the terminal: sun start --gtk


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

$ sun check
3 software updates are available from 1 repository

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

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

$ sun status
SUN is not running

Daemon autostart

If you want sun daemon to autostart automatically in every boot, run as root:

$ sun_daemon enable

or for disable the autostart sun daemon:

$ sun_daemon disable

for help

$ sun_daemon help

KDE Environment

For KDE users, they may need to copy the sun.desktop file into $HOME/.config/autostart folder.
About autostart KDE manager, please visit here.

Configuration files

/etc/sun/sun.toml
    General configuration of sun

/etc/sun/repositories.toml
    Repositories configuration of sun

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.5.0.tar.gz (33.8 kB view details)

Uploaded Source

File details

Details for the file sun-1.5.0.tar.gz.

File metadata

  • Download URL: sun-1.5.0.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sun-1.5.0.tar.gz
Algorithm Hash digest
SHA256 b64ce9bdc93faf2cff5d53815e729fcb5ad7ca93b2a2539f2084146825796ee7
MD5 fcaecee5239d64cb53d327f27e37b47e
BLAKE2b-256 fcf28ed4d5876a8b9c55cf829b67d4728ca35edc71093d201524e6b9949c01d4

See more details on using hashes here.

Supported by

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