My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Installing  
Updated Jul 19, 2008 by bjsch...@gmail.com

Installing

  1. Download and extract the source code
  2. The terminal command "make" compiles the project (make sure you have C++ headers installed)
  3. The terminal command "make install" installs the project. Make sure you have root access when doing this (For example, Ubuntu users would type "sudo make install" for root access)
  4. Make some .comic files and put them in /home/USER/.comics

Running

  • Type "comics" into a terminal to run the program
  • Type "comics -clean" to remove downloaded comics
  • Type "comics -cleanall" to remove downloaded comics and any last run data
  • Type "comics -user=USER" to place images in USER's folders (This is used when scheduling to run at startup)

Making a .comic File

A .comic file is just a text file containing all the instructions the comic program needs to get your comic. Put .comic files in /home/[USER]/.comics Here is a list of functions it takes:

  • copy_to(DIRECTORY): Copies the comic to DIRECTORY
  • get_comic(): Extracts the comic location from the current line in memory
  • get_location(LOCATION): Downloads LOCATION
  • get_title(): Extracts the title text from the current line in memory
  • move_to(DIRECTORY): Moves the comic to DIRECTORY

  • name(NAME): Sets the name of the comic to NAME
  • open(FILE): Opens the downloaded file
  • print(): Displays the current line in memory on the terminal
  • set_root(LOCATION): Set the root location of a comic on the web server to LOCATION
  • search(LINE): Searches the open file for LINE
  • Lines starting with anything else are seen as comments

Viewer (Optional)

  1. Make sure you have python and pygame installed
  2. Download and extract the viewer folder to /home/[USER]/.comics (In the end, there should be a folder called "viewer" in you .comics directory
  3. Type comics -viewer to run the viewer. The arrows cycle through downloaded comics, the button in the bottom left corner gets comics and the button in the bottom right removes comics. Any downloaded title text is displayed between these buttons.
Powered by Google Project Hosting