Using a DualShock 4 controller on Ubuntu?
If so, you may find the following new GNOME extension a handy thing to have around.
It’s called ‘Dual Shock 4 battery percentage’ and, in an unexpected and not at all predictable twist, it lets you see PS4 controller battery level on the GNOME desktop.
Nothing more, and nothing less.
‘you don’t have to open a separate app window to see the battery level’
The “point” of this extension is that you don’t have to open a separate app window or click on a menu to see the battery level as It’s there, on screen, in the GNOME top bar whenever the controller is connected.
A perfect passive approach that doesn’t encroach on some windowed gaming.
Not owning a PS4 I can’t test this particular extension out first hand, nor can I attest to how well the PS4 controller works on Linux in general. That said, reports from Reddit and YouTube (see below) do suggest that the PS4 controller works decently “out of the box” on Linux as a standard HID controller.
DualShock 4 is the latest version in a series of gamepads developed by Sony for use with the PlayStation console. As a wireless bluetooth device it’s possible to pair the PS4 controller with Linux (including Ubuntu, natch) and many apps like Steam support it pretty much out of the box.
Just “pair” the controller like a regular Bluetooth device and, all going well, you’re done!
Get the DualShock 4 Battery GNOME Extension
You can find the extension on Github. To install simply download the branch as a .zip and then unpack to your GNOME Extensions folder (or, for an easier way, load using GNOME Tweak Tool > Extensions > Add New):
This extension has been submitted to the GNOME Extensions website meaning the patient among you will be able to install it with a click or two using your web browser.
Frustratingly, as of writing, the extension has yet to be reviewed (no extension has been reviewed for several weeks now). We’ll update this post as and when it is.