Skip to content

rcspam/check_natron_update

Repository files navigation

#Tray icon bash script to check natron snapshot updates.

DEPRECATED due to changes (need login/passwd) on natron.fr

No longer work !!

When snapshot updates are available:

natron_blink Tray icon blinks.

Tooltip tells you the commit available (or installed if icon is not blinking):

screenshot1

Unity Desktop: A count flag is add on the Natron launcher:

selection_001

####Left Click: Launch 'NatronSetup --updater'

####Right Click Menu: screenshot3

#Installation

  • Simply copy check_natron_update.sh in your $PATH (i.e. $HOME/bin)

  • Set its executable flag:

      $ chmod +x $HOME/bin/check_natron_update.sh
    
  • Copy the icons natron22.png, natron22.png, natron16.png in your home icon directory (i.e. $HOME/.icons)

  • Open script in an editor to set directory paths for your release install and the snapshot release at line ~256:

      # Natron install directory
      NATRON_PATH="/Path/to/Natron_Directory"   
    

and your natron icon path if it's necessary at line ~269

    # blinking natron icons are installed in ${HOME}/.icons by default
    HOME_ICON_PATH="/Path/to/Natron/icon_Directory"
  • Copy check_natron_update.desktop or check_natron_update_snapshot.desktop in your ~/.config/autostart or/and if you are a kde user to ~/.kde/autostart. You can change the

Usage

to check stable release:

    $ check_natron_update.sh -r releases

or to check snapshot release:

    $ check_natron_update.sh -r snapshots

Match your icon theme if needed

  • If check_natron_update tray icon menu doesn't match your icon theme, you can set the icon at line ~293:

      ## ...If it doesn't match you can uncomment and set your own icons here if it's failed !
      #ICON_INFO=""
      #ICON_RELOAD=""
      #ICON_QUIT=""
    

Unity Desktop Users

  • You must install a standard tray icon manager (i.e. indicator-systemtray-unity)

  • Unity Desktop user can set name of natron launcher (line ~273):

      # For Unity Desktop set the name of natron launcher in Unity Dash (without .desktop)
      [ -n $UNITY ] && export DASH_ICON_NAME="Natron"
    

#Requirements

Just install 'yad' dialogue on your system:

    $ sudo apt-get/yum install yad

About

Tray icon bash script to check natron updates

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages