Change icon in system tray

Questions about applications and software
Forum rules
Before you post please read this

Change icon in system tray

Postby longtom on Wed Jan 18, 2012 4:43 pm

Hi,

I have an lxpanel running with a black theme in LMDE xfce. When I start up Opera it uses an icon in the system tray with a light grey background - which looks plain ugly.

I did some research but couldn't come up with a winner.

Is it possible to change the appearance of an icon in the system tray and if yes, how?
Regards

longtom
User avatar
longtom
Level 2
Level 2
 
Posts: 65
Joined: Mon Sep 20, 2010 8:21 am

Linux Mint is funded by ads and donations.
 

Re: Change icon in system tray

Postby DataMan on Thu Jan 19, 2012 1:50 pm

You can change the default icon for application launcher's that are anchored to a panel.

1. Right click on the panel application icon.
2. Select the Properties.
3. Right click on the icon
4. Navigate to the icon you want to use (try starting at /usr/share/icons)

As another option, you can copy the icon that you are using and edit it with say GIMP and use the resulting image as a replacement.

Hope this helps.

-DataMan
Linux'd since 2005 Linux ID 422356 Ubuntu ID 15015
User avatar
DataMan
Level 6
Level 6
 
Posts: 1199
Joined: Thu Dec 04, 2008 6:47 am
Location: Carmel, Indiana USA at /var/www

Re: Change icon in system tray

Postby longtom on Thu Jan 19, 2012 3:28 pm

Thanks DataMan

However - the system tray is not an Application Launch Bar and right clicking on the Opera icon (or any other icon in the system tray) only produces credentials relaying to this particular program. There certainly is no option to change an icon. In any Application Launch Bar the icon used is the one from opera.desktop, as one would like to expect. The system tray, however, appears to follow different routes as far as icon allocation is concerned.

Just to clarify: The system tray (for me) is the part of the panel where icons show of some programs which are active in some or other way. The network icon would be one of them, dropbox icon another one - and the offensive Opera icon.
Regards

longtom
User avatar
longtom
Level 2
Level 2
 
Posts: 65
Joined: Mon Sep 20, 2010 8:21 am

Re: Change icon in system tray

Postby Habitual on Thu Jan 19, 2012 6:26 pm

longtom wrote:...Just to clarify: The system tray (for me) is the part of the panel where icons show of some programs which are active in some or other way. The network icon would be one of them, dropbox icon another one - and the offensive Opera icon.


To be really clear... System tray is a Windows term.
What's a landing but a take off in reverse?
My DorkBlog
User avatar
Habitual
Level 8
Level 8
 
Posts: 2004
Joined: Sun Nov 21, 2010 8:31 pm
Location: Slackware

Re: Change icon in system tray

Postby longtom on Fri Jan 20, 2012 12:41 am

Habitual wrote:
longtom wrote:...Just to clarify: The system tray (for me) is the part of the panel where icons show of some programs which are active in some or other way. The network icon would be one of them, dropbox icon another one - and the offensive Opera icon.


To be really clear... System tray is a Windows term.


I see. So googling "system tray linux" will not bring up anything? Try it....

Apart from that - do you have anything to offer as far as a solution to the issue is concerned? That would be highly appreciated.
Regards

longtom
User avatar
longtom
Level 2
Level 2
 
Posts: 65
Joined: Mon Sep 20, 2010 8:21 am

Re: Change icon in system tray

Postby Habitual on Fri Jan 20, 2012 1:07 am

longtom wrote:I see. So googling "system tray linux" will not bring up anything? Try it....


No thanks. I don't use Google.
About 10,200,000 other people believe there's a "systray" in Linux.
10,200,000 other people would be wrong.

and I did contribute, to your knowledge of what the "Notification Area" is called in Linux.

Have a nice day.
What's a landing but a take off in reverse?
My DorkBlog
User avatar
Habitual
Level 8
Level 8
 
Posts: 2004
Joined: Sun Nov 21, 2010 8:31 pm
Location: Slackware

Re: Change icon in system tray

Postby DataMan on Fri Jan 20, 2012 5:33 am

I'll come back to my original recommendation now that we have digressed through all of the niceties of what constitutes a system tray... :) .

With a variation from my original suggestion, locate the specific app icon that is used in the "system tray" when the app is running. Modifying it's appearance through a image editing program. Of course, you will be faced with the labor or locating the .png file for the icon and editing and replacing it (root priv's).

-DataMan
Linux'd since 2005 Linux ID 422356 Ubuntu ID 15015
User avatar
DataMan
Level 6
Level 6
 
Posts: 1199
Joined: Thu Dec 04, 2008 6:47 am
Location: Carmel, Indiana USA at /var/www

Re: Change icon in system tray

Postby longtom on Sat Jan 21, 2012 5:33 am

DataMan wrote:I'll come back to my original recommendation now that we have digressed through all of the niceties of what constitutes a system tray... :) .


Ohoh - you said the word ..... :P

With a variation from my original suggestion, locate the specific app icon that is used in the "system tray" when the app is running. Modifying it's appearance through a image editing program. Of course, you will be faced with the labor or locating the .png file for the icon and editing and replacing it (root priv's).

-DataMan


Yes - I follow your train of thought. I, surprisingly enough, arrived at the same point. However - I failed to locate the icons or the directory where they might be possibly located. I went through quite a few including lots of in /usr/share as well as ~/.opera/icons . Of course I didn't do them all - that would take some time I reckon.

So I was wondering if somebody could give a hint what would be the most likely places to search apart from:

/usr/share/icons
/usr/share/applications
/usr/share/lxpanel/images/xkb-flags
~/.opera/icons

I failed to find the offensive icons in those.

Thanks.
Regards

longtom
User avatar
longtom
Level 2
Level 2
 
Posts: 65
Joined: Mon Sep 20, 2010 8:21 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 1 guest