Posts: 2
Joined: May 2014
Reputation:
0
2014-05-25, 03:41
(This post was last modified: 2014-05-25, 03:41 by Stryakr.)
$ ls /usr/share/xsessions
openbox.desktop XBMCbuntu.desktop XBMC.desktop
[SeatDefaults]
xserver-command=/usr/bin/X -bs -nolisten tcp
autologin-user=stryakr
autologin-user-timeout=0
user-session=Openbox
greeter-session=lightdm-gtk-greeter
allow-guest=false
default-user=stryakr
Posts: 3,545
Joined: Mar 2010
Reputation:
120
Everything looks identical to mine, apart from username. Can you select openbox from the login screen (wrench in top right corner)? Or how about running openbox (you can do this wile xbmc is running) with
DISPLAY=:0 openbox
Posts: 320
Joined: Sep 2009
Reputation:
0
just wanted to update. I didn't use either the asound or pulse audio method in the writeup, but I still have sound out of Steam BPM just fine. Other people may have issues, but when I installed Steam, I didn't make an config changes and it picked up the audio just fine.
On a different note, my game pad works just fine within Steam, is there anything special I have to do to get it to work within xbmc?
Posts: 320
Joined: Sep 2009
Reputation:
0
hm.. you would be correct. I had sound from BPM, but not game when I went to stream it.
I'll go back and do the asound (using xbmcbuntu).
And I was, yes, I ended up starting from scratch again, and it worked fine the second time, so not sure what I screwed up the first time.
On a side note, would it be possible to have your addon script process a return .sh file when returning to xbmc?
I'd like to shut down my vpn connecting when starting steam, which is easy enough to do by editing steam-launch.sh, but I don't see anywhere where your script executes a return .sh file where I could bring it back up again.
Posts: 3,545
Joined: Mar 2010
Reputation:
120
I would personally use the pulseaudio method - you get the highest possible quality sound from xbmc and audio/surround sound/microphone 'just works' in steam.
Xbmc is restarted at line 87 (as per github), after the 'touch' command, you could put your script in there. Only thing is that xbmc wont have a VPN is you 'return to desktop' from steam.
Posts: 3,545
Joined: Mar 2010
Reputation:
120
1, cheers I missed that.
2, looks like you're running that command as the root user, it needs to be run by the normal user, the one you setup during xbmcbuntu install.
3, I think that's a Linux thing - I too need to restart xbmc if I turn on the controller while xbmc is running, while it works in windows. I didn't know dis/enabling controller support got it working - it may be possible to make a udev rule to toggle it when a controller is connected
Posts: 17
Joined: Sep 2008
Reputation:
0
2014-05-27, 17:37
Hi,
I'm hoping someone can help me I searched this tread but couldn't find an answer that i could understand. I'm running XBMC on Windows. I installed this add on to get Steam launched, but whenever i try to launch steam using this i just says working for about 10 seconds then just stops and nothing happens. I check the config for the path to Steam, and that is accurate, but I'm not sure what the problem is. Anyone have any thoughts. Thanks
Posts: 3,545
Joined: Mar 2010
Reputation:
120
Some other people reported that problem but I can't replicate it on win 7/8. Can you post your xbmc logfile of it happening? Also, after posting your log file, enable 'use batch file to launch scripts' in the addons settings (info in first post) and see if that helps.
Posts: 3,545
Joined: Mar 2010
Reputation:
120
Lines 7 and 42 of steam-launch.ahk. you'll need to have autohotkey installed to recompile the ahk file into a exe.