The Long Dark On The Wrong Monitor

Having trouble with The Long Dark launching on the wrong monitor on your Ubuntu desktop? Here is how you fix it!

Locate the configuration file

This can be a bit tricky because there are two folders if you have had the game installed for a while.

vim ~/.config/unity3d/Hinterland/The\ Long\ Dark/prefs
## or
vim ~/.config/unity3d/Hinterland/TheLongDark/prefs

Change the monitor

All you need to do is change the UnitySelectMonitor setting to a different number. This number is based off of how many monitors you have. Left of your main monitor is negative. Right of the main monitor is positive.

On my Nvidia dual-screen machine, I can choose between 0 and -1. My monitor setup looks like this:

Screenshot of Ubuntu monitor configuration screen

The yellow screen is considered -1 and 0 is the blue screen on the right.

Save and test

After making the change above, make sure you save and then start the game. There should be no problems.


If you have multiple games on the Unity engine, you can modify your shared preferences which exist in ~/.config/unity3d/global.prefs.

<unity_prefs version_major="1" version_minor="1">
	<pref name="UnitySelectMonitor" type="int">-1</pref>