You are not logged in.

#1 2015-04-27 01:13:34

MGu3l
Member
From: Medellín, Colombia
Registered: 2009-12-19
Posts: 109

Remove Spotify tray icon

I'm using Arch with XFCE and don't want the Spotify tray icon to appear on my notification area. I've tried removing or renamiong the *.ico file inside -Linux folder ond resources.zip but each time I try to do it it just says the file doesn't exist.

That's the most popular method I've seen on the Internet but is not working for me. Does anybody knows another method to do it?

PS: I don want to hide it, i want to completely remove it form the Nofitication Area.

Last edited by MGu3l (2015-04-27 15:48:21)


"Dream as if you'll live forever, live as if you'll die today" - James Dean

Offline

#2 2015-04-27 14:06:18

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Remove Spotify tray icon

install spotify-beta. its much less buggy and also removes the tray icon.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#3 2015-04-27 17:46:51

MGu3l
Member
From: Medellín, Colombia
Registered: 2009-12-19
Posts: 109

Re: Remove Spotify tray icon

Thank you so much!! its working perfectly and also it seems that blockify works with this version.

Just a little question, this is how it looks on my panel: http://i.imgur.com/2F2IbVNl.png you know if there's a way to assign an icont to it instead of that generic windows? it has an icon on the menu but i would like to add it there too.


"Dream as if you'll live forever, live as if you'll die today" - James Dean

Offline

#4 2015-04-27 17:59:23

toz
Member
Registered: 2011-10-28
Posts: 513

Re: Remove Spotify tray icon

Not sure if there is an easier way, but here is the script that I use to start spotify and change it's icon. You'll need the xseticon package from the AUR for it work. Save the script as /usr/local/bin/spotify and set it as executable (change the ICON= line to point to the png icon that you want to use)

#!/bin/bash

### EDIT THESE VALUES #########################################################
APP="/usr/bin/spotify"	                # path to real executable
ICON="/usr/local/share/spotify.png"    	# icon file - only png supported
WAIT=2                			# wait time - adjust until icon changes
###############################################################################

###############################################################################
### DON'T CHANGE ANYTHING BELOW
###############################################################################
function change-panel-icon {

    sleep $WAIT
    activeWinLine=$(xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)")
    activeWinId="${activeWinLine:40}"

    xseticon -id "$activeWinId" "$ICON"
}

$APP & change-panel-icon

Offline

Board footer

Powered by FluxBB