How to change name in top bar for an application in GNOME?

I am running Ubuntu GNOME 15.10 with GNOME 3.18 and I would like to be able to change the text for an application in the top bar. So for instance how would I change this:

enter image description here

To just Firefox?


Solution 1:

You need to edit the .desktop file.

First, open it in gedit or nano with one of these commands:

sudo nano /usr/share/applications/firefox.desktop

<%%>

sudo -H gedit /usr/share/applications/firefox.desktop

Then find the line that says Name=Firefox Web Browser, and change it to Name=Firefox:

Of course, the same works for Google Chrome etc.