2010-04-07, 10:24
There is a lot of threads but few good. I have read most of them and compiled a working solution based on a script example from the actual launcher release thread.
This is step by step how to add it to xbmc-live 9.11repack.
EDIT: This works fine in Dharma. Use the program executor, not the launcher. It is pre-installed, at least in xbmcLive.
Install Launcher (skip for Dharma)
-----------------
Log on with the user that runs xbmc and position your self in that user's home directory.
setup firefox launch script
-------------------------------
add:
Save and exit nano
(--no-install-recommends is VERY important in karmic..omit and you will break things)
Add firefox to launcher (In Dharma use the executer)
-----------------------------
Go to program / program plugin / launcher / add new launcher => select the script
You can add the launcher to favourites or create another launcher with the context menu.
Change DPI (font size etc)
------------------------------------
Add an option DPI in the monitor section:
I wanted to set DPI on the fly with xrandr but couldn't get it to work. If anyone knows howto do it, please let me know.
Config fluxbox
----------------------------------------------------------
a) Get ride of fluxbox error message
Start fluxbox by running the launcher (or from the console by typing "startx", without "")
If needed, minimize firefox and start a terminal by right-clicking on the desktop.
Enter
b) Get ride of toolbar
Righ-click on toolbar and check "auto-hide"
c) Maximize firefox and terminate it.
=> back to xbmc
hdmi audio
---------------------------------------------------------
or perhaps:
3 = the hdmi device number
This is step by step how to add it to xbmc-live 9.11repack.
EDIT: This works fine in Dharma. Use the program executor, not the launcher. It is pre-installed, at least in xbmcLive.
Install Launcher (skip for Dharma)
-----------------
Log on with the user that runs xbmc and position your self in that user's home directory.
Code:
mkdir Downloads
cd Downloads
wget http://xbmc-launcher.googlecode.com/files/Launcher1.04.zip
unzip Launcher1.04.zip
mv Launcher /home/xbmc/.xbmc/plugins/programs
cd ..
setup firefox launch script
-------------------------------
Code:
mkdir scripts
cd scripts
sudo nano firefox.sh
Code:
#!/bin/bash
fluxbox &
firefox
killall -9 fluxbox
Save and exit nano
Quote:To save: CTRL-o
To exit: CTRL-x
Code:
sudo chmod +x firefox.sh
sudo apt-get update
sudo apt-get --no-install-recommends install firefox flashplugin-nonfree
Add firefox to launcher (In Dharma use the executer)
-----------------------------
Go to program / program plugin / launcher / add new launcher => select the script
You can add the launcher to favourites or create another launcher with the context menu.
Change DPI (font size etc)
------------------------------------
Code:
sudo nano /etc/X11/xorg.conf
Code:
Section "Monitor"
Identifier "Monitor0"
[b]Option "DPI" "200 x 200"[/b]
EndSection
I wanted to set DPI on the fly with xrandr but couldn't get it to work. If anyone knows howto do it, please let me know.
Config fluxbox
----------------------------------------------------------
a) Get ride of fluxbox error message
Start fluxbox by running the launcher (or from the console by typing "startx", without "")
If needed, minimize firefox and start a terminal by right-clicking on the desktop.
Enter
Code:
fbsetbg -b -solid black
Righ-click on toolbar and check "auto-hide"
c) Maximize firefox and terminate it.
=> back to xbmc
hdmi audio
---------------------------------------------------------
Code:
Create a file in home directory:
nano .asoundrc
Add:
pcm.!default {
type plug
slave {
pcm "hdmi"
}
}
or perhaps:
Code:
defaults.pcm.device 3