5

Inspired by the Latest XKCD Comic Geeklet by Matt, I set out to create a version for Penny Arcade. Like the XKCD Geeklet, it requires two files which function the same way but are named differently:

The penny-arcade.glet geeklet (XKCD's alt.glet equivalent) downloads the image w/ the file name "latest-pennyarcade.jpg". You can change this name and location if you want by editing the last line of the command. This also displays the title of the comic.

The penny-arcade_display.glet geeklet (XKCD's xkcd.glet equivalent) displays the comic. You don't need to change anything w/ this unless you change the file location in the penny-arcade.glet

Like the XKCD version you will need to have both of the geeklet files running. If you want to hide the title, either delete the line echo $alt from the command, or just set the text opacity to 0%.

Also, I didn't want the image loading every second or anything like that, so the refresh time might be higher than you would like it to be. Just adjust this for both geeklets as you see fit. I would recommend setting the refresh time for the penny-arcade.glet higher to prevent you from downloading the same image as frequently, but would set the penny-arcade_display.glet to have a more frequent refresh timer to prevent you from having a time period when the title doesn't match up w/ the comic properly. Anyway, here is an image from my desktop. I've also adjusted the text display a bit, but that should be easy enough to do.

Screenshot

Thanks Matt for the XKCD comic geeklet! Hopefully someone finds this one useful as well.

Geeklet files to download

Comments

User Avatar
dragon3leg 552 days ago
Anyone have an issue getting this to load? It seems not to work with geek tool 3 for some reason, Ive got the XKCD geeklet running just fine..
User Avatar
TheAggie 545 days ago
I think the issue you were having is b/c I first exported this w/ a negative position. I fixed that issue and removed the need to set the file location. Try downloading the two new files and let me know if that works for you. Sorry about that.
User Avatar
TheAggie 545 days ago
Updated the two files on 8/14/10 to fix a potential display issue and removed the need to change the file location. You might still want to modify the location, but that is up to you. This should work w/out any changes as long as both geeklets are on the screen. :) Good luck!
User Avatar
dragon3leg 539 days ago
Works like a charm now btw giggem aggies!!1
User Avatar
TheAggie 536 days ago
Awesome, glad to hear it! Gig'Em is right! :) Hopefully our football team has some defense this year.
User Avatar
dragon3leg 365 days ago
Bummer having a problem again with the file updating :(
User Avatar
themusekid 254 days ago
I'm a newbie at coding and I have been trying to alter the script to be used with the webcomics at Left Handed Toons (). Any suggesstions on how to go about this? Thanks a lot!
User Avatar
Scoresby099 165 days ago
I have downloaded the two .glet files above and cannot get this to work. I get two Shell windows in Geektool. One is filled with coding which looks to be the penny arcade web page source and the other is just blank. Any suggestions as to what I am doing wrong?

Log in to comment or register here.