Explore gaming on the Lakka console
DIY Retro Console
![© Lead Image © donatas1205, 123RF.com © Lead Image © donatas1205, 123RF.com](/var/linux_magazin/storage/images/issues/2021/248/lakka/donatas1205_123rf_steampunk_glasses.png/787596-1-eng-US/donatas1205_123RF_Steampunk_glasses.png_medium.png)
© Lead Image © donatas1205, 123RF.com
The Lakka Linux distribution comes with everything you need to play retro games and lets you install games directly in the user interface. All you need is a Raspberry Pi and, ideally, a simple gamepad.
In the pandemic, its not just Netflix series that are booming, but computer games, too. However, state-of-the-art gaming consoles like Nintendo Switch or PS5 are expensive, which makes Linux distributions like Lakka [1] all the more worthwhile. It even runs on the Raspberry Pi 3, which currently retails for $35 (EUR35, £34). In other words, you only pay a fraction of what you would have to fork out for a high-end console from Nintendo or Sony for a retro console that you can build yourself.
DIY retro game consoles require very little manual work. You simply plug the Raspberry Pi into a suitable enclosure and connect it to the monitor or TV. With Lakka, you don't even need a keyboard and a mouse; input can be managed with a gamepad like the Logitech F310 [2]. However, you will not want to do without a keyboard for convenience sake. It not only makes it easier to enter text, but you can also assign additional functions to the keys.
Features
The Lakka distribution is based on the LibreELEC [3] media player. The operating system does not need much space on the hard disk, with a pleasingly compact ISO image of about 400MB. LibreELEC also ensures that all files, including the kernel, are made current during the update, removing the need for you to install individual packages. RetroArch [4] is used as the graphical user interface, which results in Lakka self-configuring thanks to RetroArch's autoconfig feature. Gamepads, for example, are ready for use straightaway.
Lakka supports various computers [5], including the different variants of the Raspberry Pi, from the Pi Zero to the current Raspberry Pi 4. According to Lakka, the Raspberry Pi 3 has good compatibility with Lakka. However, performance-hungry games, such as those for the PlayStation, do not play smoothly.
Installation
A download wizard on the project's website helps you choose the right image [6], which you then unpack for the Raspberry Pi before writing it to a memory card. Working as a Linux user, you then transfer the system to an SD card with the commands
$ gunzip Lakka.img.gz # dd if=Lakka.img of=/dev/<sdc> status=progress; sync
The correct device identifier of the target drive can be determined with the lsblk
command. Users of other operating systems turn to external tools such as Etcher [7].
After writing to the microSD card, you will find two partitions. For the monitor and audio settings, you might need to edit the config.txt
file on the partition labeled LAKKA; that said, the display typically self-adjusts to suit the monitor in use. As soon as you boot the Raspberry Pi with the new image, Lakka automatically enlarges the partition with the user data and game ROMs (LAKKA_DISK), so you don't have to do this manually.
Configuration
Thanks to Lakka's automatic configuration, changes to the settings are largely unnecessary. However, some settings are worth adjusting. With the arrow keys on the keyboard or the D-pad on the game controller, you move from menu item to menu item. Pressing the Enter key jumps to the submenus or (de)activates settings.
With a gamepad, you input with the A switch; the B switch goes back one step. When "typing" text (e.g., a username) from the on-screen keyboard, finish typing by pressing Start. Lakka has also published a diagram of a prototype gamepad on its own website [8], which you can use as a template for configuring your own.
For the configuration, first enable the Settings | User Interface | Show Advanced Settings option. Not everyone likes the Electric Blue color that Lakka uses as its default color scheme (Figure 1). This aspect can be changed in Settings | Menu | Menu Color Theme. With so many settings, it is worth saving the configuration to a file. To do this, switch to Configuration | Save Current Configuration from the main menu.
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.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.
-
SUSE Offers CentOS 7 Support with Liberty Linux Lite
SUSE's Liberty Linux support offering now includes CentOS 7, which means businesses won't be forced to migrate those servers for some time.
-
Ubuntu's App Center Finally Supports Local Installs Again
If you regularly download .deb files and would prefer a GUI method of installing, Ubuntu has your back.
-
AlmaLinux Now Supports Raspberry Pi 5
If you're looking to create with the Raspberry Pi 5 and want to use AlmaLinux as your OS, you're in luck because it's now possible.
-
Kubuntu Focus Releases New Iterations of Ir14 and Ir16 Laptops
If you're a fan of the Kubuntu Focus laptops or have been waiting for the right time to purchase one, that time might be now.
-
NixOS 24.05 Is Ready for Prime Time
The latest release of NixOS (Uakari) has arrived and offers its usual reproducible, declarative, and reliable goodness.
-
Linux Lite 7.0 Officially Released
Based on Ubuntu 24.04 and kernel 6.8, Linux Lite version 7 now offers more options than ever.
-
KaOS Linux 2024.05 Adds Bcachfs Support and More
With updates all around, KaOS Linux now includes support for the bcachefs file system.
-
TUXEDO Computers Unveils New Iteration of the Stellaris Laptop Line
The Stellaris Slim 15 is the 6th generation and includes either an AMD or Intel CPU