GBATemp notifier written in bash

Discussion in 'Computer Software and Operating Systems' started by MarcusD, Jan 28, 2016.

  1. MarcusD
    OP

    MarcusD nobody's hero

    Member
    1,141
    2,208
    Oct 16, 2015
    Hungary
    a pixel between life and death
    As some of you may remember, I was working on a GBATemp notifier, because of reasons :P
    Now, I've made it 100% working, so I decided to post it :P

    Screenie

    Installation

    1. Acquire these binaries (ALL of these are required!)
    2. Download the script from GitHub
    3. Open up a command prompt
    4. bash path/to/gbanotif.sh
    5. Follow the on-screen instructions
    6. Make the script run in a loop (60s is a good checking interval, or 15s if you're popular :P): bash path/to/gbanotif.sh loop <checking frequency>
    7. Optionally, edit the payload at ~/.gbacmd
    8. Optionally, make an automated startup script that automatically runs the notifier as mentioned above.
     
    Last edited by MarcusD, Jan 31, 2016
    DarkFlare69 and ihaveamac like this.
  2. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,626
    2,460
    Dec 8, 2014
    United States
    Ohio
    I get this on Windows:
    Code:
    C:\Users\Adam>bash C:\Users\Adam\Downloads\85bae93bc3534cca239b-c76acedce9858dc8
    a6bf48d1835078e12296a522\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e122
    96a522\gbanotif.sh
    C:\Users\Adam\Downloads\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e1229
    6a522\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e12296a522\gbanotif.sh:
     line 17: //.gbanotif: No such file or directory
    C:\Users\Adam\Downloads\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e1229
    6a522\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e12296a522\gbanotif.sh:
     line 93: curl: command not found
    grep: Support for the -P option is not compiled into this --disable-perl-regexp
    binary
    C:\Users\Adam\Downloads\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e1229
    6a522\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e12296a522\gbanotif.sh:
     line 141: zenity: command not found
    C:\Users\Adam\Downloads\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e1229
    6a522\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e12296a522\gbanotif.sh:
     line 144: zenity: command not found
    
     
  3. MarcusD
    OP

    MarcusD nobody's hero

    Member
    1,141
    2,208
    Oct 16, 2015
    Hungary
    a pixel between life and death
    I should explicitly mention, that this is for Linux only :P I'll edit the post in a bit.

    Also, did you really follow the installation steps? It clearly says in the log, that it's missing curl and zenity, and probably notify-send.
     
    Last edited by MarcusD, Jan 31, 2016