Commands:
$ cd Desktop
$ wget https://raw.githubusercontent.com/Librebowski/DS4DRV_Easy/blob/master/ds4drv.sh
$ chmod +x DS4DRV.sh
$ sudo ./DS4DRV.sh
Authenticate with your password and you are good to go.
#Install script for DS4DRV by: Librebowski.
#For use with all Ubuntu and Debian variants.
https://github.com/Librebowski/DS4DRV_Easy/blob/master/ds4drv.sh
#This script enables and configures DS4DRV with X-Box and PlayStation configurations with the ability to switch FAST between the two.
Instructions for pairing:
Step 1: Pair controler in the Bluetooth Manager on the top bar and make sure your first step is "Add" or "Add device".
Step 2: once paired correctly proceed to the next step.
Step 3: Now its kinda paired but not really (dont worry you dont have to do that last step everytime).
Step 4: Open Terminal and type: ds4drv and hit enter, hold Option and the middle button on the controller once the controller starts flashing you have finished the pairing process.
Step 5: (Optional) switch to XBox mode by holding R1 L1 and the middle button. This mode offer more compatibility in games.
Video guide: https://www.youtube.com/watch?v=y8PFwXfDSk0
Have fun I hope you guys enjoy Gaming on Linux! Welcome to the community which is what makes all this possible.
Special thanks to: https://github.com/chrippa/ds4drv/
-Librebowski