Menu item icon

Non release banter
Jack
Contributor
Contributor
Posts: 1955
Joined: 09 Aug 2013, 14:25
Distribution: Nemesis Cinnamon 64
Location: USA

Menu item icon

Post#1 by Jack » 21 Jan 2025, 00:49

In the Application Menu the icon for GParted what size would the icon be. They start out 16x16 and up to 512x512. I just wanted to know.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Menu item icon

Post#2 by Ed_P » 21 Jan 2025, 05:51

Line 244 of /usr/share/applications/gparted.desktop shows "Icon=gparted ". No size shown.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4289
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Menu item icon

Post#3 by ncmprhnsbl » 21 Jan 2025, 05:57

well, it's not the 16x16 because that looks different.
and 48x48 is the largest gparted png icon present in hicolor, so nothing above that.
there's also the svg in scalable
so could be any of 22x22, 24x24, 32x32, 48x48 or svg
by deleting them one by one, starting at 16x16, it didn't disappear until the svg, so i assume it uses the svg if present.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Menu item icon

Post#4 by Ed_P » 21 Jan 2025, 06:00

:%) Where are these icons you are referring to ncmp?

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4289
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Menu item icon

Post#5 by ncmprhnsbl » 24 Jan 2025, 01:23

Ed_P wrote:
21 Jan 2025, 06:00
Where are these icons you are referring to ncmp?
/usr/share/icons/hicolor/*/apps
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Menu item icon

Post#6 by Ed_P » 24 Jan 2025, 19:23

Thank you ncmp.

Where does the /usr/share/applications/gparted.desktop file find it's icon=gparted icon, because a search of /usr/share/icons doesn't show the icon that is displayed with it. And it would be nice if the desktop file looked for the icon=gparted.svg icon. :)

Added in 1 hour 24 minutes 31 seconds:
Somewhere there is a link for gparted that points to a disk-partition-manager.png or partitionmanager.png icon.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4289
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Menu item icon

Post#7 by ncmprhnsbl » 24 Jan 2025, 23:47

Ed_P wrote:
24 Jan 2025, 20:47
Somewhere there is a link for gparted that points to a disk-partition-manager.png or partitionmanager.png icon.
ah, i only looked in nemesis and porteus-5.1-alpha, that don't have any such links in their default icon themes.
but, yes, there is in 5.01 in the Paper theme in some of the *x*/apps folders .. you'd have to delete those or overwrite them with a link to the hicolor one.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Menu item icon

Post#8 by Ed_P » 25 Jan 2025, 17:45

ncmprhnsbl wrote:
24 Jan 2025, 23:47
you'd have to delete those or overwrite them with a link to the hicolor one.
Care to show the specific commands I need to do that? :oops:

Post Reply