January 19, 2015

Radio Tray Stopped Working In Freya

Radio Tray is an online radio streaming player that runs on Wingpanel. Radio Tray is not a full featured music player, it is a simple application with minimal interface just to listen to online radios. And that's the sole purpose of Radio Tray.

You can install it by opening a Terminal and typing :

sudo apt-get install radiotray 

or by downloading radiotray_0.7.3_all.deb from sourceforge. Install the downloaded package with gdebi. Gdebi is a simple tool to install deb files. It lets you install local deb packages resolving and installing its dependencies.

Sadly Radio Tray stopped working lately in Freya after all the updates.

Starting from a Terminal :

/usr/bin/radiotray showed among other lines :

/usr/lib/python2.7/dist-packages/radiotray/AudioPlayerGStreamer.py:51: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.

After some searching I found a solution ( link ) :

Open a Terminal and :

cd /usr/lib/python2.7/dist-packages/radiotray
sudo nano SysTray.py

Use Ctrl+W ( Where Is ) to search for gtk.gdk.threads_init() and place a # sign in front of it.


Ctrl+O to WriteOut, File Name to Write: SysTray.py and hit Enter. Then Ctrl+X to Exit.

Now it will start....


The Ultimate List of Radio Stations