Turn Linux into a gaming platform with Lutris
Playful
Gaming on Linux has traditionally involved a complex installation and configuration procedure, until now. Lutris lets you enjoy games from different worlds quickly in a unified interface.
Linux has not been most people's preferred gaming platform until now because many interesting and also graphically sophisticated games are only available for other operating systems. But with PlayOnLinux [1], a tool enters the scene that makes games developed for Microsoft systems usable under the free operating system with the help of the Windows runtime environment, Wine. PlayOnLinux is also aimed at users who want to use conventional Windows applications on Linux. It therefore also integrates numerous office applications and programs for productive use.
With the release of Lutris [2], there is now another solution that uses Wine for Windows games and also integrates native Linux games. On top of this, Lutris supports games that are distributed and managed via the Steam platform, and the program can handle other digital distribution platforms that offer game collections or retro games. In this way, Lutris opens up a variety of integration options for games from a wide range of genres to serious gamers looking for a uniform interface.
Getting Started
In order to install Lutris and use it with Windows games, you may first need to add Wine as a runtime environment on your system. Depending on the distribution, you can either use the Wine packages included in the respective package sources or download them from special repositories (check out the detailed documentation on the Wine wiki page [3]).
Then proceed to install Lutris. Numerous distributions such as Solus, openSUSE, Fedora, Arch Linux, Mageia, or Slackware are supported from the distributions' own archives, or you can use a separate repository – there is one available for Ubuntu and elementary OS and their derivatives. The openSUSE Build Service is a good choice on systems with Debian.
The website also provides a generic tarball and source code for download. The generic package can be run after unpacking the archive on all distributions for which there are no native packages or repositories. The Lutris developers describe all installation methods in detail on the project's homepage [4].
First Launch
When the program launches for the first time, you can expect delays. After all, Lutris needs to complete its configuration in the background. Afterwards, an initially largely empty program window appears. You will find a vertical control bar on the left, plus a titlebar with some configuration elements. It lists Linux and Wine in addition to the supported game stores such as Humble Bundle, GOG, and Steam in the Runners group (Figure 1).
Runners are not games but the platforms on which the games subsequently run. Lutris does not limit you to Linux, Wine, and DOS: It also supports numerous emulators and runtime environments for game consoles. The pool of usable games can be expanded significantly.
To make more detailed program settings, click on the hamburger menu top right in the titlebar and open the Settings option in the context menu. The most important options are grouped in the System Settings tab (Figure 2). They mainly include the path specification for the default folder where Lutris installs new games, as well as options for video and audio control.
You can change many settings with the help of slide controls. If you check the Show advanced options box (bottom left), you can also include command parameters or scripts, which Lutris then executes when calling or closing a session.
The developers list the games you can use on each runner on the project's website [5]. To install additional runners, click the hamburger menu top right in the program window's titlebar and select Manage runners in the context menu that opens.
Managing Runners
In a new window, you will now find all available runners. Clicking on the install button to the right of each runner lets you install the respective entry on your system. After downloading and integrating the runner, a button for configuration appears to the right of the runner icon, replacing the install button.
To add games to the system after this, you can enter their names in the central search field in the titlebar. The routine contacts the Lutris server and searches its database. Any games found by this action are then displayed shortly afterwards on the right side of the main window. If you only enter one term or name component in the search field, the program will list all games containing this term (Figure 3).
Click on the desired game and then on the Install button that is now displayed. Depending on the platform on which the game is offered, multiple-stage installation dialogs will now follow in a new window. For some games, the routine pops up a window where you can choose between several versions of the game.
If you choose a game offered via Steam, you also need to install the Steam client for Linux and possibly the Steam client for Windows to access the game. The Windows client runs in Wine. When installing Windows games with Wine, you often need to download the Gecko and Mono packages.
After completing the installation, the software asks if you want to create a starter for the freshly set up game on the desktop and in the menu hierarchy of the working environment. These two options did not work with the current Lutris variant in our lab; checking the box did not create any shortcuts.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.