How to Setup an Xbox One Controller in Ubuntu

Photo of author
Written By Larious

Larious is the Executive Editor of LowkeyTech. He is a tech enthusiast and a content writer. 





Last Updated on April 13, 2021 by Larious

Linux comes nowhere close to Windows when it comes to gaming. Linux is the least preferred operating system for gaming. Linux is meant to be lightweight and mostly used for security & penetration testing.

However, some users still want to play games on their Linux distribution like Ubuntu. Ubuntu may not be the best Linux distro, but it’s very user-friendly, and it can handle few games easily. Even you can use Microsoft’s Xbox One Controller with Linux to play your favorite games.

Set up an Xbox One Controller in Ubuntu

For a while now, the Linux Kernel has supported the Microsoft Xbox One Controller, but one needs to set up the controller manually in Ubuntu. In this article, we will share a step-by-step guide on how to set up Xbox one Controller in Ubuntu. Let’s check out.

Installing the XboxDRV Driver

Installing the XboxDRV Driver

If you want to use Xbox one controller in Ubuntu, you need to install the XboxDRV driver. For that, open the terminal and enter the following command –

sudo apt-get install xboxdrv

This would install the Xbox drivers. You don’t need to do anything else. However, if you want the XboxDRV to work effectively, you need to enable few services. Enter the two commands given below one by one.

sudo systemctl enable xboxdrv.service

sudo systemctl start xboxdrv.service

Once the commands were executed, the XboxDrv should work fine.

Set Up Multiple Controllers with Xbox DRV

The best thing about the XboxDRV driver is that it’s pretty easy to set up and use. The XboxDRV driver also works well with multiple controllers. Here’s how you can set up multiple controllers in Ubuntu with Xbox DRV

First of all, open the terminal and enter the following command –

sudo nano /etc/default/xboxdrv/

This will open the default configuration file. If you want to add multi-controller support, add the script to this file. Make sure to paste the code under ‘silent = true’ in the file –

silent = true
next-controller = true
next-controller = true
next-controller = true

Once done, press CTRL+O to save the file. Once done, restart the XboxDRV driver with this command –

sudo systemctl restart xboxdrv.service

That’s it! You are done. This is how you can set up multiple controllers with Xbox DRV in Ubuntu.

So, this article is all about how to set up an Xbox one Controller in Ubuntu. I hope this article helped you! Please share it with your friends also. If you have any doubts about this, let us know in the comment box below.


6 Best Windows Power User Features You Should Be Using!

10 Best Secure Android Browsers To Browse Web Securely


Leave a comment