LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Find Icon File in linux filesystem (https://www.linuxquestions.org/questions/linux-general-1/find-icon-file-in-linux-filesystem-674043/)

acmeinc 10-03-2008 04:29 PM

Find Icon File in linux filesystem
 
I have created a launcher, for instance this launcher is for thunderbird. The launcher works correctly, however it is not pulling the thunderbird icon file with it. Instead I get this ugly standard launcher icon :(

Does anyone konw the location of the icon files for programs such as firefox or thunderbird. I ran locate on firefox, and I was bombarded with directories. Maybe someone knows of a few specific locations of where to look for these icon files. Also, you may know what the names of these icon files are so I may search from them myself.

BTW...runniing my firefox launcher pulls the correct icon by default. However, linux-firefox does not, nor does thunderbird, linux-thunderbird, and most other applications.

klearview 10-03-2008 04:44 PM

Usually in /usr/share (then icons or pixmaps or kde/apps/icons etc). Do 'locate firefox*.png'

ErV 10-03-2008 04:47 PM

Quote:

Originally Posted by acmeinc (Post 3299413)
Does anyone konw the location of the icon files for programs such as firefox or thunderbird.

Firefox: /usr/lib/firefox/icons or /usr/lib/firefox-*/icons
Thunderbird: I have no idea. Try /usr/share/icons and /usr/local/share/icons.

acmeinc 10-04-2008 02:16 AM

thanks for the replies...while i did not find the icons..i did find that i could download any pic file, png gif jpg, and use it as the icon for the application of choice...tomorrow i will check the /usr/share file tree for some of the icons files i missed on

arizonagroovejet 10-04-2008 05:02 AM

If you haven't got the locate command installed then try find, that's always installed.

Code:

find /usr -iname firefox*
will perform a case insensitive search on the /usr directory for any files with names starting firefox.

shahgols 10-05-2008 12:36 AM

FWIW, there are a ton of free icons online. Here's a good list to start with:

http://www.blakeramick.net/journal/free-pixel-icons/104

allend 10-05-2008 05:19 AM

On my setup:
Firefox - /usr/lib/firefox/icons/mozicon16.xpm or mozicon50.xpm
Thunderbird - /usr/lib/thunderbird/icons/mozicon16.xpm or mozicon50.xpm

acmeinc 10-05-2008 11:07 PM

yes, i have locate, and the find command works, however there are so many files that contain firefox in the name..thx for the info on the actual name of the file, that is what i was actually looking for, that way i can find the actual icon file and not 100 files with firefox in the name :) peace my linux/unix homies

tredegar 10-06-2008 03:20 AM

Quote:

I ran locate on firefox, and I was bombarded with directories.
So, you can filter out the interesting ones with grep

Code:

tred@vaio:~$ locate firefox | grep icon
/usr/lib/firefox/icons
/usr/share/app-install/icons/firefox-greasemonkey.xpm
/usr/share/app-install/icons/firefox-launchpad-plugin.xpm
/usr/share/app-install/icons/firefox-sage.xpm
/usr/share/app-install/icons/firefox-showcase.xpm
/usr/share/app-install/icons/firefox-themes-ubuntu.xpm
/usr/share/app-install/icons/firefox-ubuntu-it-menu.png
/usr/share/app-install/icons/firefox-webdeveloper.xpm
/usr/share/firefox/icons
/usr/share/firefox/chrome/icons
/usr/share/firefox/chrome/icons/default
/usr/share/firefox/chrome/icons/default/default.xpm
/usr/share/firefox/icons/default.xpm
/usr/share/firefox/icons/document.png
/usr/share/firefox/icons/mozicon128.png
/usr/share/firefox/icons/mozicon16.xpm
/usr/share/firefox/icons/mozicon50.png
/usr/share/firefox/icons/mozicon50.xpm
/usr/share/icons/mono/scalable/apps/firefox.svgz
/usr/share/icons/mono/scalable/apps/mozilla-firefox.svgz
tred@vaio:~$



All times are GMT -5. The time now is 12:15 AM.