ГРУПА STEAM
Steam Universe Steam U
ГРУПА STEAM
Steam Universe Steam U
37,873
У ГРІ
299,498
У МЕРЕЖІ
Заснована
23 вересня 2013 р.
Показані результати 71–80 із 122
У форумі «Steam Universe Steam OS»
11
Running an app as its own session the SteamOS way ( i.e. XBMC )
OK, so for me XBMC does not like being run from Steam ( sometimes crashes out, or causes Steam to crash out and relaunch ). But is happy to run from the desktop. But thats a liitle annoying for me to launch the desktop and then launch XBMC... well, what I did install was create a user for xbmc, set the default session for that user to xbmc:

sudo -u xbmc echo "xbmc" > /home/xbmc/.xsession

Now to get SteamOS to switch to that user in the most sexy fashion possible, you need to create a "game" for it. start by creating a script as /usr/bin/switchtoxbmc.sh with the following contents:

#!/bin/sh dbus-send --system --print-reply --dest=org.freedesktop.DisplayManager /org/freedesktop/DisplayManager/Seat0 org.freedesktop.DisplayManager.Seat.SwitchToUser string:'xbmc' string:''

Make sure you sudo chmod +x /usr/bin/switchtoxbmc.sh
Next make a .desktop file to launch the script. You should save the desktop file as /usr/share/applications/launchxbmc.desktop. It should contain the following contents:

[Desktop Entry] Version=1.0 Name=Launch XBMC GenericName=XB Media Center Comment=Manage and view your media Exec=/usr/bin/switchtoxbmc.sh Icon=xbmc Terminal=false Type=Application Categories=AudioVideo;Video;Player;TV;

Then log into the steam user, NOT with SteamOS but with gnome as the session, you need to disable the auto login to do this. Edit /etc/lightdm/lightdm.conf and comment out the autologin-user=steam entry ( put a # in from of it ). You also need to give the steam account a password:

echo "steam:steam" | sudo chpasswd

Then you can then you can log into steam from lightdm with the password steam ( don't forget to select gnome as the xsession ), and launch steam with /usr/bin/steam .... This may open it in big picture, but you'll have a menu in the bottom right corner to allow you to exit, or switch it to the normal view. Once you're in the normal view you can just go to add Games -> add a Non-Steam game. From this menu you should be able to find, Launch XBMC. Add that and from your library if you launch it, it will launch in its own session in the same fashion as the desktop user.

You can also add a link somewhere in XBMC itself that launches /usr/bin/returntosteam.sh to get back to steam, without exiting XBMC if you wish. This will not effect the desktop account either, and this will run as normal. To clean up, just switch back to the desktop account and once again, edit /etc/lightdm/lightdm.conf and un-comment the line: autologin-user=steam

After a restart you should be back to normal.

This will work for any app that can be run as a session. In theory you should be able to run this for as many accounts as you want, but remember that each account will be running at the same time once they get called so can quickly eat into your RAM.

I'll try and post a propper write up tomorrow here: https://wiki.tenmilesout.net/wiki/Steam_OS_Side_Launch_XBMC

But for now, I must go to bed.
7
SteamOS with a Windows VM container for Windows games
178
Installing applications from the Debian repo in SteamOS
Just to let you know, that is a completely misconfigured apt-pinning config as you can see by the command: apt-cache policy

Package files: 100 /var/lib/dpkg/status release a=now 500 http://repo.steampowered.com/steamos/ alchemist_beta/non-free amd64 Packages release o=Valve Software LLC,a=testing,n=alchemist_beta,l=SteamOS,c=non-free origin repo.steampowered.com 500 http://repo.steampowered.com/steamos/ alchemist_beta/contrib amd64 Packages release o=Valve Software LLC,a=testing,n=alchemist_beta,l=SteamOS,c=contrib origin repo.steampowered.com 500 http://repo.steampowered.com/steamos/ alchemist_beta/main amd64 Packages release o=Valve Software LLC,a=testing,n=alchemist_beta,l=SteamOS,c=main origin repo.steampowered.com 500 ftp:/ftp.ie.debian.org/debian/ wheezy/non-free Translation-en 500 ftp:/ftp.ie.debian.org/debian/ wheezy/main Translation-en 500 ftp:/ftp.ie.debian.org/debian/ wheezy/contrib Translation-en 500 ftp:/ftp.ie.debian.org/debian/ wheezy/non-free amd64 Packages release v=7.3,o=Debian,a=stable,n=wheezy,l=Debian,c=non-free origin ftp.ie.debian.org 500 ftp:/ftp.ie.debian.org/debian/ wheezy/contrib amd64 Packages release v=7.3,o=Debian,a=stable,n=wheezy,l=Debian,c=contrib origin ftp.ie.debian.org 500 ftp:/ftp.ie.debian.org/debian/ wheezy/main amd64 Packages release v=7.3,o=Debian,a=stable,n=wheezy,l=Debian,c=main origin ftp.ie.debian.org 500 http://repo.steampowered.com/steamos/ alchemist/non-free amd64 Packages release o=Valve Software LLC,a=testing,n=alchemist,l=SteamOS,c=non-free origin repo.steampowered.com 500 http://repo.steampowered.com/steamos/ alchemist/contrib amd64 Packages release o=Valve Software LLC,a=testing,n=alchemist,l=SteamOS,c=contrib origin repo.steampowered.com 500 http://repo.steampowered.com/steamos/ alchemist/main amd64 Packages release o=Valve Software LLC,a=testing,n=alchemist,l=SteamOS,c=main origin repo.steampowered.com

As you can see, there is no a=alchemist or a=wheezy. You misunderstood the guide that you based your config from
.
if you want to do it correctly in that fashion, it would be best to use the "l" param:

Package: * Pin: release l=SteamOS Pin-Priority: 900 Package: * Pin: release l=Debian Pin-Priority:-10



6
Steam account names
7
Will I be able to netboot SteamOS using PXE?
4
Weird idea, SteamOS multiseat
7
Post your issues try to fix them!
Показані результати 71–80 із 122