Quite simply, how do I setup, configure and use the Sony DUALSHOCK 4 controller with Ubuntu 14.10 ("Utopic Unicorn")?
I remember the Linux kernel was updated a while back to add native support... Does this mean I should be able to simply pair it by bluetooth (from the notification area) and off I go?
Or is there more to it than this?
I tried to follow these instructions: https://askubuntu.com/a/450091/230107
But when I type sudo pip install ds4drv, I am told sudo: pip: command not found.
Okay, all one needs to do is "pair" the controller just like any other bluetooth device - these instructions relate to the "regular" variant of Ubuntu, so adjust them accordingly if you use a different variant of Ubuntu or a different Linux-based operating system...
Share
buttons to put the controller into "pairing" mode (the Light Bar/LED should start to rapidly blink/flash), then pair the controller with the computer using the bluetooth settings (Settings → Bluetooth → Wireless Controller).Once the controller is "paired", you can turn it on by pressing (not holding!) the button - do this before starting Steam or a game, because sometimes they may not recognize the controller if you do this after opening Steam or a game.
Ubuntu 20.04 LTS ("Focal Fossa") and newer has pseudo-official support for the DUALSHOCK 4 (it correctly recognizes the DUALSHOCK 4 as a gaming controller) and Valve Software's Steam has native/official support... Ubuntu doesn't offer anything in the way of configuration for controllers at the time of writing, but Steam has a default setup available or you can configure the controller to your individual liking - to do this, go into "Big Picture Mode" and adjust the "Controller" settings.
A few points about what I have noticed however...
Updated content of answer to reflect experience using Ubuntu LTS 18.04 ("Bionic Beaver") and the most recent version of Steam as at September 8th, 2018.
Before typing, SUDO PIP INSTALL DS4DRV, you need to type, SUDO APT INSTALL PYTHON3 (or what version of python you have) -PIP. Without pip, Ubuntu doesn't know what pip is.