How to Watch Your Favorite Streaming Services on Linux

Watch Streaming Services on Linux

There are a lot of streaming services out there, and everyone has at least one. Unfortunately, a lot of streaming services don’t support Linux or even actively block it. Don’t worry, though. You can still use most of them from your Linux PC, and they work very well. You’ll just need to make your streaming service think you’re on Windows, and that’s surprisingly not hard.

Get the Chrome Agent String from Windows

Before you start, you’re going to need the Google Chrome user agent string from Chrome running on Windows. If you don’t have access to Windows, this guide will show you the current string when you follow the directions below. It may become outdated, though. In that case you can try searching online for a new agent string.

On a Windows machine, or virtual machine, open Google Chrome. You should make sure that you have the latest version before going any further.

Chrome Menu on Windows

Next, open the Chrome menu via the three-dot icon in the upper-right corner of your screen. Locate “More tools” in the resulting menu and “Developer tools” from there. After you click it, Chrome will split your screen, displaying the raw HTML on the right.

At the top of the new section of your screen, find and click the “Console” tab. This tab will allow you to run JavaScript through Chrome. You’ll only need one simple method to find the complete user agent string.

Chrome on Windows Agent String

In the console type the following to reveal Chrome’s current string.


Chrome will immediately print something similar to the example below in the same console area. The example is the current agent string from Chrome 73.

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

Write down the string somewhere you can get to it on Linux. You’re going to need to copy that string into your Linux browser. When you’re gone, you can leave Windows and return to your Linux machine.

Spoof the String

You can use either Firefox or Chrome to view your streaming service. The only requirement for most is that you have DRM capabilities, so you’ll need to enable it in Firefox. If you’re on Chromium, the instructions are the same as Chrome, except you’ll need to add the Widevine DRM capabilities.


Start by enabling DRM. Click the three stacked lines in the upper-right corner of the window to open the menu. Find and select “Preferences.”

Enable DRM on Firefox

Under the “General” tab scroll down until you see “Digital Rights Management (DRM) Content.” Make sure that the checkbox labeled “Play DRM-controlled content” is checked.

Now, enter about:config in your browser’s address bar. Firefox will warn you that you can break things here, and you can, but confirm to continue.

Use the search bar at the top of the window to search for “useragent.” You’ll see a few entries there, but the one you’re looking for is general.useragent.override and that probably won’t be there. That’s alright, as you’re about to add it.

Create New Preference in Firefox

Right-click in the white space of the window. Select “New,” then “String.” A new small window will pop open and let you add the name of your new entry.

Name your Firefox Preference Entry

Here you have the option of applying your spoofed string across every site you visit or only the streaming service. To apply the spoofed string everywhere, enter general.useragent.override. For site-specific entries, start the entry the same way but include an additional dot followed by the name of the site, like

Enter your Chrome Agent String on Firefox

Next, a new window will open for your string. Copy the Chrome string from Windows. Paste it into the window and save it.

Spoofed Agent Strings on Firefox

You should see your new entry listed in bold. Go ahead an enter as many as you need for the services you plan to use.


On Chrome, it’s easiest to use an extension to handle switching your agent string. You can use the extension to switch things on the fly, so you can use your string whenever you want to trick a streaming service website.

User-Agent Switcher For Chrome

Open Chrome and go to the Chrome Web Store. Use the search to enter “user-agent switcher.” The first result should be the extension from Google themselves. Press the “Add to Chrome” button to install the extension.

Once you have your extension added, right-click on the icon in the upper-right of your screen. A menu will pop open. Click “Options.”

Add a new Agent String to Chrome's Switcher

Chrome will open a new tab containing a list of all the available user agents in the extension. Right at the top you’ll see a series of blank boxes to enter the information for your new string. Name it something memorable. Then, paste the string into the appropriate box. The group should auto-fill to Chrome and add a flag that will be easy to recognize. When you’re done, press “Add.”

Choose Agent on Chrome

You’re ready to start using the spoofed string. Click on the extension icon again. Select “Chrome” and find your new entry. After selecting it, you’ll see the flag that you entered displayed over the icon. Your browser string is now the Windows Chrome one.

Sign In and Watch

Watch SlingTV on Chrome for Linux

Browse to your streaming service’s website and sign in. You’ll be directed to the streaming content exactly like you would be on Chrome for Windows. Since you’re running essentially the same DRM in your browser as on Windows, everything will play normally.

Nick Congleton
Nick Congleton

Nick is a freelance tech. journalist, Linux enthusiast, and a long time PC gamer.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox