Posts: 6
Threads: 1
Joined: May 2016
Reputation:
0
05-13-2016, 12:34 AM
(This post was last modified: 05-13-2016, 11:53 PM by tkim.)
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
Posts: 1,599
Threads: 86
Joined: Jun 2015
Reputation:
0
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.
Want to thank me? Click my [Thank] link.
Posts: 8,900
Threads: 544
Joined: Feb 2014
Reputation:
5
Copy the file to /usr/share/pixmaps and select it from there. You will need to Open as Administrator /usr/share/pixmaps.
Posts: 6
Threads: 1
Joined: May 2016
Reputation:
0
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?
Posts: 1,849
Threads: 21
Joined: Sep 2015
Reputation:
0
(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...
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Posts: 8,900
Threads: 544
Joined: Feb 2014
Reputation:
5
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
Posts: 6
Threads: 1
Joined: May 2016
Reputation:
0
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
Posts: 8,900
Threads: 544
Joined: Feb 2014
Reputation:
5
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