Mailinglist Archive: opensuse (4749 mails)

< Previous Next >
Re: [SLE] Generic vs Desktop icon of differing extensions?
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: 02 May 2003 19:01:39 +0200
  • Message-id: <1051894899.3405.2.camel@xxxxxxxxxxxxxxxxx>
On Sat, 2003-05-03 at 18:57, Curtis Rey wrote:
> Hash: SHA1
> Ok, I have been trying to pretty up my menus and I do a search for <pick an
> app>. I first do something like "locate foo.xpm" and see if I get a return.
> Then I do a "locate foo.png" and if that doesn't turn up anything. If not
> them a just do a wider search for "locate foo" and look for icon extensions.
> I have found a few icons to say the least. But I have run in to a situation
> wherein no *,xpm/.png exists but a *.desktop does. Looking at this it looks
> like an icon to me! But try to change the extension from *.desktop to *.xpm
> (or ,png) and it almost always turns into a generic/broken file page
> symbol/icon.
> So,... What is the difference that make a *.desktop unique/special compared to
> a more common *.xpm/.png extensions?

A .desktop file is just a text file, not an image. Konqueror displays an
icon for it, is that what you mean by "it looks like an icon to me"?
Open the .desktop file in a text editor, you should see a line
"Icon=something", that something is the name of the icon displayed

< Previous Next >
Follow Ups