Website Navigation Menu

Run a Windows Screensaver (.scr file) in WINE on Linux

No Windows 95 GUI transformation would be complete without your choice of Screensaver, and the ability to play all of the great old games and other software that you used to remember on Windows 98. The Flying Windows, the 3D Maze, and many other favorites are fond memories of people staring into the void of Clunky CRT monitors. But how do you get a .scr file to work in Linux? There is an easy way! These instructions are performed using Debian 11 Bullseye (or Testing). Your Milage May Vary when using other distros. Note: By following these instructions, you are agreeing to modify your computer's settings at your own risk. You indemnify me of any liability for damages caused by any loss of information caused by following these instructions. Do this at your own risk, if you need help, ask before running commands that you're not sure of the consequences of.

Instructions:

1. Install Wine on your Distro

First, let's start by installing WINE if you don't already have it. Since we are running older software, we want to make sure we have the x86 architecture activated on our Linux distro by running the following command:

This will allow you to create a WINE Prefix that is able to run older 32-bit programs from prior to Windows 7.

Now we need to install wine. You can either get the version that is in your distro (preferred) by simply running this command:

Or if you're running something that does not have Wine in the distro, you can add the Wine repository to your system first by following the instructions for your individual distro at this link. I am using Debian Testing, so we will follow those instructions on the website. Lets first add the repository to our distro. We first add the key:

Then we add the repository to our system. I prefer doing this through the software-properties-gtk package since I find it easier than potentially deleting something by editing system files in Linux. Simply install this package:

You will see this package listed as "Software and Updates" in your Tasker Menu. Go ahead and open it up, and go to the "Other Software" tab.

Note: Be sure to Use the proper repository for whichever version of the Operating System you are using, otherwise the packages will break or you may break your system.

WINE

Now we need to install wine:


And wait for that command to finish. Now that we have Wine installed, let's start using it by downloading a screensaver that we can use in WINE. We will use this Cremesavers Bowling one from the former www.candystand.com hosted on the Web Archive, since the .scr file works without any additional files. To download the file, click here:

Download Here

We are going to go ahead and run the .exe that is available on the website, which extracts a couple of files to the /home/user/.wine/drive_c/windows/ folder. Let's navigate to that folder now in our file manager. Go into this folder and find the file called "CREMESAVERS.SCR." Test to make sure that it works by running the following command:

If the screensaver runs, GREAT! You've finished half the battle by installing wine and running a functioning screensaver for Linux. Just remember, you can test the functionality of any .scr screensaver file you download by running the same command in the terminal, but with any .scr file:

If the screensave you want to use has settings that can be tweaked, you can run this command to change them:

If the screensaver you're trying to use does not run, you can always check list on WineHQ's list of screensavers tested in WINE to see if they work, and what they may need to work.

Create Batch Script to Automatically Run .Scr Screensaver File

Now that we have a working screensaver, we can create a script that will automatically trigger your WINE screensaver when your computer is idle for a certain amount of time. Thankfully, the website Joe's Corner has given us a batch script to use. Just in case Joe's website goes down, here is a PDF copy of the instructions on how to create the batch script.

Let's follow Joe's instructions. Since we are using the Cremesavers bowling screensaver we have here, let's link to our .scr file in our .wine folder in Home in our "winss" batch script file that we are creating, we can edit the script in Notepad. Go ahead and download the batch script from the website I linked above. You can place the batch script in the same folder as your screensaver file.

Since we have the working Cremesavers screensaver, let's link to it in the "Winss" batch script. Place the path to your screensaver file under the screensaver.

If you so choose, you can also change how long you want the computer to wait until the screensaver kicks in by changing the value next to "Timeout." The number is equal to how many minutes you want the computer to wait before the screensaver kicks in.

Now that we've finished editing our batch script file, let's tell the computer we want to add it to startup. Go to Session & Startup in your Tasker Menu, and the Application Autostart tab. Click "Add" to add a new start-up command that will load our "Winss" batch script.


We can go ahead and name our Screensaver process and Description anything we want to, so that it is easier to edit later. I have my batch script running the "Sonic the Screensaver" .scr I have. Simply hit the folder next to command, and navigate right to your "Winss" batch script file. Then, log out and login and your screensaver should work!

Now that you know how to run a screensaver from Windows 95/98 in Linux, go ahead and try some screensavers of your choice! Check out some more options below. Be sure to check out WINEHQ to see which ones need extra files in order to work.

Sonic the Screensaver - A fun Win98 Screensaver that has Sonic & Friends moving through photos! (Instructions on how to run in Wine)


Classic Windows 98 Screensaver Pack - A pack of all of the fun screensavers you used to remember, like the Flying Windows and 3D Maze!


Back to The Guide

Go Back