[RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi (/showthread.php?tid=157499) |
RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - teeedubb - 2015-03-03 You can shutdown steam with steam -shutdown I don't use emulators on Linux but in windows I forcibly kill the emulator process (because some emulators use alt f4, some ESC etc), so something like killall -9 emulator_name I have one entry for each emulator I use in a script that's mapped to a remote button. Only thing is that any config changes arent saved, so when you're configuring the emulator you need to exit it properly. RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - tocinillo - 2015-03-03 Yeah! Finally I wrote this script that works PERFECTLY!!!! First of all follow this instructions for Kodibuntu (I don't apply the PulseAudio because I use ALSA for all): http://forum.kodi.tv/showthread.php?tid=157499&pid=1919154#pid1919154 Then put the following in a terminal: sudo nano $HOME/.config/openbox/start.sh And paste this code: Quote:#!/bin/bash Save it (CTRL+X and then ENTER) and now in a terminal again put: sudo nano $HOME/.config/openbox/autostart.sh change the line /usr/bin/kodi & with /home/YOURUSERNAME/.config/openbox/start.sh & ; save it and restart. EDIT: I wrote it with 3 variables (Kodi, Firefox and Steam). If you don't use Firefox, please, use this script instead the previous: Quote:#!/bin/bash Make executable the script with sudo chmod +x $HOME/.config/openbox/start.sh HOW WORKS THE SCRIPT? Ok. The complete script (3 variables) works like: - If Kodi is running, nothing happens. - If Kodi isn't running BUT Steam yes, nothing happens (With Steam launcher and the "quit kodi" option enabled, only Steam is runnning). - If Kodi isn't running, Steam isn't running BUT Firefox yes, nothing happens (you only have running Firefox). - If Kodi isn't running, Steam isn't running and Firefox isn't running, Kodi starts again (very useful for ocasionally Kodi crashes). EDIT2: For launch Firefox or another browser I use this script with Executor (or Advanced Launcher): Quote:#!/bin/bash Regards. RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - Raytestrak - 2015-03-03 (2015-03-03, 00:07)teeedubb Wrote: You can shutdown steam with I didn't know I could map commands to irexec. Nice. The emulation is also being streamed, so I can't kill the emulator directly. Alt-F4 works in steam (meaning it kills steam), but not while the emulator is active (seemingly only F4 gets accepted. Alt-F4 works when I use my keyboard, but not when using irexec (again, it does work while steam is active). I'm going to try steam -shutdown, although that will keep anything running on my game pc upstairs running, so it's not perfect. RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - jlnprssnr - 2015-03-04 Is there a way to launch steam big picture mode directly into game library view? (Windows 8.1) That would be awesome RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - n3mur1t0r - 2015-03-13 (2013-12-29, 21:16)teeedubb Wrote:(2013-12-29, 04:39)staticn0de Wrote: Hi all, Hello teeedubb, are the instructions from this post you wrote back in 2013 still good? I'm running Kodi in an xsession (Ubuntu 14.04) using ALSA. Thanks a lot for this great addon! RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - teeedubb - 2015-03-13 Yeah it should, I's still running the same config - though you'll probably need to adapt it for your system (eg the username in /etc/init/tty2.conf) RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - whatsinaname - 2015-03-13 I am sure I am missing something easy, but here goes. using newest KODI and windows 8.1 using an xbox wireless controller, I launch steam and steam big picture comes up. but then after a few seconds it looses focus to a program running in my taskbar (the program is "lights out" for my windows home server). This is an issue because I then have to plug in a keyboard and alt tab to steam. I think this happens because when I launch kodi, it uses kodi as the shell. when I launch steam it takes a few seconds for all the extra programs to load up. Is there a setting I could use to delay the steam launch for 5-10 seconds or so after the windows shell launches? thanks for your help. RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - teeedubb - 2015-03-13 Make a pre steam script that quits kodi then sleeps for x seconds. RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - whatsinaname - 2015-03-13 Thank you, I will do that.... Ill report back later tonight. Thanks for all your work. RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - Rafert - 2015-03-14 (2015-03-13, 05:00)teeedubb Wrote: Yeah it should, I's still running the same config - though you'll probably need to adapt it for your system (eg the username in /etc/init/tty2.conf)Hi, I'm using the upstart script to start Kodi in standalone mode (from the Kodi wiki) on a minimal Ubuntu 14.04 install. Do I need to remove that before I can use your scripts? Or do I need to follow the SteamOS + Ubuntu instructions? The amount of possibilities are a bit overwhelming for a not-hardcore Linux user To clarify, I'm running an old Asrock Ion 330 box (so less bloat the better) and only planning to run Kodi and Steam on it. i use SSH for the occasional admin tasks. RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - teeedubb - 2015-03-15 You could change that upstart script to launch openbox instead of kodi, then start kodi via openbox's autostart file. RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - CharredChar - 2015-03-22 Running your 3.1.1 script with Kodi 14.2rc1. Your script does not close Kodi, it seems to minimize it even when told to quit. A second after Steam loads it seems to freeze up, the BPM video stopping, before it goes to Steam's main window except it has no audio and you can see Kodi minimized in the bottom left corner. I am running Kodi as the shell using Launcher4Kodi, I told it to disable focus as before it would pull focus away from Steam and give it to Kodi, even though Kodi SHOULD be closing and not minimizing. The issue does not seem to be Launcher4Kodi or Steam, but your script failing to close Kodi after launching the script. When I exit Steam it will go back to Kodi, like it should, except it never closed like I asked. RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - teeedubb - 2015-03-22 Read the 'issues' section in the first post of this thread. RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - CharredChar - 2015-03-22 http://www.pastebin.com/Rg7Yudt1 RE: [RELEASE] Steam Launcher - Start Steam Big Picture Mode from within Kodi - CharredChar - 2015-03-22 Since I had to go through the trouble of plugging in a mouse and keyboard and starting up explorer just to get your log I went ahead and tried one more thing, COMPLETELY removing Any trace your script had on my system and reinstalled it. Now it works fine. I should have known better than to think Kodi could handle things on its own when I "removed" your script. |