[AppleTV] Is it possible to install Firefox on Apple TV?
#16
Thank you very much for the VNC script.
But is it normal that I can only view the apple TV screen? I am using TightVNC, should I switch to another client in order to be able to use mouse (and keyboard perhaps)?

dafranca Wrote:this script will install firefox + plugins, but you need nitotv installed... after atv reboots you will find firefox on: nitotv > Applications > Firefox

Code:
#!/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

Ok, 2nd try Wink

I copied and pasted the script into the putty console, but that did not work.
So could you please explain to me (as a newbie) file name and location of the script and anything else I should consider?
Anyone else feel free to clear things up for me Wink
Vero 4k+ | OSMC Kodi 19.1
Sony KD-65A1
Reply
#17
fostewi Wrote:I wonder how much of the limited ATV resources it is using to synch back and forth all the UI info and it also has a little lag making control a little challenging
to find out how much memory and CPU is taking:
Code:
#!/bin/bash
while [ 1 ]
do
uptime
ps aux |grep OSXvnc |grep -v grep| awk '{print "OSXvnc %CPU usage is:", $3}'
ps aux |grep OSXvnc |grep -v grep| awk '{print "OSXvnc %Mem usage is:", $4}'
sleep 2
done
exit 0


fostewi Wrote:Can I just kill the OSXvnc-keepalive and OSXvnc-server processes if I want to stop it
That is it... but next time it will reboot it will start again... to permanent remove it type:
sudo rm -rdf /Library/StartupItems/OSXvnc/
Reply
#18
Thanks dafranca. I tried using top to get an idea. Do you use the Lite version and if so did you figure out how to navigate the browser scroll bar?

I also heard back from the developer of rowmote and the ATV problem is a known issue that he hopes to fix in a week or so...will play with this some more until then and then decide what works best for me. Thanks again for your help.
Reply
#19
Bobby Blixberg Wrote:Thank you very much for the VNC script.
But is it normal that I can only view the apple TV screen? I am using TightVNC, should I switch to another client in order to be able to use mouse (and keyboard perhaps)?
AppleTV frontrow Interface doesn't refresh the screen... but once you load an application it will refresh


Bobby Blixberg Wrote:Ok, 2nd try Wink

I copied and pasted the script into the putty console, but that did not work.
So could you please explain to me (as a newbie) file name and location of the script and anything else I should consider?
Anyone else feel free to clear things up for me Wink
http://wiki.awkwardtv.org/wiki/Firefox
Reply
#20
fostewi Wrote:Thanks dafranca. I tried using top to get an idea. Do you use the Lite version and if so did you figure out how to navigate the browser scroll bar?
zoon in and click on the scroll bar! you have to play with it, because there is a learn curve.
Reply
#21
dafranca Wrote:AppleTV frontrow Interface doesn't refresh the screen... but once you load an application it will refresh

http://wiki.awkwardtv.org/wiki/Firefox

Thank you!
Vero 4k+ | OSMC Kodi 19.1
Sony KD-65A1
Reply
#22
It work also with wireless mouse and keyboard? (infrared or wireless or bluetooth)
Reply
#23
Interesting things here: http://www.pbase.com/jhapeman/appletv

the appletv run bluetooth and have bluetooth hardware in it!
Reply
#24
That's interesting. Now how to enable BT on ATV?
Reply
#25
Thanks Drafranca.....really nice to you for help.

Watch Survivor Episodes , Watch THE MENTALIST Episodes
Reply
#26
ok so... looks great!

Anyone in the UK tried this? I'm wondering if BBC iplayer will function this way?

thanks
Paul
AFTV Stick 4K
AFTV (Gen 1)
Reply
#27
frumpy_uk Wrote:ok so... looks great!

Anyone in the UK tried this? I'm wondering if BBC iplayer will function this way?

thanks
Paul

Great question Paul, you're a good person.

I just tried it, installs fine (although I had to replace 3.5.6 with 3.6.2, the older version wasn't found). However BBC iplayer isn't great on this platform. It's pretty jerky. Any other feedback from UK people would be good to throw some light on whether it is a local problem or not. I assume its not, but I'm not as clever as you, Paul.

cheers
Paul
AFTV Stick 4K
AFTV (Gen 1)
Reply
#28
The install did not work for me.. when i try i get the following message...


Downloading Firefox 3.0.4: 17.2MB
................................Installing Firefox
hdiutil: mount failed - No such file or directory
cp: directory /Users/frontrow/Applications/Firefox.app does not exist
hdiutil: unmount: cannot find disk node that corresponds to "/mnt/Scratch/Volumes/Firefox".
hdiutil: unmount failed - No such file or directory
rm: Firefox 3.6.2.dmg: No such file or directory
Downloading Flash Plugin: 5.4MB
--23:36:20-- http://fpdownload.macromedia.com/get/fla...ub.dmg.zip
=> `install_flash_player_osx_ub.dmg.zip'
Resolving fpdownload.macromedia.com... 184.87.66.70
Connecting to fpdownload.macromedia.com|184.87.66.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5,787,400 (5.5M) [application/zip]

100%[====================================>] 5,787,400 2.15M/s

23:36:23 (2.14 MB/s) - `install_flash_player_osx_ub.dmg.zip' saved [5787400/5787400]

Instaling Flash Plugin
Archive: install_flash_player_osx_ub.dmg.zip
inflating: Install Flash Player 10 UB.dmg
Checksumming Driver Descriptor Map (DDM : 0)...
Driver Descriptor Map (DDM : 0): verified CRC32 $08F82E81
Checksumming Apple (Apple_partition_map : 1)...
Apple (Apple_partition_map : 1): verified CRC32 $3E3C498F
Checksumming disk image (Apple_HFS : 2)...
...............................................................................
disk image (Apple_HFS : 2): verified CRC32 $C5B397A3
verified CRC32 $7D5253AB
/dev/disk1 Apple_partition_scheme
/dev/disk1s1 Apple_partition_map
/dev/disk1s2 Apple_HFS /Volumes/Install Flash Player 10 UB
"disk1s2" unmounted successfully.
mv: rename Flash Player.plugin/ to /Library/Internet Plug-Ins/Flash Player.plugin/Flash Player.plugin/: Directory not empty
Downloading COREAUDIOKIT: 64KB
--23:36:29-- http://www.brgranite.com/temp/CoreAuioKit.framework.7z
=> `CoreAuioKit.framework.7z'
Resolving http://www.brgranite.com... failed: No address associated with nodename.
Instaling COREAUDIOKIT

7-Zip (A) 4.57 Copyright © 1999-2007 Igor Pavlov 2007-12-06
p7zip Version 4.57 (locale=utf8,Utf16=on,HugeFiles=on,1 CPU)


Error:
there is no such archive
rm: CoreAuioKit.framework.7z: No such file or directory
cp: CoreAuioKit.framework: No such file or directory
ATV is rebooting!
Reply

Logout Mark Read Team Forum Stats Members Help
[AppleTV] Is it possible to install Firefox on Apple TV?0