GBATemp notifier written in bash

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,654
Trophies
2
Location
rehabilitation center
XP
8,220
Country
Hungary
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

397c5bf92f.png

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 Sono,

DarkFlare69

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,667
Country
United States
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

397c5bf92f.png

Installation

  1. Acquire some binaries
    • bash
    • grep
    • sed
    • tr
    • rev
    • cut
    • curl
    • head
    • xargs
    • notify-send
    • zenity
    • perl + URI::Escape
    • sleep
  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.
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
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,654
Trophies
2
Location
rehabilitation center
XP
8,220
Country
Hungary
I get this on Windows:
Code:
too long error list

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 Sono,
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
  • Iron_Masuku @ Iron_Masuku:
    Hello
    Skelletonike @ Skelletonike: hmm