No icon, in custom category in desktop menu

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
antrrax
Level 1
Level 1
Posts: 6
Joined: Thu Sep 27, 2018 11:53 am

No icon, in custom category in desktop menu

Post by antrrax » Sat Jan 12, 2019 6:02 pm

I add a new category to the Cinnamon desktop menu. I set a custom icon (I tried several png image size 22x22; 24x24; 32x32; 256x256px), at that time in the menu editor, the icon is normally displayed. But when I go in the menu the icon is not displayed.
How to solve this?
what size and what image format should I choose?


Image

User avatar
smurphos
Level 11
Level 11
Posts: 3588
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: No icon, in custom category in desktop menu

Post by smurphos » Sun Jan 13, 2019 1:26 am

What version of Mint / Cinnamon are you using? You don't think you can use random downloaded loaded icons but you can use icons referenced in your current icon theme. The new icon picker GUI in Mint 19.1 makes it easy to find those.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

antrrax
Level 1
Level 1
Posts: 6
Joined: Thu Sep 27, 2018 11:53 am

Re: No icon, in custom category in desktop menu

Post by antrrax » Sun Jan 13, 2019 4:52 pm

Mint: 19.1
Cinnamon: 4.0.9
Kernel: 4.15.0-43-generic

In the new menu item I used the same image of the icon pack: "Windows-10", in my user folder ".icons"
/home/"MY_USER"/.icons/Windows-10/256x256/apps/libreoffice-main.png
In the menu editor the icon appears normally.
But when I look at the desktop menu, the selected image does not appear.

my icons: Windows-10-master.zip
https://www.gnome-look.org/p/1013482/

my theme: Mint-Y-Yltra-Light
http://www.mediafire.com/file/ux57x7ufb ... t.zip/file

Image

User avatar
smurphos
Level 11
Level 11
Posts: 3588
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: No icon, in custom category in desktop menu

Post by smurphos » Mon Jan 14, 2019 2:05 am

Don't pick the icon by path, use the search by name function. I think it's a limitation of the menu or the spec that categories icons just don't work if referenced by a full path, but they do if referenced by just the name of an icon in the current icon-theme path. Added bonus is that the correct sized icon is always used (the theme includes several copies at different sizes)

Image

Image
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

antrrax
Level 1
Level 1
Posts: 6
Joined: Thu Sep 27, 2018 11:53 am

Re: No icon, in custom category in desktop menu

Post by antrrax » Mon Jan 14, 2019 4:18 pm

I thought I could put an external image.
But from what I understand I can only use native images of the icon theme.

thanks

User avatar
roblm
Level 10
Level 10
Posts: 3264
Joined: Sun Feb 24, 2013 2:41 pm

Re: No icon, in custom category in desktop menu

Post by roblm » Tue Jan 15, 2019 4:50 pm

You should be able to use a custom icon. I do it all the time in my menus, but it's more complicated.

Go down to my 8th post in this topic:
viewtopic.php?f=208&t=124153#p693456

See the section: Changing the Menu Category and Application Icons: go to EDITED:

User avatar
smurphos
Level 11
Level 11
Posts: 3588
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: No icon, in custom category in desktop menu

Post by smurphos » Tue Jan 15, 2019 5:37 pm

Never seen that post robim. Nice selection of tips/hacks :D

Interestingly during beta for 19.1 the new icon picker GUI was patched to not show icons placed in the root of the icon directory as they were failing to display in other contexts when referenced by name only e.g. as a custom panel icon for the menu.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

Post Reply

Return to “Cinnamon”