• 1
  • 8
  • 9
  • 10
  • 11(current)
  • 12
[LINUX] HOW-TO launch applications from XBMC Live (e.g. Firefox)
Quote:Will "apt-get install fluxbox" corrupt my autostarting of XBMC
Not as long as you use xbmc-live autostart. the xbmcbuntu guide did include fluxbox before it got completely screwed up. When it started it resulted it in the same, but manual, setup as xbmclive. It is a real pity that went downhill.
Reply
vikjon0 Wrote:Not as long as you use xbmc-live autostart.

Don't know if I do Smile, I just installed "apt-get install xbmc-live". But I hope that's what you mean. Otherwise, I'll screw up my XBMC setup in a few mins. Smile

Edit: Thanks, it works! And finally I have full screen Firefox!
Reply
Hi,

I am still puzzling to get the sound to work. I have my xbmc hooked up on my receiver with spdif and via hdmi to my tv. HDMI is my default. I only use spdif when sound is DTS.

I cant figure out what to change in my .asoundrc file. The file is (I left some text out) :

Code:
pcm.!default {
        type plug
        slave {
                pcm "both"
        }
}

pcm.both {
        type route
        slave {
                pcm multi
                channels 6
        }
        ....
}

pcm.multi {
...
}

pcm.hdmi_hw {
        type hw
        card 0
        device 3
        channels 2
}

pcm.hdmi_formatted {
        type plug
        slave {
                pcm hdmi_hw
                rate 48000
                channels 2
        }
}

pcm.hdmi_complete {
        type softvol
        slave.pcm hdmi_formatted
        control.name hdmi_volume
        control.card 0
}

pcm.digital_hw {
        type hw
        card 0
        device 1
        channels 2
}

pcm.analog_hw {
        type hw
        card 0
        device 0
        channels 2
}

Cant figure out where to use the pcm.default.3 line as described in the first page of this thread.

Thank you.
Reply
Not sure what's wrong with my setup, but I am running XBMC Live Dharma and I have followed step by step guide from Post#1.
My XBMC Live do not have default xbmc user but have custom user (XbmcUser).
Now I am stuck at selecting firefox.sh script in Executer Standalone file selection.
For some reason I do not see any home folders. All I can see is CDROM and USB Jumpdrive.

I have tried Launcher as well as Executer AddOns, but both pretty much gives same selection. I don't know how to browse to script/firefix.sh file.

Any suggestions?

Found the solution:
If anyone is looking for answer, try this. Go To System > Right Click > File Manager > Add Source > Home Folder.
Once done, go back to Executor and now you will see home folder where you can browse script folder.

Thanks
Reply
vikjon0 Wrote: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.

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
add:
Code:
#!/bin/bash
fluxbox &
firefox
killall -9 fluxbox

Save and exit nano


Code:
sudo chmod +x firefox.sh

sudo apt-get update
sudo apt-get --no-install-recommends install firefox flashplugin-nonfree
(--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)
------------------------------------
Code:
sudo nano /etc/X11/xorg.conf
Add an option DPI in the monitor section:

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
b) Get ride of toolbar
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
3 = the hdmi device number

Works in Dharma but has a strange proportion the window Sad
Reply
What is the answer to getting the proper resolution for the program? I am trying to get firefox to fullscreen. Have tried editing xorg.conf using advice in this thread but it is nowhere near fullscreen. Using a 1920x1080 LCD TV. Any advice?
Reply
beschmid Wrote:What is the answer to getting the proper resolution for the program? I am trying to get firefox to fullscreen. Have tried editing xorg.conf using advice in this thread but it is nowhere near fullscreen. Using a 1920x1080 LCD TV. Any advice?

Getting the same issue on ubuntu server 11.04

Chuffed to finally see a browser open though - thanks for the tips guys

I havent tried using a keyboard and mouse on it yet - all controlled through iphone at the mo

But mine too is taking up about half of the screen - and text is way too hard to read in that window - any help or tips would be appeciated

Thanks
Reply
To all those having HDMI sound issues take a look at this:
http://forum.xbmc.org/archive/index.php/t-85577.html

To adjust the overscan, try this method:
http://forum.xbmc.org/showpost.php?p=670...tcount=137
Reply
Tenagra Wrote:To all those having HDMI sound issues take a look at this:
http://forum.xbmc.org/archive/index.php/t-85577.html

To adjust the overscan, try this method:
http://forum.xbmc.org/showpost.php?p=670...tcount=137


This fixed my no sound in firefox issues - now have sound in firefox AND XBMC -


This is running on xbmc dharma on ubuntu 11.10 server

Thanks!!!
Reply
HI all,

I have followed every step and sugestion in this forum and still cannot get sound in FF.

I am using an Asus Silent EN GT210 as my video card, the HDMI worked right out of the box full 5.1, with the exception that XBMC wont play menu sounds, but videos work great.

When I define a .asoundrc with
Code:
pcm.!default {
type plug
slave {
pcm "hdmi"
}
}

or
Code:
defaults.pcm.device 3

all my sound is broken in xbmc.

If I do the .asoundrc from
Code:
http://forum.xbmc.org/archive/index.php/t-85577.html
my xbmc is not broken, but FF still doesn't work.

I should point out that XBMC detects my video card directly, I choose HDA NVIDIA HDMI as my output device and passthrough.

Im at a complete loss as to why FF wont play sounds. Also was a bit surprised that the menu sounds vanished, but thats not really that important.

Any help would be greatly appreciated
Reply
Hello,
I follow this tutorial and everything works great.
Thank you for your job.

But i've got a question.
Can i switch between firefox and xbmc with my keyboard ?

and sorry for my poor english...
Reply
Quote:Can i switch between firefox and xbmc with my keyboard ?
Not sure, ALT+TAB? I assume you can close firefox with the keyboard? When ff exit you will come back to xbmc.
Reply
alt+tab doesn't work.
i can live without that, now i'm looking how to extract .rar with xbmc !
I can do this with putty but it's not user friendly
Reply
with the same script i was able to run jdownloader. that's work fine but i have the same issue.
when i go back to xbmc (sometime by mistake) i can't return to jdownloader or firefox.
if i run the script again, a new session of the programm show up but i lost the mouse cursor.
i'm a noob in linux but i'm close to have the perfert htpc (at least for myself)
Reply
Hi, I did all the stuff here, but I can't set sound in firefox to work. My posting at

http://forum.xbmc.org/showthread.php?tid...efox+sound

describes my woes. Can anyone help?
Reply
  • 1
  • 8
  • 9
  • 10
  • 11(current)
  • 12

Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO launch applications from XBMC Live (e.g. Firefox)3