Is there a way to replace the "Applications" text in Applications Menu with an icon?

asked 2018-01-05 06:11:16 -0500

updated 2018-01-06 04:00:13 -0500

I would like to replace the text "Applications" in GNOME's Application Menu extension with the Fedora logo. Specifically the "Applications" shown in the bottom left-hand corner of this screenshot (and yes I have significantly customized my GNOME 3 session):

image description

I have tried editing /usr/share/gnome-shell/extensions/app... to try and make this happen (and yes I am aware that with the next update of gnome-shell-extension-apps-menu my edits will likely be discarded), but alas it has failed (with no visible change). Specifically what I have tried is changing:

        this._label = new St.Label({  text: _("Applications"),
                                 y_expand: true,
                                 y_align: Clutter.ActorAlign.CENTER });


        this._label = new St.Label({ style_class: 'overview-icon',
                               //  text: _("Applications"),
                                 y_expand: true,
                                 y_align: Clutter.ActorAlign.CENTER });

As I thought this must dictate the look of the "Applications" button. The Fedora logo is defined as the .show-apps .overview-icon CSS style in the United Fedora Dark theme I am using (if you'd like to check whether I'm right you can get the theme here). While the full file is here. To test whether this works I have tried logging in and out of my GNOME session, after I saw no change after that I decided to reboot for good measure, still no change.

edit retag flag offensive close merge delete