Showing posts with label Spotify. Show all posts
Showing posts with label Spotify. Show all posts

Saturday, October 24, 2015

Fix Missing libgcrypt11 Causing Spotify, Brackets And Other Apps Not To Work / Install In Ubuntu 15.04

In Ubuntu 15.04 Vivid Vervet (any flavor, be it Xubuntu, Ubuntu MATE, Kubuntu, etc.), libgcrypt11 is no longer available in the repositories (it uses libgcrypt20 only) and some applications like Spotify, Brackets and others cannot be installed or they don't run unless libgcrypt11 installed:
$ spotify
spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
or:
$ sudo dpkg -i Brackets.1.2.Extract.64-bit.deb
..............................
dpkg: dependency problems prevent configuration of brackets:
 brackets depends on libgcrypt11 (>= 1.4.5); however:
  Package libgcrypt11 is not installed.

dpkg: error processing package brackets (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
Errors were encountered while processing:
 brackets

Until these third-party application are repackaged to depend on libgcrypt20 instead of libgcrypt11 or they ship with the libgcrypt11.so library so they work properly in Ubuntu 15.04 Vivid Vervet, here's a quick fix/workaround.

I should mention that this only affects fresh installs of the final Ubuntu 15.04 release. I installed Ubuntu 15.04 while it was still in alpha and back then, libgcrypt11 was already available (and it's still installed today) so I didn't notice the issue until it was reported by a few failsdownloads readers (thanks to Ian Watters, Patrick and Lulzim for the comments regarding this!).

To be able to use Spotify, Brackets and other apps that require libgcrypt11 in Ubuntu 15.04, all you have to do is install libgcrypt11 from an older Ubuntu version, such as Ubuntu 14.04 LTS:

Or grab libgcrypt11 debs for any architecture from HERE.

Important: on 64bit, you may also need to install the 32bit package if the app that requires libgcrypt11 uses a multiarch package.

Once installed, Spotify, Brackets, etc. should work under Ubuntu 15.04:

Spotify Ubuntu 15.04
Brackets note: this issue occurs with the official Brackets debs but not with the Brackets version from the failsdownloads Brackets PPA (I fixed this issue for the PPA packages today).
Read more »

Tuesday, October 20, 2015

Spotify For Linux Gets A Refreshed User Interface, Other Changes

Spotify is a music streaming service that comes with native clients for Microsoft Windows, Mac OS X, Linux as well as mobile devices such as iOS, Android, BlackBerry, etc. 

The service is available in quite a few countries, including US, UK, Sweden, Spain, Portugal, Norway, Netherlands and more - see the Spotify Geographic availability @ Wikipedia.

Spotify 0.9.10 linux

The native Spotify Linux client was updated to version 0.9.10 recently, which introduces a new darker theme, refreshed typography and rounded iconography. There are also some Linux-specific changes:
  • Track change notifications via libnotify;
  • OpenSSL is now version 1.0.x;
  • Local files playback works with libavcodec54;

Unfortunately, the new 0.9.10 release is only available for 64bit, at least for now. There are some issues too - for instance, it doesn't work to drag from an HTML5 view to a legacy view (such as the sidebar).

Also, some users have reported issues with the track change notifications - if you're experiencing such problems, open a terminal and start the Spotify Linux client using the following command:
spotify --ui.track_notifications_enabled=false


Install Spotify In Ubuntu via PPA [version 0.9.10 is only available on 64bit for now!]


To add the official Spotify Ubuntu repository and install the native Spotify Linux (Qt) client, use the following commands:
sudo sh -c 'echo "deb http://repository.spotify.com/ stable non-free" > /etc/apt/sources.list.d/spotify.list'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
sudo apt-get update
sudo apt-get install spotify-client
(an older Spotify version is available for 32bit)

For other Linux distributions, see the installation instructions from HERE. (note that the repository line from those instructions is not correct and will cause apt-get to fail on Ubuntu - use the above instructions instead if you use Ubuntu)

It's also worth mentioning that the Spotify Ambiance theme (and any other custom theme for that matter) doesn't work with the latest Spotify Linux client.

info via Spotify
Read more »

Tuesday, October 6, 2015

How To Disable The Spotify Tray / AppIndicator Icon In Ubuntu

The native Spotify Linux client uses a tray icon / appindicator that can't be set by the icon theme so it doesn't integrate with the rest of the Ubuntu desktop. Furthermore, Spotify is integrated in the Ubuntu Sound Menu so the tray icon is not needed.

Below you'll find two ways of removing / hiding the Spotify tray icon.

Spotify tray icon Ubuntu

After using the instructions below to disable / hide the Spotify tray icon, you'll have to exit Spotify by selecting File > Exit from its menu. 

Don't click the close button on the Spotify window because that won't close Spotify, it will only hide its window. If you accidentally close Spotify using the window close button, you can bring back its window by opening Spotify again from the menu / Dash (that won't open another Spotify instance and instead, it will only bring back the running Spotify window).

Notes:
  • Ubuntu 12.04, 12.10 and 13.04 only: instead of the instructions below, you can also use a variation of the Spotify Ambiance theme that hides the tray icon, which you can find HERE (look under "Other downloads).
  • the Spotify tray icon is turned into an AppIndicator in Ubuntu by the sni-qt package - you could remove this package to disable the Spotify AppIndicator/tray icon but this will also disable the tray icon to appindicator conversion for other Qt applications such as Skype, VLC and so on, so I don't recommend it.

How to disable / hide the Spotify tray icon in Ubuntu


Spotify Linux client running on Ubuntu 14.04 with no tray / appindicator icon

Method 1: Ubuntu 12.04, 12.10 and 13.04 only (doesn't work for newer Ubuntu releases)

Using the instructions below, the Spotify tray icon will not be removed but it will be hidden. This has the advantage that you can continue to use the HUD (if you use Unity) to access the items available in the Spotify tray icon: pause, next, previous, shuffle or repeat, as well as hide/show the Spotify window or quit Spotify.


To hide the Spotify tray/appindicator icon, firstly make sure Spotify is closed, then use the following commands:

1. Make a backup:
sudo cp /opt/spotify/spotify-client/Data/resources.zip /opt/spotify/spotify-client/Data/resources.zip.old

2. Hide the Spotify tray icon:
sudo apt-get install zip
sudo zip --delete /opt/spotify/spotify-client/Data/resources.zip "_linux/*.ico"
The last command above deletes the .ico files from the "resources.zip" file from the Spotify Data folder, so the icon no longer appears on the top Ubuntu panel.

Method 2: any Ubuntu version (including 13.10 and 14.04, which are not supported by the first method)

The second method uses an AppArmor profile (via Özcan Esen) to completely disable the Spotify tray/appindicator icon.

To completely disable the Spotify tray icon, firstly make sure Spotify is closed, then use the following commands:
wget http://raw.github.com/ozcanesen/spotify-indicator/master/spotify -O /tmp/spotify
sudo cp /tmp/spotify /etc/apparmor.d/
sudo service apparmor reload


How to revert the changes


If you've used Method 1, revert the changes using the following command (firstly make sure Spotify is closed):
sudo mv /opt/spotify/spotify-client/Data/resources.zip.old /opt/spotify/spotify-client/Data/resources.zip

If you've used Method 2, you can revert the changes using these commands (make sure Spotify is closed):
sudo rm /etc/apparmor.d/spotify
sudo service apparmor reload

Also see: Spotify Ambiance theme (comes with monochrome icons for the Spotify tray/appindicator)
Read more »

Nuvola Player 2.5 Released With Spotify Web Player And Grooveshark Mobile (HTML5) Support

Nuvola Player 2.5 was released yesterday, bringing support for new services such as Spotify Web Player, Grooveshark Mobile (HTML5) and others, as well as improvements for some already existing services.

Nuvola Player 2.5

For those not familiar with Nuvola Player, this is a cloud music player which integrates various cloud music services such as Google Play Music, Grooveshark, Amazon Cloud Player, Bandcamp, Deezer, Hype Machine, 8tracks, Pandora, Rdio, This is My Jam and Pandora with your desktop.

Using it, you'll get desktop notifications, integration with the Ubuntu Sound Menu as well as GNOME Shell Media Player extension, Unity quicklists, multimedia keys support, lyrics, last.fm and libre.fm scrobbling and more. Most of these features are available as plugins so you can easily enable/disable them.

Changes in Nuvola Player 2.5:
  • added Grooveshark Mobile (HTML5), Spotify Web Player (doesn't require a premium account) and Jango integration;
  • added support for Amazon Music Prime streaming;
  • Grooveshark inactivity pop-up window is now automatically dismissed;
  • Fixed MPRIS memory leak and optimized metadata property;
  • Last FM: Update now playing only once on state/song change;
  • Updated Google Play Music country availability;
  • Removed non-functional Service updates functionality. Updates will be included in Nuvola Player bug fix releases;
  • Users with Nuvola Patrons membership are not bothered by a donate bar if they log in with their Tiliado account in preferences.

The complete Nuvola Player 2.5 changelog can be found HERE.

In other Nuvola Player related news, its developers  are currently working on Nuvola Player 3, which has a new code-base written from scratch. Among others, Nuvola Player 3 was ported to "the second generation of the WebKit2Gtk+ web rendering library that doesn't suffer from Flash plugin compatibility issues". 

If you want to try Nuvola Player 3 (currently in alpha), see THIS page.


Install Nuvola Player in Ubuntu via PPA


Ubuntu 14.10, 14.04 and 12.04 / Linux Mint 17.1, 17 and 13 users can install the latest stable Nuvola Player by using its official stable PPA. Add the PPA and install the player using the following commands:
sudo add-apt-repository ppa:nuvola-player-builders/stable
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install nuvolaplayer

According to the Nuvola Player official installation instructions, running "sudo apt-get upgrade" is required (that's why I added it to the installation instructions above) before installing Nuvola Player or else apt-get may fail to resolve some dependencies and the custom Flash Plugin required by some Nuvola Player services won't be installed and thus, those services will fail to work.

For Debian, Arch Linux and other Linux distributions, see the Nuvola Player downloads page.

If you want to contribute (report bugs, add new services, help with translations, donate, and so on), see THIS page.
Read more »