vikix.GuideInstallSource

20 Steam

Steam runs games, and through Proton most Windows games too. On a plain Void Linux it is a headache: Steam is a 32-bit program, Void keeps its 32-bit libraries in a repository of its own (multilib) that is off by default, and the right ones depend on your graphics card. One missing library stops the client; the next one stops the first game. Vikix does the whole of it in one command.


20.1 Adding it

vikix add steam

Or pick it in the welcome (Super+m → Add software). It asks for your password once, then:

Game controllers need nothing: Steam’s udev rules tag them for your seat, and elogind hands them to you when you plug one in.

A card the setup doesn’t know (a virtual machine’s, say) still gets Steam, with a warning: games that need Vulkan won’t run there.


20.2 Playing

Super+m → Apps → Games (Steam), or type steam. The first start downloads the Steam client itself, about 500 MB, into ~/.local/share/Steam; your games go there too. Log in, and install a game.

For Windows games, once, in Steam: Settings → Compatibility → Enable Steam Play for all other titles. Steam then runs them through Proton, its own Wine. Whether a game works is on protondb.com; the ones that don’t are mostly those whose anti-cheat refuses Linux.

A game in full screen takes the screen as any window does; Super+Tab and the workspace keys still work. A game that wants a window of its own size floats if you ask: a rule such as (when-window (:class "steam_app_12345") (float)), the class from xprop or Super+Alt+? on the window.


20.3 Seeing what is there

vikix steam status

says, line by line, whether the repository is on, Steam and its libraries are installed, what card was found and whether its driver is there, what the open-files limit is, and how much Steam’s folder takes. vikix doctor checks the same once Steam is one of your features.


20.4 When it doesn’t work


20.5 Removing it

vikix remove steam

takes Steam and the 32-bit libraries away, with the card’s 32-bit driver and the open-files limit. The card’s 64-bit Vulkan driver stays, since any program that draws with Vulkan may use it, and so does the multilib repository (sudo xbps-remove void-repo-multilib switches it off). The client and your games, in ~/.local/share/Steam and ~/.steam, are yours and stay: delete the folders yourself for the disk back.