xpad-hackers team mailing list archive
-
xpad-hackers team
-
Mailing list archive
-
Message #00074
Re: [Question #192690]: which is the file used by xpad for tray icon
Question #192690 on Xpad changed:
https://answers.launchpad.net/xpad/+question/192690
Sergei Riaguzov proposed the following answer:
Mmkay, I do not have any Linux right now, but this is how you could find
your icon:
First in the tarball with the sources there is an icon
images/hicolor/scalable/apps/xpad.svg. This is vector graphics, best
edited with Corel Draw, Inkscape or whatever editor you've got. Why this
is what's in taskbar? First, because there is nothing else. Second,
because of this code in the generated Makefile:
=== Cut ===
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
=== Cut ===
and this code in xpad-tray.c:
=== Cut ===
docklet = gtk_status_icon_new_from_icon_name (PACKAGE);
=== Cut ===
where PACKAGE is:
./Makefile:PACKAGE = xpad
So, after a './configure && make install' on my Hackintosh the 'make
install' step did the following:
===
Cit ===
test -z "/usr/local/share/icons" || .././install-sh -c -d "/usr/local/share/icons"
.././install-sh -c -d '/usr/local/share/icons/hicolor/scalable/apps'
=== Cit ===
Seeing this you would probably look for /usr/share/icons/hicolor (or
/usr/local/share/icons/hicolor if you've used 'make install' instead of
some package for your Linux distribution) for the xpad.svg and then use
Corel Draw, Adobe Illustrator, Inkscape or whatever else to make the
icon monochrome.
Hope this helps.
--
You received this question notification because you are a member of Xpad
Developers, which is an answer contact for Xpad.