Connecting PS4 Controller dualshock via Bluetooth in Ubuntu

PS4 controllers work out of the box in Ubuntu with USB cable but I was looking for a way to get it work via Bluetooth as well. After installing a couple of packages I found “ds4drv”.
To install it:

Then you have to either add the user to the list of root user or simply run it with sudo:

Now hold ps button and share button on the controller and you should see the following in your terminal:

To check the button and see if everything is okay jut install jstest-gtk

Leave a Reply

avatar
  Subscribe  
Notify of