Page 1 of 1

adding icons-(solved)

Posted: Wed Mar 24, 2021 1:44 am
by rburkartjo

using jwm. how to i add an icon to an item that is in my menu that doesnt have an icon next to the description/tks


Re: adding icons

Posted: Wed Mar 24, 2021 1:53 am
by ThruHammer

Look at other ".desktop" items in /usr/share/applications to see how they populate the menu.


Re: adding icons

Posted: Wed Mar 24, 2021 2:24 am
by bigpup

The menu entries are provided by the info, in the programs specific .desktop file, in /usr/share/applications.
Find the .desktop file for the menu item.
Open in a text editor to show contents.
It is probably trying to use an icon, not in Fossapup, or location of icon, is not correct.

In the file will be an icon= line.
That needs to state, exactly where the icon is, and what icon file.
Example:
Icon=/usr/share/pixmaps/gnibbles.png

If it is a program you installed.
Usually, the programs specific icon, will be in a directory of the programs files.
Where that directory is located, depends on where it got put, in Puppy file system.


Re: adding icons

Posted: Wed Mar 24, 2021 1:51 pm
by rburkartjo

couldnt get to work i want to add icon next to app in the menu. no problem changing desktop icon to whatever just lost on adding to menu entry.

Screenshot(3).jpg
Screenshot(3).jpg (122.31 KiB) Viewed 573 times

Re: adding icons

Posted: Wed Mar 24, 2021 1:52 pm
by rburkartjo

not a big deal just exploring puppy :thumbup2:


Re: adding icons

Posted: Wed Mar 24, 2021 2:24 pm
by ThruHammer

Yeah, "/usr/local/lib/X11/pixmaps" the system *KNOWS* about.

You spec the "Icon=" by name alone in its ".desktop" file.

Run Fixmenus and it should become visible.


Re: adding icons

Posted: Wed Mar 24, 2021 4:57 pm
by rburkartjo

going down the rabbit hole. dont understand


Re: adding icons

Posted: Wed Mar 24, 2021 6:06 pm
by 666philb

in fossapup .... menu>>fixmenus

in other pups you would run it in the terminal ... fixmenus


Re: adding icons

Posted: Wed Mar 24, 2021 9:13 pm
by rburkartjo

yup did that to no avail


Re: adding icons

Posted: Wed Mar 24, 2021 9:28 pm
by rburkartjo

666 followed you post here
viewtopic.php?t=1127


Re: adding icons-(solved)

Posted: Thu Mar 25, 2021 1:29 am
by bigpup

Do you have a save icon on the desktop?
If yes.
The change you made is still in memory.
Click the save icon.
After it saves.
Try the fixmenus

Can also try a reboot after the save.


Re: adding icons-(solved)

Posted: Thu Mar 25, 2021 8:51 am
by 666philb

you have a small 'x' in X11 ;)


Re: adding icons-(solved)

Posted: Thu Mar 25, 2021 10:14 am
by ThruHammer

:oops: Yeah, that's one that got by me.

You have too much time on your hands, Phil. :D


Re: adding icons-(solved)

Posted: Thu Mar 25, 2021 2:13 pm
by bigpup

So, was that the problem?
You had the directory identified as x11 and not X11?
So, it was not identifying the correct directory, for the location of the icon file?


Re: adding icons-(solved)

Posted: Thu Mar 25, 2021 6:34 pm
by rburkartjo

big problem was me. been using ubuntu and mint for over 15 years. still on the puppy learning curve

used this but selected app that needed to have icon added (which i could have deleted somehow)

opening/usr/share/applications/palemoon.desktop in geany
changing the icon line to Icon=/usr/share/icons/PMaterial/scalable/apps/palemoon.svg
then run fixmenus to rebuild the menu
new palemoon icon now shows in the menu