
The Update Notifier will check for updates approximately 2-3 minutes after computer startup. Thereafter, it will check every 6 hours. If updates are available, it will show a desktop notification and an icon in the system tray. Clicking the icon in the system tray will open an authentication window to enter your password. After entering your password, the Synaptic Package Manager will open to perform the upgrades. 

Clicking "Mark" in the first floating window will automatically perform the upgrades. Synaptic will then automatically close after the upgrades have finished. 

Clicking "Cancel" in the first floating window will close Synaptic without performing the upgrades. 

See information after the instructions if you want to change some things in the scripts.
_________________________________

Dependencies:

bash 

yad 

policykit-1-gnome (or another polkit)

xfce4-notifyd  (or dunst, notification-daemon, etc. Many desktop environments provide their own desktop notifications)

synaptic
_________________________________

Installation Instructions: 

PERFORM STEPS 1-4 AS ROOT!!!

1. Move the five .sh scripts into /usr/local/bin/

Make sure their permissions are set to allow anyone to run them. They should already be set, but it never hurts to make sure. ;)


2. Move the updates.svg icon into /usr/share/pixmaps/ 


3. Move the two cron files into /etc/cron.d/

IF YOU UNZIPPED THE FILE AS A REGULAR USER, MAKE SURE TO CHANGE THE OWNER AND GROUP (OF THOSE TWO CRON FILES) FROM "your-name" TO "root"


4. Move the two Desktop files into /etc/xdg/autostart/

If your window manager doesn't recognize items in /etc/xdg/autostart/, add the following lines to your autostart file...

/usr/local/bin/notifier-first-run.sh 

/usr/local/bin/notifier-six-hours.sh


5. Reboot
_________________________________

If you don't want the desktop notification pop-up window...

As root, open the "update-notifer2.sh" script with a text editor, enable line numbers, and comment out lines 7 and 9. Then save and close the file.

Hovering your mouse over the system tray icon will give you the same information as the desktop notification does.
_________________________________

If you don't want Synaptic's main window to show in order to see the floating windows only...

As root, open the "upgrade.sh" script with a text editor, and uncomment line 5, then comment out line 7.

Save and close the file.

