.png files for custom lauchers

Hello all!

I did a fresh install of 13.1 a few days ago, and have added a few of my own launchers to the main menu. When I try to use a .png file though, the image won’t display. The only images I’ve got to work so far have been jpg. Is there a different format now that I’m supposed to be using that would allow me to create an icon that doesn’t have a white background, or is this just a bug?

Thanks!

.png should be fine
.jpg don’t do transparent I think, least not any I’ve worked with

Yep. They work fine in 12.3, but when I try to use them in 13.1, the launcher is created but the picture is just blank.

KDE - Gnome?

Oops, sorry! I’m using Gnome. Whichever version is included in the beta. It doesn’t seem to be affected by size. I’ve tried a small .png and a large one, none of them show up. After a restart they are replaced with a placeholder that sort of indicates “picture not found”.

But if you use .jpg from the same location it’s OK?
I’m finding some of my images in gnome are not being displayed correctly or totally corrupted in EOG

Correct. I have a .jpg image and a .png image in the same folder. The .jpg will display, but the .png does not.

Odd.
I can’t look in to it ATM
And I never made custom icons in gnome. If I get a min I’ll look in the morning

oapeter wrote:
>
> Hello all!
>
> I did a fresh install of 13.1 a few days ago, and have added a few of my
> own launchers to the main menu. When I try to use a .png file though,
> the image won’t display. The only images I’ve got to work so far have
> been jpg. Is there a different format now that I’m supposed to be using
> that would allow me to create an icon that doesn’t have a white
> background, or is this just a bug?
>
> Thanks!
>
>
i can reproduce you bug on live-cd openSUSE 13.1/GNOME 3.10.X

I also found a workaround. Do create the menu items using menu
application / alacarte

This will create some files inside folder ~/.local/share/applications

on opening the files using edit you will notice something piece of code
like the one below.

you will notice that the icon will miss a .png extension . Just add the
extension and save the file.

The menu should appear normally now.


#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=gedit
Name=Gedit
Icon=~/Downloads/icon.png


GNOME 3.6.2
openSUSE Release 12.3 (Dartmouth) 64-bit
Kernel Linux 3.7.10-1.16-desktop

Hello!

Yes, this does appear to solve the problem for me! I changed my launchers to use the .png files, then found their .desktop files and added the extensions. The .png is now correctly displayed.

Is there a more official way to file this as a bug?

Thanks!

Report in bugzilla

Use you user and password from here

openSUSE:Submitting bug reports - openSUSE

oapeter wrote:
>
> Hello!
>
> Yes, this does appear to solve the problem for me! I changed my
> launchers to use the .png files, then found their .desktop files and
> added the extensions. The .png is now correctly displayed.
>
> Is there a more official way to file this as a bug?
>
> Thanks!
>
>
Do post the bugzilla link back here so that it will helps others facing
same issue


GNOME 3.6.2
openSUSE Release 12.3 (Dartmouth) 64-bit
Kernel Linux 3.7.10-1.16-desktop