Increase Brisk menu icon size

Hello everyone I’m running Ubuntu mate 17.10 and was wondering if it’s possible to make the Brisk menu icons larger

Thanks for any help with this

1 Like

Well it is possible if you change the source code and build.
Before: Brisk Menu 0.4.something (default in 17.10)


After: Brisk Menu 0.5 with small changes to make Icons bigger.

Note that some widgets use built-in Gtk stock icon sizes.

[code]Built-in stock icon sizes.
Members

GTK_ICON_SIZE_INVALID
Invalid size.

GTK_ICON_SIZE_MENU
Size appropriate for menus (16px).

GTK_ICON_SIZE_SMALL_TOOLBAR
Size appropriate for small toolbars (16px).

GTK_ICON_SIZE_LARGE_TOOLBAR
Size appropriate for large toolbars (24px)

GTK_ICON_SIZE_BUTTON
Size appropriate for buttons (16px)

GTK_ICON_SIZE_DND
Size appropriate for drag and drop (32px)

GTK_ICON_SIZE_DIALOG
Size appropriate for dialogs (48px)
[/code]

1 Like

But what is the file called and where is the source code?

1 Like

Hi, @GregorKloske and welcome to the Ubuntu MATE Community!

Thanks, but I never liked Ubuntu.
I only use Slackware, and I'm here because I installed MATE and Brisk Menu. I just wanted to know how to greatly increase the icon size within Brisk Menu, and the most snobbish user never reveals it.

1 Like

You need to locate the folder related to your theme and look for the icons in a location similar to what you see in the below image:

I changed mine from 22px to 32px.

3 Likes

I've known that for years.
I just want to know what the source code is that sizes the Brisk Menu icons and where that source code is located.

Hi, @GregorKloske

(Usual disclaimer / reminder: please note that I'm just another Forum user - and moderator - here. I'm NOT an Ubuntu developer or an Ubuntu MATE developer or a MATE Desktop developer or a Brisk Menu developer or a GNOME / GTK developer or a Theme developer ...)

You wrote:

I believe that the "Brisk Menu" source code is available in "GitHub", specifically at "GitHub - getsolus/brisk-menu: An efficient menu for the MATE Desktop" - https://github.com/getsolus/brisk-menu :

Now, regarding "what the source code is that sizes the Brisk Menu icons", I see that @anon94368460 's reply, in this same discussion topic where we are now, in December 2017 (almost 8 years ago!) - "Increase Brisk menu icon size - #2 by anon94368460" - made several references to variables /constants with names that begin with GTK_ICON_SIZE_ So, let's see where those are located in the source code of "Brisk Menu":

$ git clone https://github.com/getsolus/brisk-menu.git

$ grep 'GTK_ICON_SIZE' -R brisk-menu/
brisk-menu/src/mate-applet/applet.c:        image = gtk_image_new_from_icon_name("start-here-symbolic", GTK_ICON_SIZE_MENU);
brisk-menu/src/frontend/classic/desktop-button.c:                                 GTK_ICON_SIZE_BUTTON);
brisk-menu/src/frontend/classic/classic-entry-button.c:                                         GTK_ICON_SIZE_LARGE_TOOLBAR);
brisk-menu/src/frontend/classic/classic-entry-button.c:                                             GTK_ICON_SIZE_LARGE_TOOLBAR);
brisk-menu/src/frontend/classic/category-button.c:                                         GTK_ICON_SIZE_BUTTON);
brisk-menu/src/frontend/classic/category-button.c:                                             GTK_ICON_SIZE_BUTTON);
brisk-menu/src/frontend/classic/classic-window.c:        widget = gtk_button_new_from_icon_name("brisk_system-log-out-symbolic", GTK_ICON_SIZE_MENU);
brisk-menu/src/frontend/classic/classic-window.c:                                               GTK_ICON_SIZE_SMALL_TOOLBAR);
brisk-menu/src/frontend/classic/classic-window.c:            gtk_button_new_from_icon_name("system-shutdown-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR);
brisk-menu/src/frontend/dash/dash-entry-button.c:                                         GTK_ICON_SIZE_LARGE_TOOLBAR);
brisk-menu/src/frontend/dash/dash-entry-button.c:                                             GTK_ICON_SIZE_LARGE_TOOLBAR);

So, those GTK_ICON_SIZE_something apparently are used in "Brisk Menu" but are NOT defined in "Brisk Menu". My guess is that they come from GTK itself, assuming that the Theme that one uses does not override that size. The web page https://docs.gtk.org/gtk4/enum.IconSize.html does mention the following:

Enumeration

Gtk > IconSize

Declaration

enum Gtk.IconSize

Description [src] [ https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkenums.h#L217 ]

Built-in icon sizes.

Icon sizes default to being inherited. Where they cannot be inherited, text size is the default.

All widgets which use GtkIconSize set the normal-icons or large-icons style classes correspondingly, and let themes determine the actual size to be used with the -gtk-icon-size CSS property.

Members

GTK_ICON_SIZE_INHERIT

Keep the size of the parent element.

  • Value: 0
  • Available since: 4.0

GTK_ICON_SIZE_NORMAL

Size similar to text size.

  • Value: 1
  • Available since: 4.0

GTK_ICON_SIZE_LARGE

Large size, for example in an icon view.

  • Value: 2
  • Available since: 4.0

I hope this helps.

3 Likes

ja,ja,ja
I only use Slackware with MATE installed and Brisk Menu installed from pkg.org with an rpm converted for Slackware a while ago. I just want to know how to make Brisk Menu icons bigger within its categorized submenus and applications.

1 Like

You might want to find support here:

gentoo uses rpm packages

2 Likes

Have you done a lookup using dconf-editor, to see what is available for tweaking, or the Slackware version of mate-tweak ?

2 Likes

I've already tried those two tools and nothing happens.
I'll try installing Advanced MATE Menu.

1 Like

Advanced MATE Menu
better than Brisk Menu

Did that give you what you were after, regarding persistent size for Brisk Menu Icon ?

1 Like

Yes, that's right...!
The format is great
that's why it's called Advanced MATE Menu

Ricardo, as an exercise, I added the "Advanced MATE Menu" to my panel, in parallel with the Brisk menu.

I compared the options between the two, and I am honestly confused as to which option the first might offer which the second does not, specifically in regards to the aspect of Preferences which were reported as non-persistent.

Would you have any insights into that?

1 Like

The difference is that it has its own configuration panel, while Brisk Menu doesn't.
I use Slackware and had a hard time installing Advance MATE Menu.

2 Likes

Which configuration panel are you referring to, and what is the sequence by which you display that panel?

1 Like

the Advanced MATE Menu configuration panel

1 Like

Where on the below do you go to obtain that configuration panel?