DEV Community

How to setup Firefox Developer Edition on Ubuntu

Harrsh Patel on October 08, 2021

Do you want to install and use Firefox Developer Edition on your Ubuntu and don’t know how to go about it?! If your answer is yes, then this articl...
Collapse
 
drfcozapata profile image
Francisco Zapata • Edited

Thanks a lot bro!!!
Only one note: "StartupWMClass=Navigator" worked for me to avoid duplicated icon on dock
I have Ubuntu 22.04

Collapse
 
46and2 profile image
46and2

For some reason it didn't help. I had to set it to StartupWMClass=firefox-aurora on my Ubuntu 22.04.1.

Collapse
 
andreithedeveloper profile image
andrei-the-developer

This issue is likely related to the .desktop file of your Firefox Developer Edition. Specifically, the StartupWMClass property in the .desktop file may not be set correctly. The StartupWMClass property helps the GNOME Shell to associate the running application instance with the correct .desktop file and, consequently, the right icon in the dock.

To fix the issue, follow these steps:

1)Open the Firefox Developer Edition and then open a terminal.

2)In the terminal, run the following command to get the WM_CLASS property of the Firefox Developer Edition:

xprop WM_CLASS

After running the command, your cursor will turn into a crosshair. Click on the Firefox Developer Edition window. The terminal will display the WM_CLASS value, which should look something like this:

WM_CLASS(STRING) = "firefox", "Firefox Developer Edition"

Take note of the second value (in this example, "Firefox Developer Edition").

3) Open the .desktop file for Firefox Developer Edition with a text editor. The file should be located in ~/.local/share/applications/ and named firefox_dev.desktop. If you can't find it there, look for it in /usr/share/applications/.

nano ~/.local/share/applications/firefox_dev.desktop

4) In the .desktop file, find the StartupWMClass line and update its value to match the second WM_CLASS value you found in step 2. In this example, the updated line should look like this:

StartupWMClass=Firefox Developer Edition

5) Save the changes to the .desktop file and close the text editor.

6) Restart your Firefox Developer Edition, and the issue should be resolved. The new instance should now be associated with the existing icon in the dock.

Collapse
 
arif0ne profile image
ARIF

Brother you have any idea how to uninstall that?

Collapse
 
neifranci profile image
NeilFranci

I think u can just delete the firefox..bz2 file in opt folder

Collapse
 
gmcnicol profile image
Gareth McNicol • Edited

Thank you for posting this, just a quick note: you do not need to chown the directory in /opt/

Collapse
 
sebazelonka profile image
Sebastian Zelonka

Thanks!

Collapse
 
gabeweb profile image
Gabe Pérez

Thanks for sharing this. I've applied it for Firefox Developer and Thunderbird Test on Ubuntu 22.10 as live USB installation.

Collapse
 
zmatelj89 profile image
Zmatelj89

Thanks, it worked on Endeavour OS

Collapse
 
emiliojva profile image
Emílio Vieira

Thanks Guy.

Collapse
 
barbarosaffan profile image
Barbaros Yıldırım

Thank you so much, this article helped me a lot!

Collapse
 
robinui profile image
robin-UI

Thanks bro its working

Collapse
 
soheilss profile image
SoHeil-SS

Thanks. worked fine for me .Kubuntu 20.02

Collapse
 
mhsaeed profile image
Muhammad Saeed

Thanks a lot brother. It Worked perfectly on ubuntu 20.04.

Collapse
 
mrgultekin profile image
MrGultekin

Thank You So much .....

Collapse
 
ahmed_abdelaziz profile image
Ahmed Abdelaziz

Thank you, its working !

Collapse
 
daniblueboy profile image
Uyioghosasere Daniel Obasuyi

Awesome. Thanks

Collapse
 
amankhys profile image
Aman Khys P N

thanks a lot mate... really helped me out.

Collapse
 
lucas24d profile image
Lucas Almeida

Thanks a lot bro, this helped me.

Collapse
 
thesandman7 profile image
Shayan

thanks bro Harrsh

Collapse
 
ivgaguilar profile image
Ivan García Aguilar

Thank you very much! You helped me :D

Collapse
 
sabuein profile image
Salaheddin AbuEin

Thank you so much.

Collapse
 
mrshahen profile image
Abdelrahman Shaheen

Thanks

Collapse
 
goktugerol profile image
Goktug Erol

How to remove? I cannot remove and it's annoying. I tried to remove with purge and autoremove but it removed the standard firefox... I also tried names like firefox-dev etc and none of them worked...

Collapse
 
godlycoder profile image
Amirmoh Divani • Edited

Someone said you can just delete the fierfox.bz2 file in /opt directory but idk

Collapse
 
godlycoder profile image
Amirmoh Divani

Thanks it worked for me on Ubuntu 22!
Just one question does it update automatically as well?

Collapse
 
khemendrabhardwaj profile image
Khemendra-Bhardwaj

Thanks a lot, Very helpful post

Collapse
 
lakshmanshankar profile image
Lakshmanshankar C

amazing blog everything works just like that. steps are clear and sweet

Collapse
 
dev0t profile image
Teryn

Any idea on how to have both regular firefox and firefox dev installed at the same time? I had the regular installed before doing this and it just got installed over the old one

Collapse
 
p35 profile image
Pavlo Zhukov • Edited

You can't use "Add to Favorites" action on Ubuntu 22.04 with this config. StartupWMClass should be without spaces to fix it. So, I used StartupWMClass=firefox-developer-edition.

Collapse
 
minhthiendx profile image
Kirby 🐷

Thank you, work beautifully in openSUSE.
I put it in my home folder instead (doesn't require root)
Then I begin at step 10 to register the app.

Collapse
 
kundycoos profile image
Eng kue

Thanks a lot, i was using chrome all alone but i don't like it anymore

Collapse
 
acordovb profile image
Alex Córdova

Its work! Thanks!

Collapse
 
keplerdani profile image
Kepler D. Filemon

Thanks, I'm a beginner and was surprised that it worked for the first try

Collapse
 
dhinesh20022806 profile image
dhinesh20022806

Thank you so much, what if in future how can i update the firefox developer edition.