How to install Xbox 360 controller on Ubuntu and derivatives?

xbox controller ubuntu

Si you are passionate about games without a doubt you will have personalized your Ubuntu in the best way to be able to enjoy your favorite titles on your system.

From having the most popular retro console emulators to having the Steam application installed on your system, with which you can run your favorite titles and keep them in your library.

Though natively, PC games come with a key mapping so you can enjoy them with the help of your keyboard and mouse, It is not always the most comfortable thing or at least for most of the people I know it is not like that.

That is why there are joysticks and USB controls which you can install and configure in the system and in your games to be able to have a better gaming experience within them.

Also many of you will have an XBOX 360 control which is one of the most popular consoles and with which we have the possibility of being able to use it in our system.

We can make use of both wireless control (as long as you have the receiver) and also control via USB.

It is possible to use these controls natively without installing additional software., but at least from me and from Some people have encountered some complications with the use of the wireless controls.

For this situation we can make use of a controller which will support us to be able to use the XBOX controls in our system, in addition to having the support for the Xbox One and Xbox 360 controls, both USB and wireless, original or third-party as well as the Guitar for Xbox 360 and some dancemats for Xbox.

Unlike xpad kernel driver support, xboxdrv offers a wide variety of configuration options- Allows you to simulate keyboard and mouse events, remap buttons, automate some executions, reverse axes, adjust axis sensitivity, emulate throttle controls, and send macros.

How to install xboxdrv on Ubuntu 18.04 LTS and derivatives?

To be able to use our XBOX, XBOX 360 and XBOX ONE control in the system we need to add the following repository to the system.

xbox-1

We must open a terminal in the system with Ctrl + Alt + T and execute the following command in it to add the repository:

sudo apt-add-repository -y ppa:rael-gc/ubuntu-xboxdrv

Now we are going to update the list of packages and repositories with:

sudo apt-get update

Done this We proceed to install the application with:

sudo apt-get install ubuntu-xboxdrv

UOnce the driver is installed, simply connect your device to your computer, without the need to include a blacklist, since everything should work correctly.

However, in case of conflicts with XboxDRV we can manually enable the servios and launch them in the system.

Begin by activating the service. This will ensure that XboxDRV will work every time the system boots.

They will only have to type the following command in terminal:

sudo systemctl enable xboxdrv.service

Now that it is enabled, you can start the service so that you can use the driver right away.

We do this with the command:

sudo systemctl start xboxdrv.service

After all of this is done, XboxDRV should be up and running.

Setting up multiple controllers with Xbox DRV

Natively Xbox DRV has support for 4 controllers connected at the same time, this can be limited or enabled according to your needs.

For this we can edit the following file

sudo nano /etc/default/xboxdrv/

Si We want to have the 4 ports enabled, we must have the file as follows, where we can edit with false to limit in the same way.

[xboxdrv]

silent = true

next-controller = true

next-controller = true

next-controller = true

Once the file has been edited, it is enough to restart the Xbox DRV service on the system for the changes to take effect.

We do this with the following command.

sudo systemctl restart xboxdrv.service

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Ariel Cases Vello said

    Thanks for the info. I didn't even know that I had to install it, I used the Deepin derivative and it was just connect and go

  2.   Oscar said

    Hello; is this for wired or wireless play? if not wired thanks; If it is with cable, could you make a tutorial to use it without cable and with the receiver that brings the xbox one control?

  3.   Jose Iglesias placeholder image said

    The command "systemctl" does not work for me, the terminal says that it cannot find it