2010-01-10, 20:04
Hi, Is it possible to run firefox on xbmc on an AppleTV? Thank you
Pinus2 Wrote:Oh, I'm agree, but it was to see Justin.tv
#!/bin/bash
sudo mount -uw /
filedir=/Users/frontrow/Firefoxtemp/
appdir=/Users/frontrow/Applications/
plugdir=/Library/Internet\ Plug-Ins/
if [ ! -d /System/Library/CoreServices/Finder.app/Contents/PlugIns/nitoTV.frappliance ]; then
echo "You do not have nitoTV installed..."
exit 0
fi
if [ ! -d "$appdir" ]; then
mkdir $appdir
sudo chown -R frontrow:frontrow $appdir
fi
if [ ! -d "$plugdir" ]; then
sudo mkdir /Library/Internet\ Plug-Ins/
fi
if [ ! -d "$filedir" ]; then
mkdir $filedir
fi
sudo chown -R frontrow:frontrow $filedir
cd $filedir
if [ ! -f /usr/bin/7za ]; then
echo -n "Downloading 7za: 1.1MB"
wget -q http://atvusb-creator.googlecode.com/svn-history/r121/trunk/atvusb-creator/atvusb-creator-1.0.b8/tools/osx/7za &
while ps |grep $! &>/dev/null; do
echo -n "."
sleep 2
done
chmod 755 7za
sudo mv -f 7za /usr/bin/
sudo chown root:wheel /usr/bin/7za
fi
#### FIREFOX ####
echo "Downloading Firefox 3.0.4: 17.2MB"
wget -q http://mozilla-mirror.3347.voxcdn.com/pub/mozilla.org/firefox/releases/3.5.6/mac/en-US/Firefox%203.5.6.dmg &
while ps |grep $! &>/dev/null; do
echo -n "."
sleep 2
done
echo -e "Installing Firefox"
echo "Y" | sudo hdiutil mount Firefox\ 3.5.6.dmg
sudo cp -r /Volumes/Firefox/Firefox.app/ "$appdir"Firefox.app/
sudo hdiutil unmount /Volumes/Firefox/
rm Firefox\ 3.5.6.dmg
### FLASH PLUGIN ####
echo "Downloading Flash Plugin: 5.4MB"
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_osx_ub.dmg.zip
echo "Instaling Flash Plugin"
unzip install_flash_player_osx_ub.dmg.zip
sudo hdiutil mount Install\ Flash\ Player\ 10\ UB.dmg
pax -r -z -f /Volumes/Install\ Flash\ Player\ 10\ UB/Adobe\ Flash\ Player.pkg/Contents/Archive.pax.gz
sudo hdiutil unmount /Volumes/Install\ Flash\ Player\ 10\ UB/
rm -Rd Flash\ Player.plugin/Contents/Resources/{c,d,f,i,j,k,n,p,r,s,t,z}*.lproj
sudo mv Flash\ Player.plugin/ "$plugdir"Flash\ Player.plugin
sudo rm -rdf *
### COREAUDIOKIT ####
echo "Downloading COREAUDIOKIT: 64KB"
wget http://www.brgranite.com/temp/CoreAuioKit.framework.7z
echo "Instaling COREAUDIOKIT"
sudo 7za x- CoreAuioKit.framework.7z
rm CoreAuioKit.framework.7z
sudo cp -r CoreAuioKit.framework /System/Library/Frameworks/
sudo chown -R root:wheel /System/Library/Frameworks/CoreAudioKit.framework/
cd ..
sudo rm -rdf $filedir
sudo chmod -R 755 /Library/Internet\ Plug-Ins/
sudo chown -R root:wheel /Library/Internet\ Plug-Ins/
echo "ATV is rebooting!"
sudo reboot
garyi Wrote:On ATV the weapon of choice is couch surfer which is already there somewhere to install in the software menu.
Pinus2 Wrote:oh, really thank you! I'm read only now awesome!
fostewi Wrote:Are you able to control Firefox with the apple remote? Or the iPod Remote?
babbe Wrote:Your best choice here is mobileairmouse
#!/bin/bash
echo "Downloading VNC Server: 0.2MB Password is frontrow"
wget -q http://www.brgranite.com/temp/OSXvnc.7z
echo "Instaling VNC Server"
sudo 7za x OSXvnc.7z
rm OSXvnc.7z
chmod -R 755 OSXvnc/
sudo chown -R root:wheel OSXvnc/
sudo mv OSXvnc/ /Library/StartupItems/OSXvnc/
exit 0
dafranca Wrote:best option to control firefox on ATV is with iphone's VNC Light app
to install vnc on atv:
Code:#!/bin/bash
echo "Downloading VNC Server: 0.2MB Password is frontrow"
wget -q http://www.brgranite.com/temp/OSXvnc.7z
echo "Instaling VNC Server"
sudo 7za x OSXvnc.7z
rm OSXvnc.7z
chmod -R 755 OSXvnc/
sudo chown -R root:wheel OSXvnc/
sudo mv OSXvnc/ /Library/StartupItems/OSXvnc/
exit 0
reboot your appletv and you will have vnc working.