Here are the instructions to install and setup a Firefox Internet browser to the XBMC Launcher program.
1. Install the Launcher program
First of, you need to install the Launcher add on in the program menu.
2. Create a launch script
Press CTRL + ALT + F1 and login to the terminal. Create a launch script for the Firefox as follows:
mkdir scripts
cd scripts
sudo nano firefox.sh
Write the following code into the firefox.sh:
#!/bin/bash
fluxbox &
firefox
killall -9 fluxbox
Save (CTRL + O) and exit nano (CTRL + X)
Change file read/write settings by typing the following:
sudo chmod +x firefox.sh
3. Download and install the Firefox
Type the following in the terminal:
sudo apt-get update
sudo apt-get –no-install-recommends install firefox flashplugin-nonfree
4. Change the default font size to make it more suitable for the 10 foot interface
Type the following in the terminal:
sudo nano /etc/X11/xorg.conf
Add an option DPI in the monitor section:
Section “Monitor”
Identifier “Monitor0”
Option “DPI” “150 x 150”
EndSection
5. Remove the unnecessary error message
There will be an unnecessary error message when you will launch the Firefox. To remove this type the following in the terminal:
sudo nano ~/.fluxbox/init
The modify the following lines:
session.screen0.rootCommand: fbsetbg -b -solid black
session.screen0.toolbar.autoHide: true
6. Add the Firefox launcher in to the programs
Read here the complete guide on XBMC add-ons and how to install Launcher.
Reboot the system by typing:
sudo reboot
Go to Program – Launcher – Add new launcher and select the firefox.sh script.
I would suggest to add the launcher to your favorites so it is easier to find it later.
Congratulations! You have now successfully installed the Firefox browser.
What’s Next?
Now that you have Firefox working directly from your XBMC Live Linux, follow this tip to install a NoSquint add-on to make text size larger on Firefox.