Download latest Firefox Nightly build from here.
Once downloaded, extract to some location.
cd Downloads
sudo chown -R $USER:$USER /opt
tar -xvf firefox-xxx.tar.bz2 -C /opt
Create Firefox launcher files at /usr/share/applications/nightly-default.desktop
as:
[Desktop Entry]
Version=1.0
Name=Firefox Nightly (Default)
Comment=Browse the World Wide Web
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Exec=/opt/firefox/firefox -P default %u
Terminal=false
Type=Application
Categories=GNOME;GTK;Network;WebBrowser;
Actions=Default;Office;ProfileManager;
GenericName=Web Browser
Keywords=Internet;WWW;Browser;Web;Explorer;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
StartupNotify=true
StartupWMClass=Nightly
X-Desktop-File-Install-Version=0.22
[Desktop Action Default]
Name=Default Profile
Exec=/opt/firefox/firefox -no-remote -P default
[Desktop Action Office]
Name=Office Profile
Exec=/opt/firefox/firefox -no-remote -P office
[Desktop Action ProfileManager]
Name=Profile Manager
Exec=/opt/firefox/firefox -no-remote -profile-manager
Create another launcher with different profile at /usr/share/applications/nightly-office.desktop
:
[Desktop Entry]
Version=1.0
Name=Firefox Nightly (Office)
Comment=Browse the World Wide Web
Icon=/usr/share/icons/hicolor/128x128/apps/firefox.png
Exec=/opt/firefox/firefox -P office %u
Terminal=false
Type=Application
Categories=GNOME;GTK;Network;WebBrowser;
Actions=Default;Office;ProfileManager;
GenericName=Web Browser
Keywords=Internet;WWW;Browser;Web;Explorer;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
StartupNotify=true
StartupWMClass=Nightly
X-Desktop-File-Install-Version=0.22
[Desktop Action Default]
Name=Default Profile
Exec=/opt/firefox/firefox -no-remote -P default
[Desktop Action Office]
Name=Office Profile
Exec=/opt/firefox/firefox -no-remote -P office
[Desktop Action ProfileManager]
Name=Profile Manager
Exec=/opt/firefox/firefox -no-remote -profile-manager