adding icons-(solved)

Moderators: 666philb, Forum moderators

Post Reply
rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

adding icons-(solved)

Post 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

Last edited by rburkartjo on Wed Mar 24, 2021 9:30 pm, edited 1 time in total.
User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

Re: adding icons

Post by ThruHammer »

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

User avatar
bigpup
Moderator
Posts: 6929
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 895 times
Been thanked: 1508 times

Re: adding icons

Post 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.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: adding icons

Post 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 571 times
rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: adding icons

Post by rburkartjo »

not a big deal just exploring puppy :thumbup2:

User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

Re: adding icons

Post 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.

Attachments
ourboyrb.jpg
ourboyrb.jpg (16.26 KiB) Viewed 563 times
rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: adding icons

Post by rburkartjo »

going down the rabbit hole. dont understand

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: adding icons

Post by 666philb »

in fossapup .... menu>>fixmenus

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

rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: adding icons

Post by rburkartjo »

yup did that to no avail

rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: adding icons

Post by rburkartjo »

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

User avatar
bigpup
Moderator
Posts: 6929
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 895 times
Been thanked: 1508 times

Re: adding icons-(solved)

Post 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.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: adding icons-(solved)

Post by 666philb »

you have a small 'x' in X11 ;)

User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

Re: adding icons-(solved)

Post by ThruHammer »

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

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

User avatar
bigpup
Moderator
Posts: 6929
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 895 times
Been thanked: 1508 times

Re: adding icons-(solved)

Post 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?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: adding icons-(solved)

Post 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

Post Reply

Return to “Fossapup64”