Getting Saucy

Fixing Sound in Hipchat on Linux

Introduction

user

Jake Champlin

Husband, Hacker, Padawan, Operations Engineer, Gearhead, and Pancake Enthusiast


Fixing Sound in Hipchat on Linux

Posted by Jake Champlin on .
Featured

Fixing Sound in Hipchat on Linux

Posted by Jake Champlin on .

Lately I've been using Linux 100% for work, and honestly have felt absolutely no need to switch back to other inferior operating systems. All the FUD aside, Linux on the desktop has actually become an extremely stable and rewarding environment to work in. (Expect a blog post soon about my setup, what's good - what's bad)

One minor issue I encountered, was when using the native Linux Hipchat client, I had no sound notifications at all. Even after opening a ticket with Atlassian, the solution was "Not a problem for me", even though it seems to be a valid problem.

It turns out (At least on the latest version - 2.2.1328; which came out in 2013 btw), depends on libcanberra-0.28. However, if you are running Ubuntu 14.04 or ArchLinux, the version of libcanberra that is installed is 0.30. Luckily the fix is simple, if not sightly dumb.

Arch Linux:

# If you don't have yaourt, just use Pacman  
yaourt -S libcanberra ubuntu-sounds

# Make the old school lib directory
sudo mkdir -p /usr/lib/x86_64-linux-gnu/libcanberra-0.28

cd /usr/lib/x86_64-linux-gnu/libcanberra-0.28/  
sudo ln -s /usr/lib64/libcanberra-0.30/* ./  

Ubuntu 14.04:

# Install libcanberra if not already installed
sudo apt-get install libcanberra-gtk-module

# Make the directory for libcanberra-0.28
sudo mkdir /usr/lib/x86_64-linux-gnu/libcanberra-0.28/

cd /usr/lib/x86_64-linux-gnu/libcanberra-0.28/  
# Symlink the library.. :( 
sudo ln -s /usr/lib/x86_64-linux-gnu/libcanberra-0.30/* ./  

Then quit and restart Hipsterchat and you should have working sound again. Admittedly this is a horrible fix, but it works.
Cheers!

user

Jake Champlin

Husband, Hacker, Padawan, Operations Engineer, Gearhead, and Pancake Enthusiast