Difference between revisions of "Steam"

From ArchWiki
Jump to: navigation, search
m (Add Tips section)
m (Directory structure: style)
 
(373 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
 
[[Category:Gaming]]
 
[[Category:Gaming]]
[[Category:Wine]]
 
 
[[ja:Steam]]
 
[[ja:Steam]]
[[zh-CN:Steam]]
+
[[ru:Steam]]
{{Article summary start}}
+
[[zh-hans:Steam]]
{{Article summary text|[http://store.steampowered.com/about/ Steam] is a content delivery system made by Valve Software. It is best known as the platform needed to play Source Engine games (e.g. Half-Life 2, Counter-Strike). Today it offers many games from many other developers.}}
+
{{Related articles start}}
 +
{{Related|Steam/Wine}}
 +
{{Related|Steam/Troubleshooting}}
 +
{{Related|Steam/Game-specific troubleshooting}}
 +
{{Related|Gamepad}}
 +
{{Related articles end}}
 +
From [[Wikipedia:Steam (software)|Wikipedia]]:
 +
:Steam is a digital distribution, digital rights management, multiplayer and communications platform developed by Valve Corporation. It is used to distribute games and related media online, from small independent developers to larger software houses.
  
{{Article summary heading|Related}}
+
[http://store.steampowered.com/about/ Steam] is best known as the platform needed to play Source Engine games (e.g. Half-Life 2, Counter-Strike). Today it offers many games from many other developers.
{{Article summary wiki|Wine}}
 
{{Article summary wiki|Steam/Game-specific troubleshooting}}
 
{{Article summary end}}
 
  
See the [[Wikipedia:Steam (software)|Steam Wikipedia page]] and the page in the [http://appdb.winehq.org/objectManager.php?sClass=version&iId=19444 Wine Application Database] for more info.
+
== Installation ==
  
== Native Steam on Linux ==
+
{{Note|
 
+
* Arch Linux is '''not''' officially supported, the only officially supported distribution is Ubuntu. [https://support.steampowered.com/kb_article.php?ref=1504-QHXN-8366].
{{Note|Arch Linux is not [https://support.steampowered.com/kb_article.php?ref=1504-QHXN-8366 officially supported].}}
+
* If you have a 64-bit system, enable the [[multilib]] repository.
 
+
}}
{{Note|If you have a pure 64-bit installation, you will need to enable the [[multilib]] repository in pacman. This is because the Steam client is a 32-bit application. It may also make sense to install multilib-devel to provide some important multilib libraries. You also most likely need to install the 32-bit version of your graphics driver to run Steam.}}
 
 
 
Install {{Pkg|steam}} from the [[multilib]] repository.
 
 
 
Steam makes heavy usage of the Arial font. A decent Arial font to use is {{Pkg|ttf-liberation}} or the official Microsoft Arial fonts: {{aur|ttf-microsoft-arial}} or {{aur|ttf-ms-fonts}} packages from the [[AUR]]. Asian languages require {{Pkg|wqy-zenhei}} to display properly.
 
 
 
Steam is '''not supported''' on this distribution. As such some fixes are needed on the users part to get things functioning properly. Several games have dependencies which may be missing from your system.  If a game fails to launch (often without error messages) then make sure all of the libraries listed below that game are installed. Please install {{Pkg|libtxc_dxtn}} and {{Pkg|lib32-libtxc_dxtn}} with mesa drivers as almost all games require it.
 
 
 
===Troubleshooting===
 
{{Note|In addition to being documented here, any bug/fix/error should be, if not already, reported on Valve's bug tracker on their [https://github.com/ValveSoftware/steam-for-linux GitHub page].}}
 
 
 
{{Note|Connection problems may occur when using DD-WRT with peer-to-peer traffic filtering.}}
 
 
 
====GUI problems with KDE====
 
: Valve GitHub [https://github.com/ValveSoftware/steam-for-linux/issues/594 issue 594]
 
 
 
If you are using KDE and you have problems with the GUI (such as lag or random crashes), in KDE system settings, go to "Desktop Effects" in the "Workspace Appearance and Behaviour" section. Open the "Advanced" tab. Change "Compositing type" from XRender to OpenGL.
 
  
====The close button only minimizes the window====
+
[[Install]] the {{Pkg|steam}} package.
: Valve GitHub [https://github.com/ValveSoftware/steam-for-linux/issues/1025 issue 1025]
 
  
To close the Steam window (and remove it from the taskbar) when you press '''x''', but keep Steam running in the tray, set the environment variable {{ic|STEAM_FRAME_FORCE_CLOSE}} to {{ic|1}}. You can do this by launching Steam using the following command.
+
Steam is not supported on this distribution. As such some fixes are needed on the users part to get things functioning properly:
$ STEAM_FRAME_FORCE_CLOSE=1 steam
 
  
====Flash not working on 64-bit systems====
+
* If you have a 64-bit system, you will need to install the 32-bit version of your [[Xorg#Driver installation|graphics driver]] (the package in the ''OpenGL (Multilib)'' column)
: Steam Support [https://support.steampowered.com/kb_article.php?ref=1493-GHZB-7612 article]
+
* Steam may fail to start due to broken/missing libraries.  See [[Steam/Troubleshooting#Steam runtime issues]].
 +
* Steam makes heavy usage of the Arial font. A decent Arial font to use is {{Pkg|ttf-liberation}} or [[Steam/Troubleshooting#Text is corrupt or missing|the fonts provided by Steam]]. Asian languages require {{Pkg|wqy-zenhei}} to display properly.
 +
* Several games have dependencies which may be missing from your system. If a game fails to launch (often without error messages) then make sure all of the libraries listed in [[Steam/Game-specific troubleshooting]] are installed.
 +
* In case that you are using Arch Linux in your local language, make sure that you also have properly generated en_US locales (see [[Locale#Generating locales]]). Otherwise Steam client wont start with '''invalid pointer''' error.
  
First ensure {{pkg|lib32-flashplugin}} is installed. It should be working at this point, if not create a local Steam flash plugin folder
+
== Usage ==
mkdir ~/.steam/bin32/plugins/
 
and set a symbolic link to the global lib32 flash plugin file in your upper new folder
 
ln -s /usr/lib32/mozilla/plugins/libflashplayer.so ~/.steam/bin32/plugins/
 
  
====Text is corrupt or missing====
+
To start Steam simply run {{ic|steam}}.
The Steam Support [https://support.steampowered.com/kb_article.php?ref=1974-YFKL-4947 instructions] for Windows seem to work on Linux also: Simply download [https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip SteamFonts.zip] and install them (copying to ~/.fonts/ works at least).
 
  
====Error on some games: S3TC support is missing====
+
* {{ic|-bigpicture}} to start in Big Picture Mode
Install the following dependencies:
+
* {{ic|-silent}} don't open the main window
* {{pkg|libtxc_dxtn}}
 
* {{pkg|lib32-libtxc_dxtn}}
 
  
====Black screen on (Valve?) games (but audio works)====
+
== Tips and tricks ==
Check the Steam stdout/stderr for Error lines, some quick dependencies for reference:
 
* {{pkg|lib32-intel-dri}} (not confirmed as absolutely necessary)
 
  
run steam from console via primusrun steam
+
=== Directory structure ===
  
If using KDE, disable all desktop effects (Alt + Shift + F12) before starting Steam.
+
{{ic|~/.steam/}} by default contains the following symlinks:
  
====SetLocale('en_US.UTF-8') fails at game startup====
+
bin  -> ~/.steam/bin32
Edit /etc/locale.gen in your favourite editor and uncomment the line {{ic|en_US.UTF-8 UTF-8}}. Then run {{ic|locale-gen}} as root.
+
bin32 -> ~/.local/share/Steam/ubuntu12_32
 +
bin64 -> ~/.local/share/Steam/ubuntu12_64
 +
root  -> ~/.local/share/Steam
 +
sdk32 -> ~/.local/share/Steam/linux32
 +
sdk64 -> ~/.local/share/Steam/linux64
 +
steam -> ~/.local/share/Steam
  
===Tips===
+
As you can see Steam stores its files in {{ic|~/.local/share/Steam/}} by default. You can change where Steam stores its content by moving {{ic|~/.local/share/Steam/}} and starting Steam, which will prompt you if you have moved your Steam content. You can then browse to the new location and Steam will update the symlinks in {{ic|~/.steam/}}.
  
====Launching games with custom commands, such as Bumblebee/Primus====
+
Games are installed in {{ic|~/.steam/root/steamapps/common/}}.
  
Steam has fortunately added support for launching games using your own custom command. To do so, navigate to the Library page, right click on the selected game, click Properties, and Set Launch Options. Steam replaces the tag '''%command%''' with the command it actually wishes to run. For example, to launch Team Fortress 2 with primusrun and at resolution 1920x1080, you would enter:
+
=== Launch options ===
  
primusrun %command% -w 1920 -h 1080
+
To set custom launch options for a game, right-click on it in your library, select Properties and click on the Set Launch Options button.
  
If you are running the [[Linux-ck]] kernel, you make have some success in reducing overall latencies and improving performance by launching the game in SCHED_ISO (low latency, avoid choking CPU) via {{pkg|schedtool}}
+
When your launch options contain {{ic|%command%}} Steam will replace it with the game's launch command, otherwise Steam will prefix the launch command to your launch options.
 +
The resulting command is then run in a [[Bash]] shell, allowing you to set environment variables before {{ic|%command%}}.
  
schedtool -I -e %command% <other arguments>
+
=== Big Picture Mode without a window manager ===
  
===Skins for Steam===
+
To start Steam in Big Picture Mode from a [[Display manager]], create a {{ic|/usr/share/xsessions/steam-big-picture.desktop}} file with the following contents:
  
The Steam interface can be fully customized by copying its various interface files in its skins directory and modifying them.
+
{{hc|/usr/share/xsessions/steam-big-picture.desktop|<nowiki>
 +
[Desktop Entry]
 +
Name=Steam Big Picture Mode
 +
Comment=Start Steam in Big Picture Mode
 +
Exec=/usr/bin/steam -bigpicture
 +
TryExec=/usr/bin/steam
 +
Icon=
 +
Type=Application</nowiki>}}
  
====Steam Skin Manager====
+
=== Steam skins ===
  
The process of applying a skin to Steam can be greatly simplified using {{aur|steam-skin-manager}} from the AUR. The package also comes with a hacked version of the Steam launcher which allows the window manager to draw its borders on the Steam window.
+
The Steam interface can be customized using skins. Skins can overwrite interface-specific files in {{ic|~/.steam/steam}}.
  
As a result, skins for Steam will come in two flavors, one with and one without window buttons. The skin manager will prompt you whether you use the hacked version or not, and will automatically apply the theme corresponding to your GTK theme if it is found. You can of course still apply another skin if you want.
+
To install a skin:
  
The package ships with two themes for the default Ubuntu themes, Ambiance and Radiance. A Faience theme is under development and already has its own package on the AUR {{aur|steam-skin-faience-git}}.
+
# Place its directory in {{ic|~/.local/share/Steam/skins}}.
 +
# Open ''Steam > Settings > Interface'' and select it.
 +
# Restart Steam.
  
== Steam on Wine ==
+
An extensive list of skins can be found in [http://forums.steampowered.com/forums/showthread.php?t=1161035 this Steam forums post].
  
Install {{Pkg|wine}} from the official repositories and follow the instructions provided in the [[Wine|article]].
+
{{Note|Using an outdated skin may cause visual errors.}}
  
Install the required Microsoft fonts {{AUR|ttf-microsoft-tahoma}} and {{AUR|ttf-ms-fonts}} from the [[AUR]] or through {{AUR|winetricks-svn}}.
+
==== Creating skins ====
{{Note|If you have access to Windows discs, you may want to install {{AUR|ttf-win7-fonts}} instead.}}
 
  
If you have an old Wine prefix ({{ic|~/.wine}}), you should remove it and let Wine create a new one to avoid problems (you can transfer over anything you want to keep to the new Wine prefix).
+
Nearly all Steam styles are defined in {{ic|~/.steam/steam/resource/styles/steam.styles}} (the file is over 3,500 lines long). For a skin to be recognized it needs its own {{ic|resource/styles/steam.styles}}.
 +
When a Steam update changes the official {{ic|steam.styles}} your skin may become outdated, potentially resulting in visual errors.
  
===Installation===
+
See {{ic|~/.local/share/Steam/skins/skins_readme.txt}} for a primer on how to create skins.
  
Download and run the Steam installer from [http://store.steampowered.com/about/ steampowered.com]. It is no longer an {{ic|.exe}} file so you have to start it with {{ic|msiexec}}:
+
=== Changing the Steam notification position ===
$ msiexec /i SteamInstall.msi
 
  
===Starting Steam===
+
The default Steam notification position is bottom right.
  
On x86:
+
You can change the Steam notification position by altering {{ic|Notifications.PanelPosition}} in
$ wine ~/.wine/drive_c/Program\ Files/Steam/Steam.exe
 
  
On x86_64 (with steam installed to a clean wine prefix):
+
* {{ic|resource/styles/steam.styles}} for desktop notifications, and
$ wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe
+
* {{ic|resource/styles/gameoverlay.styles}} for in-game notifications
  
Alternatively, you may use this method:
+
Both files are overwritten by Steam on startup and {{ic|steam.styles}} is only read on startup.
  
$ wine "C:\\Program Files\\Steam\\steam.exe"
+
{{Note|Some games do not respect the setting in {{ic|gameoverlay.styles}} e.g. XCOM: Enemy Unknown.}}
  
You should consider making an alias to easily start steam (and put it in your shell's rc file), example:
+
==== Use a skin ====
alias steam='wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'
 
  
{{Note|If you are using an nvidia card through bumblebee, you should prefix those commands with {{ic|optirun}}.}}
+
You can create a skin to change the notification position to your liking. For example to change the position to top right:
  
===Tips===
+
$ cd ~/.local/share/Steam/skins
 +
$ mkdir -p Top-Right/resource
 +
$ cp -r ~/.steam/steam/resource/styles Top-Right/resource
 +
$ sed -i '/Notifications.PanelPosition/ s/"[A-Za-z]*"/"TopRight"/' Top-Right/resource/styles/*
  
====Performance====
+
==== Live patching ====
  
Consider disabling wine debugging output by adding this to your shell rc file:
+
{{ic|gameoverlay.styles}} can be overwritten while Steam is running, allowing you to have game-specific notification positions.
export WINEDEBUG=-all
 
or, just add it to your steam alias to only disable it for steam:
 
alias steam='WINEDEBUG=-all wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'
 
Additionally, Source games rely on a paged pool memory size specification for audio, and WINE by default does not have this set. To set it:
 
wine reg add "HKLM\\System\\CurrentControlSet\\Control\\Session Manager\\Memory Management\\" /v PagedPoolSize /t REG_DWORD /d 402653184 /f
 
  
==== Application Launch Options ====
+
{{hc|~/.steam/notifpos.sh|
Go to "Properties" -> "Set Launch Options", e.g.:
+
sed -i "/Notifications.PanelPosition/ s/\"[A-Za-z]*\"/\"$1\"/" ~/.steam/steam/resource/styles/gameoverlay.styles
{{bc|-console -dxlevel 90 -width 1280 -height 1024
 
 
}}
 
}}
* {{ic|console}}
 
Activate the console in the application to change detailed applications settings.
 
* {{ic|dxlevel}}
 
Set the application's DirectX level, e.g. 90 for DirectX Version 9.0. It is recommended to use the video card's DirectX version to prevent crashes. See the official Valve Software Wiki http://developer.valvesoftware.com/wiki/DirectX_Versions for details.
 
* {{ic|width}} and {{ic|height}}
 
Set the screen resolution. In some cases the graphic settings are not saved in the application and the applications always starts in the default resolution.
 
Please refer to http://developer.valvesoftware.com/wiki/Launch_options for a complete list of launch options.
 
  
==== Using a Pre-Existing Steam Install ====
+
And the [[#Launch options]] should be something like:
  
If you have a shared drive with Windows, or already have a Steam installation somewhere else, you can simply symlink the Steam directory to {{ic|~/.wine/drive_c/Program Files/Steam/}} . However, be sure to do '''all''' the previous steps in this wiki. Confirm Steam launches and logs into your account, ''then'' do this:
+
~/.steam/notifpos.sh TopLeft && %command%
  
cd ~/.wine/drive_c/Program\ Files/
+
=== In-Home Streaming ===
mv Steam/ Steam.backup/  (or you can just delete the directory)
 
ln -s /mnt/windows_partition/Program\ Files/Steam/
 
  
{{Note|If you have trouble starting Steam after symlinking the entire Steam folder, try linking only the {{ic|steamapps}} subdirectory in your existing wine steam folder instead.}}
+
Steam has built-in support for [http://store.steampowered.com/streaming/ In-Home Streaming].
  
{{Note|If you still have trouble starting games, use {{ic|sudo mount --bind /path/to/SteamApps ~/.local/share/Steam/SteamApps -ouser&#61;your-user-name }}, this is the only thing that worked for me with {{ic|TF2}}}}
+
See [https://steamcommunity.com/sharedfiles/filedetails/?id=680514371 this Steam Community guide] on how to setup a headless In-Home Streaming server on Linux.
  
====Running Steam in a second X Server====
+
=== Finding a games AppID ===
  
Assuming you are using the script above to start Steam, make a new script, called {{ic|x.steam.sh}}. You should run this when you want to start Steam in a new X server, and {{ic|steam.sh}} if you want Steam to start in the current X server.  
+
Every Steam application has a unique AppID.
  
If due to misconfiguration a black screen is shown, you could always close down the second X server by pressing {{Keypress|Ctrl}} + {{Keypress|Alt}} + {{Keypress|Backspace}}.
+
To find the AppID of an installed game:
  
{{bc|1=
+
# Right click on the game in your library, select create desktop shortcut.
#!/bin/bash
+
# Open the created file {{ic|~/Desktop/<game>.desktop}} with a text editor.
 
+
# Find the AppID in the Exec command {{ic|1=Exec=steam steam://rungameid/<appid>}}.
DISPLAY=:1.0
 
 
 
xinit $HOME/steam.sh $* -- :1
 
}}
 
 
 
Now you can use {{Keypress|Ctrl}} + {{Keypress|Alt}} + {{Keypress|F7}} to get to your first X server with your normal desktop, and {{Keypress|Ctrl}} + {{Keypress|Alt}} + {{Keypress|F8}} to go back to your game.
 
 
 
Because the second X server is ''only'' running the game and the first X server with all your programs is backgrounded, performance should increase. In addition, it is much more convenient to switch X servers while in game to access other resources, rather than having to exit the game completely or {{Keypress|Alt}}-{{Keypress|Tab}} out. Finally, it is useful for when Steam or WINE goes haywire and leaves a bunch of processes in memory after Steam crashes. Simply {{Keypress|Ctrl}} + {{Keypress|Alt}} + {{Keypress|Backspace}} on the second X server to kill that X and all processes on that desktop will terminate as well.  
 
 
 
'''If you get errors that look like "Xlib: connection to ":1.0" refused by server" when starting the second X''': You will need to adjust your X permissions.
 
 
 
'''If you lose the ability to use the keyboard while using Steam''': This is an odd bug that does not happen with other games. A solution is to use a WM in the second X as well. Thankfully, you do not need to run a large WM. Openbox and icewm have been confirmed to fix this bug (evilwm, pekwm, lwm ''do not'' work), but the icewm taskbar shows up on the bottom of the game, thus it's recommended to use [[Openbox]]. Install {{Pkg|openbox}} from the [[official repositories]], then add {{Ic|openbox &}} to the top of your {{ic|steam.sh}} file. Note you can run other programs (ex. Teamspeak &) or set X settings (ex. xset, xmodmap) before the WINE call as well.
 
 
 
====Steam Links in Firefox, Chrome, Etc====
 
To make steam:// urls in your browser connect with steam in wine, there are several things you can do. One involves making steam url-handler keys in gconf, another involves making protocol files for kde, others involve tinkering with desktop files or the Local State file for chromium. These seem to only work in firefox or under certain desktop configurations. One way to do it that works more globally is using mimeo, a tool made by Xyne (an Arch TU) which follows. For another working and less invasive (but firefox-only) way, see the first post [http://ubuntuforums.org/showthread.php?t=433548 here] .
 
 
 
* Make {{ic| /usr/bin/steam}} with your favorite editor and paste:
 
 
 
{{bc|
 
#!/bin/sh
 
#
 
# Steam wrapper script
 
#
 
exec wine "c:\\program files\\steam\\steam.exe" "$@"
 
}}
 
 
 
* Make it executable.
 
 
 
# chmod +x /usr/bin/steam
 
 
 
* Install {{AUR|mimeo}} and {{AUR|xdg-utils-mimeo}} from AUR. You will need to replace the existing {{pkg|xdg-utils}} if installed. In XFCE, you will also need {{pkg|xorg-utils}}.
 
 
 
* Create {{ic|~/.config/mimeo.conf}} with your favorite editor and paste:
 
 
 
{{bc|
 
/usr/bin/steam %u
 
  ^steam://
 
}}
 
  
* Lastly, open {{ic|/usr/bin/xdg-open}} in your favorite editor. Go to the {{ic|detectDE()}} section and change it to look as follows:
+
Alternatively find the game's [http://store.steampowered.com/ Steam Store] page and check out the URL:
  
{{bc|<nowiki>
+
<nowiki>http://store.steampowered.com/app/<appid>/<name>/</nowiki>
detectDE()
 
{
 
    #if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
 
    #elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
 
    #elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome;
 
    #elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
 
    #elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde;
 
    #else DE=""
 
    #fi
 
    DE=""
 
}
 
</nowiki>}}
 
  
* Restart the browser and you should be good to go. In chromium, you cannot enter a {{ic|steam://}} link in the url box like you can with firefox. The forum link above has a {{ic|steam://open/friends}} link to try if needed.
+
== Troubleshooting ==
  
{{Note|If you have any problems with file associations after doing this, simply revert to regular xdg-utils and undo your changes to {{ic|/usr/bin/xdg-open}}.}}
+
See [[Steam/Troubleshooting]].
{{Note|Those on other distributions that stumble upon this page, see the link above for firefox specific instructions. No easy way to get it working on Chromium on other distros exists.}}
 
  
====No text rendered problem====
+
== See also ==
If there is no text/font rendered when starting steam you should try to start steam with the parameter {{ic|-no-dwrite}}. Read more in [https://bbs.archlinux.org/viewtopic.php?id=146223 the forum thread about it.]
 
{{bc|wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite}}
 
  
== See Also ==
+
* [https://wiki.gentoo.org/wiki/Steam Steam] at Gentoo wiki
* https://wiki.gentoo.org/wiki/Steam
+
* [https://pcgamingwiki.com/wiki/The_Big_List_of_DRM-Free_Games_on_Steam The Big List of DRM-Free Games on Steam] at PCGamingWiki
 +
* [http://steam.wikia.com/wiki/List_of_DRM-free_games List of DRM-free games] at wikia

Latest revision as of 09:37, 22 May 2017

From Wikipedia:

Steam is a digital distribution, digital rights management, multiplayer and communications platform developed by Valve Corporation. It is used to distribute games and related media online, from small independent developers to larger software houses.

Steam is best known as the platform needed to play Source Engine games (e.g. Half-Life 2, Counter-Strike). Today it offers many games from many other developers.

Installation

Note:
  • Arch Linux is not officially supported, the only officially supported distribution is Ubuntu. [1].
  • If you have a 64-bit system, enable the multilib repository.

Install the steam package.

Steam is not supported on this distribution. As such some fixes are needed on the users part to get things functioning properly:

  • If you have a 64-bit system, you will need to install the 32-bit version of your graphics driver (the package in the OpenGL (Multilib) column)
  • Steam may fail to start due to broken/missing libraries. See Steam/Troubleshooting#Steam runtime issues.
  • Steam makes heavy usage of the Arial font. A decent Arial font to use is ttf-liberation or the fonts provided by Steam. Asian languages require wqy-zenhei to display properly.
  • Several games have dependencies which may be missing from your system. If a game fails to launch (often without error messages) then make sure all of the libraries listed in Steam/Game-specific troubleshooting are installed.
  • In case that you are using Arch Linux in your local language, make sure that you also have properly generated en_US locales (see Locale#Generating locales). Otherwise Steam client wont start with invalid pointer error.

Usage

To start Steam simply run steam.

  • -bigpicture to start in Big Picture Mode
  • -silent don't open the main window

Tips and tricks

Directory structure

~/.steam/ by default contains the following symlinks:

bin   -> ~/.steam/bin32
bin32 -> ~/.local/share/Steam/ubuntu12_32
bin64 -> ~/.local/share/Steam/ubuntu12_64
root  -> ~/.local/share/Steam
sdk32 -> ~/.local/share/Steam/linux32
sdk64 -> ~/.local/share/Steam/linux64
steam -> ~/.local/share/Steam

As you can see Steam stores its files in ~/.local/share/Steam/ by default. You can change where Steam stores its content by moving ~/.local/share/Steam/ and starting Steam, which will prompt you if you have moved your Steam content. You can then browse to the new location and Steam will update the symlinks in ~/.steam/.

Games are installed in ~/.steam/root/steamapps/common/.

Launch options

To set custom launch options for a game, right-click on it in your library, select Properties and click on the Set Launch Options button.

When your launch options contain %command% Steam will replace it with the game's launch command, otherwise Steam will prefix the launch command to your launch options. The resulting command is then run in a Bash shell, allowing you to set environment variables before %command%.

Big Picture Mode without a window manager

To start Steam in Big Picture Mode from a Display manager, create a /usr/share/xsessions/steam-big-picture.desktop file with the following contents:

/usr/share/xsessions/steam-big-picture.desktop
[Desktop Entry]
Name=Steam Big Picture Mode
Comment=Start Steam in Big Picture Mode
Exec=/usr/bin/steam -bigpicture
TryExec=/usr/bin/steam
Icon=
Type=Application

Steam skins

The Steam interface can be customized using skins. Skins can overwrite interface-specific files in ~/.steam/steam.

To install a skin:

  1. Place its directory in ~/.local/share/Steam/skins.
  2. Open Steam > Settings > Interface and select it.
  3. Restart Steam.

An extensive list of skins can be found in this Steam forums post.

Note: Using an outdated skin may cause visual errors.

Creating skins

Nearly all Steam styles are defined in ~/.steam/steam/resource/styles/steam.styles (the file is over 3,500 lines long). For a skin to be recognized it needs its own resource/styles/steam.styles. When a Steam update changes the official steam.styles your skin may become outdated, potentially resulting in visual errors.

See ~/.local/share/Steam/skins/skins_readme.txt for a primer on how to create skins.

Changing the Steam notification position

The default Steam notification position is bottom right.

You can change the Steam notification position by altering Notifications.PanelPosition in

  • resource/styles/steam.styles for desktop notifications, and
  • resource/styles/gameoverlay.styles for in-game notifications

Both files are overwritten by Steam on startup and steam.styles is only read on startup.

Note: Some games do not respect the setting in gameoverlay.styles e.g. XCOM: Enemy Unknown.

Use a skin

You can create a skin to change the notification position to your liking. For example to change the position to top right:

$ cd ~/.local/share/Steam/skins
$ mkdir -p Top-Right/resource
$ cp -r ~/.steam/steam/resource/styles Top-Right/resource
$ sed -i '/Notifications.PanelPosition/ s/"[A-Za-z]*"/"TopRight"/' Top-Right/resource/styles/*

Live patching

gameoverlay.styles can be overwritten while Steam is running, allowing you to have game-specific notification positions.

~/.steam/notifpos.sh
sed -i "/Notifications.PanelPosition/ s/\"[A-Za-z]*\"/\"$1\"/" ~/.steam/steam/resource/styles/gameoverlay.styles

And the #Launch options should be something like:

~/.steam/notifpos.sh TopLeft && %command%

In-Home Streaming

Steam has built-in support for In-Home Streaming.

See this Steam Community guide on how to setup a headless In-Home Streaming server on Linux.

Finding a games AppID

Every Steam application has a unique AppID.

To find the AppID of an installed game:

  1. Right click on the game in your library, select create desktop shortcut.
  2. Open the created file ~/Desktop/<game>.desktop with a text editor.
  3. Find the AppID in the Exec command Exec=steam steam://rungameid/<appid>.

Alternatively find the game's Steam Store page and check out the URL:

http://store.steampowered.com/app/<appid>/<name>/

Troubleshooting

See Steam/Troubleshooting.

See also