How to prevent Windows games from changing monitor resolution on Linux

A lot of Windows games, when running on Linux can manipulate the native display resolution of Linux desktop sessions and change them to the wrong size. Games switching resolutions is a severe annoyance, and it’s something that many Linux users would like to know how to fix. So, here’s how to prevent Windows games from changing monitor resolution on Linux.

Method 1 – change game display mode to windowed

One way to prevent Windows games you run on Linux via Wine is to go into the settings of the game itself and change it to “windowed” mode. To set your game in windowed mode, locate “Settings,” followed by “Video” and set it to “Windowed” mode.

Windows mode puts the game into a window, like every other program on your Linux desktop, which will prevent it from manipulating the display size (which windows games often do on Linux.)

Keep in mind that all games are different, and the game you are playing through Wine on Linux may not support non-fullscreen modes. If this is the case, you’ll need to try out some of the other method covered in this guide.

Method 2 – install games in Proton via SteamPlay

Proton and SteamPlay are technologies that Valve has been working on to vastly improve generic Wine on Linux, and how it handles video games. By far one of the best things about this new technology is that it requires little to no configuration, and also comes with several Linux fixes that enable Windows games to run better than they would on traditional Wine. There’s a lot less likelihood of these Windows games messing with your Linux desktop’s screen resolution while playing with SteamPlay.

Access SteamPlay/Proton on Linux

To install games through this method, all that’s required is that you install the latest release of Steam. To do this on Linux, head over to Pkgs.org and get the app working on your Linux OS of choice.

Once you’ve got the latest release of the Linux Steam client up and running, click here to follow our in-depth guide all about enabling SteamPlay on Linux. Then, search your Steam library for a game and click the “install” button to get it working with SteamPlay!

Method 3 – use Wine virtual desktop feature

Wine has a built-in feature called “virtual desktop.” When enabled, this feature can be used to generate a safe, Windows-like space to execute programs where none of the running applications interact with the Windows ones.

The virtual desktop feature isn’t very well-known to Linux users on Wine, and many don’t bother to mess with it because of it. However, if you’re running Windows games on Linux through Wine, and can’t use SteamPlay or enable windowed mode within the game, this is your best bet.

Before we begin

The virtual desktop feature in Wine is accessible in nearly every version of Wine — even old ones. That said, if you’re running into graphical issues when playing your Windows games, it’s a great idea to get Wine up to date, as it includes tons of graphical patches and improvements for gamers.

To update to the latest stable version of Wine, open up your Linux software updater and install all available software patches. Or, consider following our guide to learn how to upgrade from the version of Wine you’re currently running to version 4.

Detect your desktop resolution

The best way to use the Wine virtual desktop feature is to have it mimic the exact screen resolution of your monitor. So, before setting Wine’s virtual desktop to use your monitor’s resolution, you must figure out what it is.

Look inside of the display settings on your Linux desktop for “display,” or “resolution” and open it. It should print out the resolution. Or, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard and enter one of the commands below.

Xdpyinfo

xdpyinfo  | grep 'dimensions:'

Xrandr

xrandr | grep '*'

Keep the terminal window open, as it will have the display size information listed, as you will need it later.

Set Wine virtual desktop

All configuration for Wine is done inside of the Wine configuration app. To access this app, press Alt + F2 on the keyboard to open up the desktop quick-launcher. Then, write the following command into the launch window to access the Wine settings.

winecfg

With the Wine configuration settings window open, you’ll see several different tab pages to choose from. Locate the tab called “Graphics” and click on it with the mouse to access it.

On the “Graphics” page, locate “Emulate a virtual desktop” and check the box next to it to enable the feature. Then, move on down to the “Desktop size” area and write in your monitor’s display resolution.

Click the “Apply” button to change the settings and enable the Wine virtual desktop feature. Once enabled, all Windows games running on Linux will not be able to manipulate the screen resolution on your computer.

Read How to prevent Windows games from changing monitor resolution on Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to play Fallout: New Vegas on Linux

Fallout: New Vegas is a post-apocalyptic open-world RPG developed by Obsidian and published by Bethesda. It’s widely considered one of the best games in the Fallout series by fans.

The Fallout games (both 2D and 3D) generally work pretty well on Linux, including New Vegas. Here’s how to play Fallout: New Vegas on Linux.

Method 1 – SteamPlay

Valve’s SteamPlay is quickly becoming the best way to play Windows games on Linux. The reason for this is that the technology is so automated, that users hardly have to anything to get even some of the most high-end games to work!

Fallout: New Vegas has always worked pretty well on Linux, but ever since SteamPlay has been a thing, it’s been easier than ever to get the game working on any Linux distribution.

Purchase Fallout: New Vegas for Steam

Before dealing with Fallout: New Vegas and how to make it playable on Linux via SteamPlay, you’ll need to purchase the game. To get your copy of the game, ensure you have a Steam account and click here to go to FNV’s store page.

Note: don’t have a Steam account? Click here to make one!

On the FNV store page, locate the “Add to Cart” button and click it to make your purchase. Currently, the game is 9.99 USD.

Install Steam on Linux

Playing Steam games on Linux requires installing the client on Linux. In this section of the guide, we’ll go over how to install the Steam client on Linux

Press Ctrl + Alt + T or Ctrl + Shift + T on the keyboard to open up a terminal. Then, follow the command-line instructions that correspond with your Linux OS.

Ubuntu

sudo apt install steam

Debian

cd /tmp
wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb

sudo dpkg -i steam.deb

sudo apt-get install -f

Arch Linux

sudo pacman -S steam

Fedora

To install Steam, you must enable RPMFusion. To do this, follow our guide on the subject. Then, use Dnf to install Steam.

sudo dnf install steam

OpenSUSE

sudo zypper install steam

Enable SteamPlay on your Linux PC

Playing Fallout: New Vegas via Steam on Linux requires enabling SteamPlay with games that don’t officially support SteamPlay yet. To do this, open up “Settings” in your Steam app, click “Steam Play,” and click the box next to “Enable Steam Play for supported titles.”

Can’t figure out how to enable SteamPlay on your Linux PC? Check out our guide on how to enable SteamPlay on Linux!

Install the game – Steam

Installing FNV on Steam works like any other game in your library. To do it, launch the app as normal. Then, click “Library,” and look for “Fallout: New Vegas” in your game library. Then, click the blue “Install” button to download and install it on Linux.

Play on Linux – Steam

Playing Fallout: New Vegas on Steam requires very little effort. To play the game, click on “Library” and look for the game in the list of games you own. Then, click the blue “Play” button to enjoy Fallout: New Vegas!

Method 2 – GOG and Wine

If you’re not a fan of Valve’s Steam but still want to enjoy Fallout: New Vegas on Linux, try the GOG method. It doesn’t require any proprietary app stores like Steam, and you’ll still get the same game.

Purchase Fallout: New Vegas from GOG.com

To play FNV on Linux via Wine, you’ll need to purchase the game from Good Old Games. As of now, the website has the “ultimate edition,” which comes with all downloadable content, and other cool things. If you’d like to get a copy of the game through GOG, click here to go to the game’s store page.

Once you’ve made it to the FNV store page,  click “Add to cart” to buy the game. Currently, the ultimate edition, with all the DLC is 19.99 USD.

Install the latest release of Wine

Running FNV on Linux requires the latest version of Wine. Any version of Wine should be enough to get FNV working. However, it’s probably best to install Wine version 4, as it comes with DXVK and many other optimizations that prove to make Windows gaming on Linux much better.

Installing Wine 4 is easy to do on most Linux distributions at this point, as it’s the current version on most modern Linux operating systems. However, if your Linux PC doesn’t have version 4 available, follow our guide to learn how to install version 4 of Wine on your Linux computer.

Don’t want to use Wine 4? Another good option to get Fallout: New Vegas working on Linux is to use the Wine Staging branch, as it regularly gets updates and improvements. For more information on Wine Staging, check this post.

Install the game – Wine

To install FNV on Linux, open up the Linux file manager. Then, find the “Downloads” folder and click on it. Next, double-click on the Fallout EXE setup files to launch it in wine.

Using the GOG installer, install the game on your system. Assuming you’re running a relatively recent version of Wine, the installer should work with no issues. When it’s done, close it, and the game will be set up on your Linux PC!

Play on Linux – Wine

To start up FNV via Wine on your Linux PC, open up your application menu and locate the “Wine” section. In this area, you should see a Fallout icon which you can double-click on to launch the game. Or, alternatively, double-click on the FNV icon on your desktop to enjoy!

Read How to play Fallout: New Vegas on Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to use the PS4 controller on Linux

The Sony PlayStation 4 controller is an excellent device, and it would make a great controller to play video games on Linux. In this guide, we’ll walk you through how to use the PS4 controller on Linux. Let’s get started!

Method 1 – Steam

Valve’s hard work on the Linux version of Steam means that users can enjoy excellent support for third-party video game controllers such as the Sony DualShock 4 (PS4) controller, Nintendo Switch, Microsoft Xbox One and more.

The Steam method is the obvious way to go for the PS4 controller support on Linux for several reasons. For starters, it’s possible to configure the Steam client to adopt other controller styles (like the Xbox) and add it to the PS4. But aside from that, Valve offers up a custom controller mapping tool that users can use to map games to the PS4 controller with ease manually.

Install Steam on Linux

To configure the DualShock 4 controller on Linux via Steam the Steam application must first be installed. Open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. From there, follow the installation instructions that correspond with the distribution you use.

Ubuntu

Ubuntu distributes Steam in their official software repositories. To install it, use the Apt package manager to load up Steam.

sudo apt installing steam

Alternatively, Ubuntu users can download the Steam DEB package directly from Steam’s website here.

Debian

The easiest way to install Steam on Linux is to download the standalone DEB package from Steam’s website. The reason downloading is better is that you won’t need to fiddle with your sources file to enable “non-free” packages to install Steam.

To get the latest Steam DEB package, use the wget command below.

Note: you will need to enable 32-bit architecture to use Steam on Debian.

wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb

With “steam.deb” done downloading, use the dpkg tool to load it up on the system.

sudo dpkg -i steam.deb

Finish up the installation with apt-get install -f.

sudo apt-get install -f

Arch Linux

Steam is in the official Arch Linux software repositories. To install it, use the Pacman package management command below.

sudo pacman -S steam

Fedora

Steam is available to Fedora users through the RPMFusion software repository. To enable these repos, do the following command-line operations.

Note: replace XX in the commands below with the release number of Fedora Linux you use.

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-XX.noarch.rpm -y
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-XX.noarch.rpm -y

With the repos enabled, install Steam with Dnf.

sudo dnf install steam -y

OpenSUSE

Use OpenSUSE and need Steam? Head over to the OBS and download the package that best matches your release of the operating system!

Flatpak

Ensure you have the Flatpak runtime enabled. Then, enter the following commands to load up Steam.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

flatpak install flathub com.valvesoftware.Steam

After installing Steam on your Linux PC, log into your account and open the app.

Configure the PS4 Controller in Steam

Now that the Steam app is installed and open on your Linux PC, plug in your PS4 via USB to your PC or pair it via Bluetooth by pressing Share + the PS button if you prefer.

Once the controller is connected to your Linux PC, go to the Steam app, find the “Steam” menu and click on it. Then, select the “Settings” menu inside to access the Steam settings area.

Inside the Steam settings area, find “Controller” and select it. Then, choose “GENERAL CONTROLLER SETTINGS.”

In the “GENERAL CONTROLLER SETTINGS” area, check the box next to “PlayStation Configuration Support.” Then, scroll down, and you should see “Unregistered PlayStation controller.” Click it and register it to your Steam account.

With the PlayStation 4 controller registered to your Steam account, you’ll now be able to use it to play video games in your Steam library, as well as third-party ones added to Steam through the “Add a Game” feature.

Method 2 – DS4DRV

The Dualshock 4 userspace driver for Linux is an older driver, but it’s confirmed to give users excellent support for the Sony DualShock 4 (PS4) controller on most Linux-based operating systems.

Installing the DS4DRV driver is done through the Python packaging tool, meaning that even Linux distributions that are lesser-known should have no issue installing it. To start the installation, open up a terminal and run pip –help followed by python –version.

Note: you will also need to install “python-setuptools.” More information on that here.

pip --help
python --version

Assuming the “help” function shows that Pip works and you can confirm you have Python 2.7 or higher, use the pip install command to load up the DS4DRV driver onto your Linux PC.

sudo pip install ds4drv

Connect your Ps4 controller

With the DS4DRV driver working, it’s time to connect it to the system to use it on Linux. Plug in your PS4 controller into the USB port on your PC. Alternatively, hold down the Share + PS button to enter it into Bluetooth mode. From there, follow this guide to learn how to pair it to your computer wirelessly.

Once you’ve got your PS4 controller paired to your Linux PC, return to the terminal and run ds4drv.

ds4drv --hidraw

If the command is successful, your DualShock 4 controller should work in any game you start up on the system with no trouble! For more information on how to use DS4DRV, including it’s more advanced functions we didn’t cover, click here.

 

Read How to use the PS4 controller on Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to play Amiga games on Linux

In 1985, Commodore released the Amiga family of personal computers to the market. They were pretty successful in their time and sold quite a few units before ultimately being retired by Commodore in 1996.

These days, old computer emulation is as popular as old console emulation, especially on Linux. However, when it comes to emulating the Amiga line of computers, none do it better than FS-UAE, a cross-platform emulation application that allows users to experience Amiga video games and software.

Note: Addictivetips in no way encourages or condones the illegal downloading or distribution of ROM files for FS-UAE. If you want to play Amiga games on Linux with FS-UAE, please use your own game ROM files you’ve backed up to your PC, legally.

Install FS-UAE on Linux

Playing Amiga on Linux requires the FS-UAE emulator, as it’s the only known emulation tool out there that works on modern systems. FS-UAE is an excellent piece of software, and the developers support Linux distributions rather well, providing support for most mainstream Linux distributions.

To get your copy of FS-UAE working, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, from there, follow the detailed installation instructions that match up with the operating system you currently use.

Ubuntu

On Ubuntu Linux, you’ll need to use the dedicated PPA that the FS-UAE developers have available to install the software. To enable the PPA, start by using the add-apt-repository command below.

sudo apt-add-repository ppa:fengestad/stable

Following the add-apt-repository command, run an update to allow Ubuntu to refresh it’s software sources.

sudo apt update

Finally, install the FS-UAE packages on Ubuntu.

sudo apt install fs-uae fs-uae-launcher fs-uae-arcade

Debian

Debian has access to FS-UAE thanks to a third-party software repository. To add the repo, start by gaining root access and entering the following echo command in a terminal window.

Note: as of now, FS-UAE only supports Debian 9. 10 users should try their luck with one of these Deb packages on Launchpad.

su -
echo "deb http://download.opensuse.org/repositories/home:/FrodeSolheim:/stable/Debian_9.0/ /" > /etc/apt/sources.list.d/FrodeSolheim-stable.list

Next, download and install the FS-UAE release key using the wget command.

wget http://download.opensuse.org/repositories/home:FrodeSolheim:stable/Debian_9.0/Release.key
apt-key add - < Release.key

Run the update command to finish setting up the software repository on Debian.

apt-get update

Finally, install FS-UAE.

apt-get install fs-uae fs-uae-launcher fs-uae-arcade

Arch Linux

There isn’t a dedicated software repository or official package for FS-UAE on Arch. Instead, users must build from the AUR. The fastest way to do this is to use Trizen.

To start the process, install the Trizen package.

sudo pacman -S git base-devel
git clone https://aur.archlinux.org/trizen.git
cd trizen
makepkg -sri

With the Trizen AUR helper installed on your Linux PC, it’ll be possible to install the FS-UAE software directly through the app. Using the trizen command below, start the installation.

trizen -S fs-uae

Fedora Linux

The developers of FS-UAE have dedicated repositories for nearly every release of Fedora Linux. To get the repo working on your Fedora PC, start by using the CD command and move it to the default repo folder.

cd /etc/yum.repos.d/

Next, wget the repo file. Be sure to change XX in the command below with the release number of the version of Fedora Linux you are using (like “30” for Fedora 30, etc.)

wget http://download.opensuse.org/repositories/home:FrodeSolheim:stable/Fedora_XX/home:FrodeSolheim:stable.repo

With the repo installed on Fedora, grab the latest FS-UAE packages.

sudo dnf install fs-uae fs-uae-launcher fs-uae-arcade kernel-modules-extra

OpenSUSE

FS-UAE is ready to install on every single release of OpenSUSE. To start the installation process, open up a terminal and use the Zypper command to add the third-party software repository to your system.

Tumbleweed

sudo zypper addrepo http://download.opensuse.org/repositories/home:FrodeSolheim:stable/openSUSE_Tumbleweed/home:FrodeSolheim:stable.repo

Leap 15.0

sudo zypper addrepo http://download.opensuse.org/repositories/home:FrodeSolheim:stable/openSUSE_Leap_15.0/home:FrodeSolheim:stable.repo

Leap 42.3

sudo zypper addrepo http://download.opensuse.org/repositories/home:FrodeSolheim:stable/openSUSE_Leap_42.3/home:FrodeSolheim:stable.repo

Following the repository, use the refresh command.

sudo zypper refresh

Finally, finish up by installing FS-UAE.

zypper install fs-uae fs-uae-launcher fs-uae-arcade

Configuring FS-UAE to load games

The FS-UAE app is pretty straight-forward and works out of the box quite well. However, you’ll still need to set up a configuration file manually, or nothing will work. Thankfully, the developers have a stock config file that can be downloaded with wget.

cd ~/Documents/FS-UAE/Configurations
wget https://fs-uae.net/files/Default.fs-uae

After setting up the configuration file, there should be no need to edit it. From here, open up the FS-UAE GUI window by pressing Alt + F2 and typing in the command below.

fs-uae-launcher

With the UI open, make your way to “Floppy Drives.” Then, click “Drive Count” and set it to the number of floppy drives you need for your ROM.

After setting up your floppy drives in the emulator, locate Amiga Model and change the default selection to the right model of Amiga that the ROM is compatible with. When everything looks good, press “Start” to run the game.

Further reading

The Amiga is a very involved system, and it may come off as very confusing if you don’t understand how everything works. For most, loading up a ROM and clicking “Start” should be enough. That said, some games are a bit more complicated, and may involve using special features in FS-UAE.

If you find yourself stuck figuring out some of the more advanced features in FS-UAE, do check out the official documentation. They cover how to create hard drives, and the ins-and-outs of the emulator that go far beyond the basics covered in this tutorial.

Read How to play Amiga games on Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to play Atari Jaguar games on Linux

The Atari Jaguar is a home gaming console. It was released in 1993 and was released with little fanfare due to the popularity of the Super Nintendo and the Sega Genesis.

Jaguar didn’t do so well when it was available to the general public. Sales were mediocre, and not many games were developed as a result. Still, it’s got some fun video games to check out, and it’s a shame that the console went underappreciated.

In 2019, finding a genuine Atari Jaguar is quite tricky, due to how rare they are. Thankfully, if you install the Retroarch application, you’ll be able to play Atari Jaguar games on Linux.

Note: Addictivetips in no way encourages or condones the illegal downloading or distribution of ROM files for RetroArch. If you want to play Atari Jaguar games on Linux with RetroArch, please use your own game ROM files you’ve backed up to your PC, legally.

Install Retroarch

Getting Retroarch working on Linux is the only way to emulate any Jaguar game successfully. The reason that Retroarch is the way to go is due to lack of interest. There isn’t enough development going on with dedicated Jaguar emulators on Linux, or elsewhere for that matter.

Note: In this tutorial, we heavily focus on getting Atari Jaguar working on Linux through this app. That said, Retroarch also is available on Microsoft Windows, Apple macOS, and other operating systems. More information about how to get it is available on their website.

Installing Retroarch is a quick and easy process on most Linux distributions. You can do it by opening up a terminal window and using your package manager to search for “retroarch” and install it.

Need help installing Retroarch on your Linux PC?  We can help! Click here for our in-depth tutorial. In it, we go over how to get the emulator working on all major Linux distributions, including Debian, Ubuntu, Fedora, and others.

Getting the Jaguar Retroarch core working

Retroarch doesn’t come with emulators installed out of the box. Instead, to play Atari Jaguar games, you’ll need to configure the apps to download cores. To do this, open up a terminal window and open the Retroarch configuration file in the Nano text editor.

nano -w ~/.config/retroarch/retroarch.cfg

In the retroarch.cfg file, use the down arrow key to move down the config file, till you find "menu_show_core_updater". Alternatively, if you want to automatically jump to the line, press Ctrl + W on the keyboard to bring up search. Then, paste in "menu_show_core_updater".

When you’ve made your way to the "menu_show_core_updater", change it from “false” to “true.” After that, save the configuration file by pressing Ctrl + O on the keyboard and exit with Ctrl + X.

With the Nano text editor exited, close the terminal window and open up Retroarch. Once the app is open, locate “Online Updater” and press Enter on the keyboard to get to the core downloader. Then, find “Content Downloader” and select that.

In the “Content Downloader” area of Retroarch, you’ll see dozens of downloadable core files for Retroarch. Each of these cores are dedicated emulator plugins for Retroarch.

Look through the core list for “Atari – Jaguar (Virtual Jaguar),” and press Enter to download the core to your Linux PC.

Playing Jaguar games with Retroarch

To play a game with Retroarch, you’ll need to load up the downloaded Virtual Jaguar core. You can do this by opening up the app and locating the “Load core” option.

After finding the “Load core” menu entry in the app, use the arrow keys on the keyboard to manually select it so that Retroarch will switch to it for emulation.

Once you’ve loaded up the core, it’s time to load in a Jaguar game. To do this, go back to the menu where you found the “Load core” option. Underneath that option in the menu, “Load content” will be there.

Select “Load content” with the Enter key. Soon after, you’ll see a few options, such as “Start directory,” “Collections,” “/,” and “Settings.” For quick access to a game, highlight the “Start directory” menu option.

When you choose the “Start directory” option, the Retroarch built-in file manager will place you in the Root folder. From here, navigate to “home,” followed by your user-name, and then the folder where all of your Jaguar ROM files are at.

Inside of the ROM directory, use the arrow keys to locate the game you want to play. After that, plug in a controller into the USB port and let Retroarch auto-configure it. Then, when you’re ready, press Enter to start the game up.

Need to exit your Atari Jaguar game? Press the Escape key to instantly close Retroarch.

Read How to play Atari Jaguar games on Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter