adding icons-(solved)
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
Discussion, talk and tips
https://forum.puppylinux.com/
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
Look at other ".desktop" items in /usr/share/applications to see how they populate the menu.
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.
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.
not a big deal just exploring puppy
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.
going down the rabbit hole. dont understand
in fossapup .... menu>>fixmenus
in other pups you would run it in the terminal ... fixmenus
yup did that to no avail
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.
you have a small 'x' in X11
Yeah, that's one that got by me.
You have too much time on your hands, Phil.
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?
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