I've used "Main menu" to add a menu item in "Development". The progam ("Eclipse") comes with icon.xpm file so i thought i would use it. The entry appears on the menu but the icon is not. It's blank. Is there a way to fix this?
TIA,
Thomas
When you open Main Menu, highlight the eclipse entry, and select Properties. Then click on the area where the icon would be on the left. In my example below, you would click on the area where the Geany icon is...the area to the left. A file manager window should open and you can select a file for the icon.
![[Image: 5fD9HVJ.png]](http://i.imgur.com/5fD9HVJ.png)
That's exactly what i did. The properties screen would take the icon file yet when you press "OK", the place where the icon should be is blank.
Thomas
Copy the file to /usr/share/pixmaps and select it from there. You will need to Open as Administrator /usr/share/pixmaps.
still not working. i've copied the icon file to the \usr\share\pixmaps directory as su. What do you mean by "need to open as administrator"? run "main menu" as Root? what's the name of the program?
(05-13-2016, 05:51 PM)tkim link Wrote: [ -> ]still not working. i've copied the icon file to the \usr\share\pixmaps directory as su. What do you mean by "need to open as administrator"? run "main menu" as Root? what's the name of the program?
Jerry suggests = in Thunar (file manager) right click the folder directory and choose "Open as Administrator" alternatively copying with sudo in terminal...
That's what i did. Still not working. Do I need to run some sort of import procedure?
TIA,
Thomas
It could be that the icon file size is too large. Try changing it to a png and make it 48 X 48px.
Sent from my phone using Tapatalk
That didn't work either. i've used following steps to convert the image.
1. installed imagemagick .
2. "convert icon.xpm eclipseold.png"
3. "convert eclipseold.png -resize 48x48 eclipse.png"
Then used thunar as root to copy the file over to /usr/share/pixmaps.
Funny thing is I can set the correct icon as a desktop icon.
TIA,
Thomas
Look in /home/youruser/.local/share/applications for that .desktop file and make sure the icon path is set correctly.
Sent from my phone using Tapatalk