How do I replace or remove the redhat logo placed in the activities button in the top-bar?

I notice there is a gnome-shell-extension to replace the activities button with a custom logo, but that’s not what I need.

There is a deprecated activities configurator extension, which is not supported for the Gnome version that I’m using.

I tried replacing the logos of various resolution available in “/usr/share/pixmaps/”. Couldn’t get it to work. I was able to replace the boot logo, the login screen logo, but couldn’t find this one.

I want the activities button to be there, and only replace or remove the redhat logo, that is placed to the left side of “Activities” text.

I use RHEL 9.2 Gnome version 40.4.0

In RHEL and CentOS this icon is placed there by a gnome-shell patch, not an extension. You could try the Just Perfection extension to change it, but the divergence in code from the patch may prevent the extension from working properly. You could replace the path it uses, /usr/share/icons/hicolor/scalable/apps/start-here.svg, but note that any update to the package that owns that file will cause your change to be overwritten.