Fedora 19 and low-def ugly app icons on gnome

Sometimes something just irritates you too much to leave it unresolved... this is about one of those headbanging sessions.




I have a Sony Vaio Pro laptop with full HD display running Fedora 19 with Gnome and it is a real beauty; the combination is so darn nice looking that I just can't stand any mediocre icons when it comes to the desktop and utilizing the superb Sony display.
The standard Fedora installation looks excellent but after installing additional software from sources and extra repositories you may find that there are some applications with really ugly icons like gLabels (for Epson network label printer), Freemind (mind maps) and Spotify (streaming music).

Now I love Linux in every way but unfortunately not all companies think the same; Spotify is one of those.

Spotify offers a Linux client but that is not the issue - it is the application icon that is just a crime :-) And as far as I remember it has been like this (2011....)

So just install Spotify with excellent instructions from here: http://www.ulyaoth.asia/2012/03/01/spotify-for-linux-preview-installation-in-fedora-19/

In my case the installation was as easy as running this command in terminal:
sudo yum install http://trash.ulyaoth.asia/trash/rpm/spotify-client-0.9.1.55.ulyaoth-1.fc19.x86_64.rpm

The real issue is the fact that Spotify is missing a nice looking hi-def icon which is not acceptable (as a premium subscriber since 2010 I demand more). The one that comes with Spotify is just too ugly to leave unresolved.

So let's fix this!

First of all we need to find a quality icon; I do play a lot with Inkscape and Adobe Illustrator and Scalable Vector Graphics (SVG) icon is what is needed here. I have found that Wikipedia is an excellent source of SVG images and as it turns out there is one for Spotify also - lets get it and place it in the right directory with the wget command (if you are missing wget command then just run command sudo yum install wget prior to next command).


sudo wget -P /usr/share/spotify-client/Icons/ http://upload.wikimedia.org/wikipedia/commons/4/4e/Spotify_Shiny_Icon.svg

And then we fix the desktop link file
sudo nano /usr/share/applications/spotify.desktop

Below is the file - the Icon-row has been updated to point to the new location

[Desktop Entry]
Name=Spotify
GenericName=Music Player
Comment=Listen to music using Spotify
Icon=/usr/share/spotify-client/Icons/Spotify_Shiny_Icon.svg
Exec=/bin/bash /usr/bin/spotify %U
TryExec=/bin/bash
Terminal=false
Type=Application
Categories=Audio;AudioVideo;Player;Qt;
MimeType=x-scheme-handler/spotify;
X-Desktop-File-Install-Version=0.21


Now that's it - you have a scalable icon that looks good on any display. Enjoy.

Disclaimer 1: there is always the Spotify on the Chrome browser but it is missing the offline option so that is not an option for me.
Disclaimer 2: this is not a Linux issue: OSX with Retina display has issues with low-def icons too.. I guess boring bricks with text would solve this - pun intended Win8 :-)

BTW: There are a lot of alternative Spotify icons if the one above looks ugly as beauty is in the eye of the beholder. Just Google it with 'spotify svg wikipedia' and grab a symmetric one.

P.S. If you like Nightingale (powerfull player for Linux/Mac/Windows) on Fedora 19 and have installed it from the Tarball you need to create the desktop link file:

sudo nano /usr/share/applications/nightingale.desktop

With content like the one below (Icon & Exec paths depend on where you installed the Nightingale)

[Desktop Entry]
Encoding=UTF-8
Name=Nightingale
Comment=Nightingale Player
Icon=/usr/share/Nightingale/chrome/icons/default/default.xpm
GenericName=Nightingale
Type=Application
Exec=/usr/share/Nightingale/nightingale
Terminal=false
Categories=Audio/Video;


Comments