Enabling Diagnostics in TPG Widget

To enable diagnostics for the TPG widget:

  1. Open ~/Library/Widgets/TPG.wdgt/TPG.js in a text editor
  2. Change the first line of code (past the documentation and revision historyFrom:
    // global debug variable
    var _debug = false;


    // global debug variable
    var _debug = true;
  3. Save and quit
  4. On the dashboard, close the TPG widget and then add it again
  5. Check /var/log/system.log (via the terminal, or the console app) for entries marked with 3thirty.

    Example of logfile entries in console app

    This will show the username that has been recorded, and the values that are used to calculate the usage meters

3 Responses to “Enabling Diagnostics in TPG Widget”

  1. Paul Says:

    Fantastic Widget – Works great except for a small cosmetic bug.

    When the GB download goes into three figures (150GB plan here) the background becomes too small for the text and the gadget looses its neatness. Any chance of an update with a fix for this problem?

    Cheers and thanks for writing such a handy little widget!

  2. Dallas Clark Says:

    I can’t seem to be able to get this widget to work with a business account, are there any known issues there?

  3. christov Says:

    i can’t get this one to work in the office either. works at home fine.
    i’ve got a Broadband Unlimited/Ultimate 1500/50GB at home, and at work we have the ADSL2+/50GB Premium. Both home and the office go through a modem/router.
    Anyway, I really like this little widget – at home anyway!
    Anyone any ideas what i might try to get it to work?

Leave a Reply