trying to create a launcher with a .png image file and main menu keeps on removing it. is .png not supported or do I need to edit the image first?
Asked
Active
Viewed 1,002 times
1 Answers
1
What goes wrong
I tried to create a launcher with Alacarte, with the same result. It turns out that when Alacarte creates a new launcher, it does not handle the icon's file extension correctly on custom icons. In the Icon= line of the launcher; it simply leaves out the extension.
How you can fix it
In your home directory, there is a folder ~/.local/share/applications (.local is invisible by default, press Ctrl + H to make it visible). That is the location where your launcher (file) is created.
- Open the folder
- Look for a file named
alacarte-made.desktop(if you created more than one, they will be numbered) - Open gedit, drag the file
alacarte-made.desktopon to the open gedit window to open it. - Look for the line, starting with
Icon=, replace the section afterIcon=with the path to your icon, including the.pngextension.
Note
You might have to log out and back in to see the result.
Jacob Vlijm
- 85,475