Menu Icons Under MATE (GNOME 2) Question

If none of the more specific forums is the right place to ask

Menu Icons Under MATE (GNOME 2) Question

Postby Caitlin » 2017-06-22 13:59

Hello,

I'm attempting to customize my Applications menu under Stretch with MATE. It has mostly gone well except for one detail -- there are missing icons in the main menu.

When I click on Applications, this is what I get:

http://s346.photobucket.com/user/caitli ... l.jpg.html

There are nice icons next to each one of the above except Emulation (was Education) and File Management (new). My questions are: in what file are the icons located so I can change them? And where can I get an icon for file management?

I have made my changes by modifying /etc/xdg/menus/mate-applications.menu, replacing Education (useless for me) with Emulation and squeezing in File Management. I added /usr/share/mate/desktop-directories/mate-emulation-directory and /usr/share/mate/desktop-directories/mate-files-directory. I also built or changed a number of /usr/share/applications/*.desktop files.

I don't want to get into a lot of details about what I put in these changes, as everything's working the way I want it to, except for the gosh darn icons. The file mate-filemanagement-directory does contain CIcon=filemanagement, however.

I drew a cute icon for emulation, but I don't know where to install it (I had the same problem with Jessie.) For file management, Jessie automatically gave me a little file cabinet icon, but it's not there in Stretch.

There is a utility (mozo) that supposedly updates the main menu but I could never get it to work. And I don't think it was designed to make the kind of changes I want to anyway.

I recently replaced Jessie with Stretch. Rather than using upgrade and dist-upgrade, I formatted the Linux partitions and installed Stretch clean from a downloaded DVD (with amd64 architecture).

A Google search under MATE menu, Stretch, and Debian turned up nothing. A search has found a large number of picture files, with different sizes and for different desktop themes, but replacing them have made no difference. Is there an install program I have to run to implement the icons?

I've included GNOME 2 in the title because I understand the MATE menuing system is similar to the GNOME 2 one.

Caitlin
Caitlin
 
Posts: 236
Joined: 2012-05-24 07:32

Re: Menu Icons Under MATE (GNOME 2) Question

Postby TonyT » 2017-06-22 23:56

You can change icons using Mozo, or select an icon that's missing. Been runningg stretch for 6 months and mozo works.
TonyT
 
Posts: 508
Joined: 2006-09-04 11:57

Re: Menu Icons Under MATE (GNOME 2) Question

Postby VentGrey » 2017-06-23 00:33

If you want a neat interface to change icons & launchers i recommend "menulibre". :mrgreen:
“I felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 147
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: Menu Icons Under MATE (GNOME 2) Question

Postby Caitlin » 2017-06-23 16:52

Hmmmm -- I was hoping to avoid apps and interfaces to make these changes; preferring to go down to the bare metal. That's what I've done to get as far as I have, and even if I do get mozo or menulibre to work, I won't know what's being changed under the covers.

But I suppose I can try it again. Typing "mozo" or "menulibre" in a CLI just gives me "command not found"; so I suppose I have to install them first.

Thank you.

Caitlin
Caitlin
 
Posts: 236
Joined: 2012-05-24 07:32

Re: Menu Icons Under MATE (GNOME 2) Question

Postby Caitlin » 2017-06-23 17:02

Me again, I just installed and tried them both. Mozo has options to add, move, and remove entries; but there is no option to change the icon. Menulibre does even less; it can hide or show various menu entries but it otherwise cannot change them. Menulibre doesn't even recognize the changes I've already made; it just gives me the "out of the box" list of categories. At least Mozo works with the main menu as it currently exists.

I know the icons must be stored somewhere, otherwise there wouldn't be any icons at all. It's just a matter of finding out where.

Caitlin
Caitlin
 
Posts: 236
Joined: 2012-05-24 07:32

Re: Menu Icons Under MATE (GNOME 2) Question

Postby TonyT » 2017-06-25 12:52

Caitlin wrote:Me again, I just installed and tried them both. Mozo has options to add, move, and remove entries; but there is no option to change the icon. Menulibre does even less; it can hide or show various menu entries but it otherwise cannot change them. Menulibre doesn't even recognize the changes I've already made; it just gives me the "out of the box" list of categories. At least Mozo works with the main menu as it currently exists.

I know the icons must be stored somewhere, otherwise there wouldn't be any icons at all. It's just a matter of finding out where.

Caitlin

Mozo surely can change the icons. Select the menu item in list in right frame > select Properties > click on the icon in top left corner. If a menu item has no custom or application specific icon Mozo will display the default icon.

Image
TonyT
 
Posts: 508
Joined: 2006-09-04 11:57

Re: Menu Icons Under MATE (GNOME 2) Question

Postby Caitlin » 2017-06-25 17:00

@Tony T,

I stand corrected; I got into mozo again and followed your directions, and there was the list of available icons.

But when I added my own custom icon to the directory, and selected it, it didn't take. Instead, it gave me something that looked like a monitor; perhaps a default icon of sorts. (I selected the pre-installed Programming icon as a test and it liked that just fine.)

My icon is RGB color, one layer, 48x48 pixels, and has an alpha channel, just like Programming. That has a transparent background while mine is white but that shouldn't make a difference.

I'll have to play around with it for a while. (I haven't tried rebooting; I'll try that next.)

Thanks for your help.

Caitlin

EDIT: here's a picture of my icon: http://s346.photobucket.com/user/caitli ... sort=3&o=0 Isn't it cute?
Caitlin
 
Posts: 236
Joined: 2012-05-24 07:32

Re: Menu Icons Under MATE (GNOME 2) Question

Postby kreemoweet » 2017-06-26 05:25

You likely have to restart your user session for the new icon to show. Icon can be located anywhere, not necessarily in the directory where the Choose Icon dialog opens.
kreemoweet
 
Posts: 50
Joined: 2013-07-23 08:23

Re: Menu Icons Under MATE (GNOME 2) Question

Postby TonyT » 2017-06-26 12:56

What kind of image is your icon? The supported image file formats are PNG, XPM and SVG. PNG is the recommended.
What the name of your icon? All icon names may only contain lowercase letters, numbers, underscore, dash, or period characters. Spaces, colons, slashes, and backslashes are not allowed.
TonyT
 
Posts: 508
Joined: 2006-09-04 11:57

Re: Menu Icons Under MATE (GNOME 2) Question

Postby Caitlin » 2017-06-27 08:05

Hi Again,

My icon is named applications-emulation.png and is in /usr/share/icons/mate/48x48/categories (where I'm directed to when attempting to change this or some other icon). I didn't restart the user session but (I shut completely down and rebooted) several times and that had no effect.

Caitlin
Caitlin
 
Posts: 236
Joined: 2012-05-24 07:32

Re: Menu Icons Under MATE (GNOME 2) Question

Postby silvaf6 » 2017-06-27 09:55

Did you try alacarte?
silvaf6
 
Posts: 70
Joined: 2017-06-12 16:45

Re: Menu Icons Under MATE (GNOME 2) Question

Postby silvaf6 » 2017-06-27 10:03

Did you try alacarte?
silvaf6
 
Posts: 70
Joined: 2017-06-12 16:45

Re: Menu Icons Under MATE (GNOME 2) Question

Postby Caitlin » 2017-06-28 07:00

No. No.

Caitlin
Caitlin
 
Posts: 236
Joined: 2012-05-24 07:32

Re: Menu Icons Under MATE (GNOME 2) Question

Postby silvaf6 » 2017-06-29 16:50

So...
silvaf6
 
Posts: 70
Joined: 2017-06-12 16:45

Re: Menu Icons Under MATE (GNOME 2) Question

Postby VentGrey » 2017-06-29 17:18

alacarte is basically mozo, mozo being a fork for MATE, you won't see a diff there.
“I felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 147
Joined: 2016-04-26 23:57
Location: Guanajuato México

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable