Difference between revisions of "Firefox"

From AwkwardTV
Jump to: navigation, search
(Running)
Line 64: Line 64:
 
This procedure can be used to run any Apple application as long as dependencies are met. Presumably it works with Safari, but I haven't checked.
 
This procedure can be used to run any Apple application as long as dependencies are met. Presumably it works with Safari, but I haven't checked.
 
Happy browsing! This guide was written from my AppleTV!
 
Happy browsing! This guide was written from my AppleTV!
 +
 +
[[Category:How-To]]

Revision as of 05:12, 11 October 2007

Introduction

With a combination of hacks from this site, you can get a fully working web browser (Mozilla Firefox) working on the AppleTV. Firefox will be used using a USB keyboard and mouse plugged (via a USB hub) into

Prerequisits

  • An SSH enabled AppleTV
  • An Intel Mac
  • A USB keyboard and mouse (with USB hub if not built into keyboard)

Installation

Enabling USB for keyboard and mouse support

If you do not have bspatch installed on your AppleTV (you have updated to v1.1) then copy bspatch and bzip2 from your Intel Mac onto your AppleTV and put them in the /usr/bin directory.

Patch the Kernel on your AppleTV to allow USB devices. You do not need to follow the instructions (loading kexts) for enabling USB Mass storage support unless you need an external USB storage device (hard drive, USB pen drive etc). The kernel patch is all that is required.

Installing System Prefernces

Install System Preferences onto your AppleTV. This is needed to enable the mouse pointer.

Enable the Mouse Poiner

Enable the Mouse Pointer on your AppleTV. The mouse pointer will only be visible if finder is not running (ie, only when you are running applications) so you don't need to worry about it being visible in the main AppleTV interface.

Install Firefox

Download the latest version of Firefox and copy the Firefox .dmg to your AppleTV.

ssh to your AppleTV and run the following commands

sudo hdiutil mount Firefox\ 2.0.0.7.dmg
cp -r /Volumes/Firefox/Firefox.app /Users/frontrow/Applications/

Install and Configure AwkwardTV Applications Menu

This can be done from the AwkwardTV menu if you patched your AppleTV with a patchstick

Configure the Applications Menu by editing the file /Users/frontrow/Documents/Applist.plist. Here is a copy of mine:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Applications</key>
  <dict>
    <key>0</key>
    <dict>
      <key>args</key>
      <string></string>
      <key>remotewatcher</key>
      <false/>
      <key>fireandforget</key>
      <false/>
      <key>menu</key>
      <string>Firefox</string>
      <key>killfinder</key>
      <false/>
      <key>path</key>
      <string>/Users/frontrow/Applications/Firefox.app/Contents/MacOS/firefox-bin</string>
    </dict>
  </dict>
</dict>
</plist>

The important part is running the firefox-bin file rather than firefox (it didn't seem to work on mine)

Running

To run, Simply go to Applications from the main menu and select Firefox. After a few seconds Firefox will appear (if not, change the killfinder option to /true in the config file - see Applications Menu). After you quit Firefox, you will be returned to the main menu.

Footnote

This procedure can be used to run any Apple application as long as dependencies are met. Presumably it works with Safari, but I haven't checked. Happy browsing! This guide was written from my AppleTV!