Assigning an panel icon to a program

John Culleton john at wexfordpress.com
Fri Apr 15 14:40:33 CEST 2011


On Friday 15 April 2011 07:50:55 Nick Schermer wrote:
> On Fri, Apr 15, 2011 at 12:40 PM, Morten Bo Johansen 
<mbj at spamcop.net> wrote:
> > Hi,
> > 
> > I am sure this is very simple, but somehow I cannot figure out 
how to
> > assign an icon to a (self-compiled) program so that this icon 
shows up in
> > the panel when the program is running. Currently when I run 
my editor,
> > Xjed, it is represented by a generic terminal icon in the panel. I 
have
> > tried copying the xjed.xpm into /usr/local/share/icons/hicolor/* 
and then
> > run gtk-update-icon-cache on that directory. It seems to have 
the effect
> > of assigning the icon to xjed when I work with Thunar and 
choose e.g. the
> > "Properties" -> "Open (file) with" dialog. Then the icon shows 
next to
> > the program name. But it does not show up in the panel?
> 
> The application set this icon (or icon-name) when started. 
However you
> probably run the application inside a terminal, so you can launch 
a
> terminal too with the --icon argument in case you use the Xfce
> terminal. (terminal -I xjed -x xjed)
> 
> Nick
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org

I put the icon for the program on the bottom panel.
 I right click on the panel. 
I click on "Add New Items". 
I click on "Launcher"
I fill out the resulting window including the icon part.
I click on OK

The new icon appears on the right of the bottom panel. I right click 
on it to move it where I want on the left end of the panel.

Now when I actually use the program it appear with both text and 
the icon in the middle part of the bottom panel.
-- 
John Culleton
Create Book Covers with Scribus:
http://www.booklocker.com/books/4055.html



More information about the Xfce mailing list