Saturday, August 20, 2016

How to get Deepin Music player working in elementary OS Freya

Deepin Music Player is designed by Linux Deepin team and it's a default audio player in Deepin OS. It has many cool features like a skinnable UI (like the old WinAMP), lyrics display, FM, online audio support and a mini mode.

Noobslab posted a walkthrough to get it working in "All Ubuntu and Linux Mint Versions," and I can install it without a hitch by using their method (just the usual add the ppa, update, install). However, when I try to run it from the Applications menu, it is unresponsive. When I run it from the terminal I get the following:
Gtk-Message: Failed to load module "pantheon-filechooser-module"
INFO Loading settings...
INFO Loading application theme...
INFO Loading MediaDB...
INFO Initialize Gui...
<class 'Xlib.protocol.request.QueryExtension'>
INFO MMKeys mode: gnome
Attempt to unlock mutex that was not locked
This appears to be a bug in GTK itself making it incompatible with glib >= 2.41 (both from gnome...).

DISCLAIMER: I am not a trained professional. I am not a Linux, GTK, Gnome or any other sort of technological expert. USE THIS ADVICE AND MODIFY YOUR SYSTEM AT YOUR OWN RISK!!

By updating the sources list for Deepin to add the Vivid repositories, I was able to update some of the dependencies to get the program to work. Here's what I did:
1. Open Files as Administrator

2. Navigate to the deepin sources list located at /etc/apt/sources.list.d/noobslab-deepin-sc-trusty.list

3. Open it as administrator in Scratch and add the following repositories (I'm making you add them all because I can't remember which on the files are in that we need): 

deb vivid main restricted
deb vivid-updates main restricted
deb vivid universe
deb vivid-updates universe
deb vivid multiverse
deb vivid-updates multiverse
deb vivid-backports main restricted universe multiverse
deb vivid-security main restricted
deb vivid-security universe
deb vivid-security multiverse

AFTER THIS PROCESS IS OVER, GO BACK INTO THIS FILE AND REMOVE THE VIVID SOURCES!!!!!!!!!!!! Otherwise, if you upgrade your system (via sudo apt-get dist-upgrade) it could upgrade using these repos and break your system!!

4. In terminal, run [sudo apt-get update]

5. Then run [sudo apt-get install libglib2.0-0 libc-bin libgtk2.0-0] to install the updated libraries that Deepin Music needs.

6. Restart your computer (not sure if this is necessary, but I always do).

7. Run Deepin Music from the Applications menu and ENJOY!!

1 comment:

  1. Is there a way to run Deepin Movie too on eos freya?