A simple plugin that lets you press a configurable key (default F11) to temporarily disable the mouse cursor locking so you can move you mouse out of the main Tarkov window. This is useful for multi-monitor setups.
Warning. I wanted this quickly and was lazy because while I've worked with Harmony I've never done a BepInEx mod so I threw the request to ChatGPT and let it generate the actual code.
This guide walks you through everything you need to get SPTarkov running reliably on Linux using Wine, GE-Proton, or GE-Wine (through Lutris). It covers how to fix issues like crashes, mouse capture bugs, multi-monitor problems, and setup for DXVK and BepInEx plugins.
What worked for me may not work for you. The author takes no responsibility for you breaking your own setup by following any of the suggestions below. Be Careful. Take Backups. Keep track of where you are. Undo it if it doesnt work! You have been warned!
- Lutris installed
- GE-Proton or GE-Wine (install with ProtonUp-Qt or copy from Steam)
- SPTarkov already extracted and ready
- Wine prefix (this is like a Windows install folder, e.g.
WINEPREFIX="$PWD"or a custom path)
Set these in Lutris under the Runner Options > Environment Variables, or export them in your terminal/launcher script:
WINEFSYNC=1
WINEESYNC=1
DXVK_HUD=0
PROTON_NO_ESYNC=0
PROTON_NO_FSYNC=0✅ If you're using GE-Proton installed via Steam, it lives in something like:
~/.local/share/Steam/compatibilitytools.d/GE-Proton9-25/
So to run regedit with it, you'd do:
WINEPREFIX="$PWD" ~/.local/share/Steam/compatibilitytools.d/GE-Proton9-25/files/bin/wine regedit🧠 This method works the same way for GE-Wine — just locate the Wine binary in your GE-Wine directory instead.
This step avoids freezing, mouse trap issues, and crashes when switching monitors or alt-tabbing.
- Run:
WINEPREFIX="$PWD" path/to/wine regedit(Use your actual GE-Proton or GE-Wine wine binary path as shown above.)
- Inside
regedit, navigate to:
HKEY_CURRENT_USER\Software\Wine\Explorer
If it doesn't exist, create the keys manually:
- Right-click
Wine> New > Key >Explorer
- Inside
Explorer, create a new String Value:
- Name:
Desktops - Type:
REG_SZ - Value:
2560x1440(or your actual screen resolution)
✅ This forces Wine to run the game in a contained window matching your screen resolution. It prevents Unity (the engine Tarkov uses) from losing its mind on focus loss.
You might not need this in all setups, but it helps when:
- Using multi-monitor layouts
- Running tiling window managers like i3
- Experiencing mouse getting trapped or crashing when alt-tabbing
If you’re using multiple monitors or something like i3:
- Don’t move the Tarkov window between monitors while it’s running
- Avoid using borderless windowed mode unless you're using the virtual desktop
- Use the mouse capture toggle plugin (see below) to escape traps
If you want to disable DXVK’s performance overlay or logging, you can create a config file:
Create dxvk.conf in your game folder:
${GAMEDIR}/dxvk.confWith the following content:
# Disable HUD and suppress logs
hud = 0
logLevel = noneTell DXVK to use this file by setting this environment variable:
export DXVK_CONFIG_FILE="${GAMEDIR}/dxvk.conf"Or in Lutris:
DXVK_CONFIG_FILE=${GAMEDIR}/dxvk.conf
To get full control over mouse trapping behavior (common in Unity games like Tarkov), use the custom plugin you built.
/<LocationOfSPTarkov>/BepInEx/plugins/MouseEscapePlugin/- Press F11 to toggle mouse lock on/off
- Mouse lock resumes automatically on click or key press
- Great for workflow flexibility, especially in tiling window managers
Double-check that the plugin is loading by looking in BepInEx/LogOutput.log after launch.
- GE-Proton or GE-Wine installed and selected in Lutris
- Environment variables set (FSYNC/ESYNC, etc.)
- Wine registry virtual desktop enabled
- DXVK config used (optional)
- Mouse capture toggle plugin installed
- No crashes on alt-tab, workspace switch, or monitor changes
🎉 That’s it! You’re now ready to play SPTarkov on Linux with better stability, mouse control, and multi-monitor support.
Let me know if you’d like a zipped mod installer, GitHub release setup, or BepInEx build helper script!