MX Linux Gaming Tweaks

MX Linux Gaming Tweaks

These problems may have been fixed after this page was written, so be sure to test things fully before you apply these fixes.

I moved from “UBUNTU MATE 18.04 LTS” to “MX Linux 18.3 Continuum” about two weeks ago, and I have to say I love it. Although there were a few little niggles I had to sort out for gaming on this distro.

XBox 360 Controller Issues

The first fix, was to stop my wired X-box 360 controller analogue sticks from moving my mouse cursor around the screen. If you have this problem too, you can fix it by creating a,

/etc/X11/xorg.conf.d/50-joystick.conf  

Edit it with the following,

Section "InputClass"
    Identifier "joystick catchall"
    MatchIsJoystick "on"
    MatchDevicePath "/dev/input/event*"
    Driver "joystick"
    Option "StartKeysEnabled" "False" 
Option "StartMouseEnabled" "False"
EndSection

Save the file and relog. The next time you login to your session, your X-box controller will not move your mouse cursor around the screen, but will still function as normal in games.

Esync on MX Linux

The next was to enable “E-Sync” for MX Linux. MX Linux doesn’t use “Systemd” by default. So, to enable the same functionality for Esync as I had under Ubuntu, I did this in terminal,

 sudo nano /etc/security/limits.conf

at the bottom of the file you’ll see

 #<domain>      <type>  <item>         <value>
- under "<domain>", enter your username (in my case it is "supa") 
- under "<type>", set it to "hard" 
- under "<item>", set it to "nofile" 
- under "<value>", set that to "524288"

Example,

#<domain>      <type>   <item>         <value>
supa           hard     nofile         524288

📝 Ensure to remove the # sign on the same line as your user name for the changes to take effect on your next login.

Save the file changes. The next time you run a Windows game in “Lutris”, it will no longer complain about Esync limits not being set. After I applied these changes, Lutris no longer complained about Esync, and I was good to go for gaming on MX Linux.