Linux Lite Forums

Software - Support => Installing Software => Topic started by: tkim on May 12, 2016, 08:34:19 PM

Title: Menu Icon not showing up
Post by: tkim on May 12, 2016, 08:34:19 PM
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
Title: Re: Menu Icon not showing up
Post by: torreydale on May 12, 2016, 09:29:26 PM
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.

(http://i.imgur.com/5fD9HVJ.png)
Title: Re: Menu Icon not showing up
Post by: tkim on May 12, 2016, 11:07:10 PM
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.

(http://imgur.com/omQaCHs.jpg)

(http://i.imgur.com/rqgUx0q.jpg)



Thomas
Title: Re: Menu Icon not showing up
Post by: Jerry on May 13, 2016, 01:26:22 AM
Copy the file to /usr/share/pixmaps and select it from there. You will need to Open as Administrator /usr/share/pixmaps.
Title: Re: Menu Icon not showing up
Post by: tkim on May 13, 2016, 01:51:42 PM
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?
Title: Re: Menu Icon not showing up
Post by: firenice03 on May 13, 2016, 02:02:22 PM
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...
 
Title: Re: Menu Icon not showing up
Post by: tkim on May 13, 2016, 02:20:07 PM
That's what i did.  Still not working.  Do I need to run some sort of import procedure?

(http://i.imgur.com/7xhXs5N.jpg)

TIA,

Thomas
Title: Re: Menu Icon not showing up
Post by: Jerry on May 13, 2016, 05:36:48 PM
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

Title: Re: Menu Icon not showing up
Post by: tkim on May 13, 2016, 05:51:12 PM
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

Title: Re: Menu Icon not showing up
Post by: Jerry on May 13, 2016, 05:59:23 PM
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

Title: Re: Menu Icon not showing up
Post by: tkim on May 13, 2016, 06:09:24 PM
Yes, manually creating .desktop file in .local fixed the problem with the icon.  I didn't even have to use "Main menu" program to insert the item.

Thank you.

Thomas
Title: Re: Menu Icon not showing up
Post by: Jerry on May 13, 2016, 06:29:32 PM
Cool, please set the Thread to Solved.

Sent from my phone using Tapatalk