X-Plane 12 (Linux)
Linux Native (UDP Protocol)
Use this method if you're running the native Linux version of X-Plane 12.
Prerequisites
- Install the headtrack plugin for X-Plane 12:
- Download the headtrack plugin from GitHub: amyinorbit/headtrack
- Get the latest release: 2209.1r2 (as of the original writing)
- Download the release zip file: htrack-1010-2209.1r2.zip
- Extract the zip file and navigate to the
htrack/lin_x64 folder
- Copy
htrack.xpl to your X-Plane plugin folder (usually X-Plane 12/Resources/plugins)
LookPilot Configuration
- Set protocol to
udp
- Set IP address to
127.0.0.1
- Set port to
4242
- Click Start to begin tracking
X-Plane 12 Setup
- Start X-Plane 12 and launch your aircraft
- Once in the cockpit, move your mouse cursor to the top of the screen to open the menu bar
- Click on Plugins
- You should see HeadTrack in the menu
- Click Track Head Motion to enable head tracking
- Additional settings can be found in the Settings... option in the plugin's menu
Windows via Wine
Use these methods if you're running the Windows version of X-Plane 12 via Wine/Proton.
Option 1: Auto Protocol
- Set protocol to
auto
- Launch X-Plane 12
- Select the X-Plane 12 Wine prefix in the
Game's Wine prefix dropdown
- Click Start tracking to begin tracking and wait for about 10 seconds
- Click Stop tracking
- Restart the game
- Click Start tracking
Option 2: Freetrack (Wine)
If the auto method doesn't work, try using the freetrack (Wine) protocol:
- Set protocol to
freetrack (Wine)
- Set launcher to
Other
- Find and select X-Plane 12's
Wine prefix path
- Find and select X-Plane 12's
Wine executable path
- Launch the game
- Click Start tracking to begin tracking and wait for about 10 seconds
- Click Stop tracking
- Restart the game
- Click Start tracking
Head tracking should work out of the box once properly configured. No additional in-game setup is required for the auto and freetrack protocols.
Tips
- For the UDP method, make initial adjustments and response curve settings in LookPilot first, then fine-tune in the plugin if needed
- The UDP method eliminates Wine overhead and may provide better performance
- The UDP method has been tested to work reliably on Ubuntu/Kubuntu 23.10
Credits
The UDP solution is based on the work by Randy Bancroft (CannonFodderSE) documented in the OpenTrack GitHub discussions.