18 noviembre 2021

How to install firefox on linux beta - Chromebook

These steps are for Linux Beta (chromebook), Debian or Ubuntu. This article is referred to firefox stable version.

Before installing anything, let's do three things:

FIRST:

1. Save a firefox icon image .png (in icons folder). 

You can download the firefox icon you like (png format) from the internet, or choose one from default folder, and save it in icons folder. 

In order to do this (use a file manager like nautilus) you can copy the png file from Downloads folder and paste on icons folder. Path: /opt/firefox/browser/chrome/icons/default

2. Create a firefox.desktop file:

The .desktop file is a txt file with .desktop extension. 

We must put this CODE inside:


[Desktop Entry]

Name=Firefox Stable

Comment=Web Browser

Exec=/opt/firefox/firefox %u

Terminal=false

Type=Application

Icon=/opt/firefox/browser/chrome/icons/default/ICONNAME.png

Categories=Network;WebBrowser;

MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;

StartupNotify=true


Now pay attention to this part of the code... 

exec - the folder from where firefox is executed. 

icon - the folder where we put the firefox icon. Path: /opt/firefox/browser/chrome/icons/default 

Do not forget to change the extension of the .txt file to .desktop

3. Move the firefox.desktop file to user folder.

From Downloads to User - share - applications folder. On terminal, type and press enter:

sudo mv /home/USERNAME/Downloads/firefox.desktop /usr/share/applications

STEPS TO INSTALL FIREFOX

 1. Download firefox from official site. For a modern Chromebook select Linux 64 bits, and save in Downloads folder (inside Linux files folder).

Example: firefox-94.0.1.tar.bz2

2. On terminal, type and press enter:

cd Downloads  

3. Now let's extract the tar.bz2 file:

tar -xf (YOUR FILE NAME.tar.gz)

Example:

tar -xf firefox-94.0.1.tar.bz2

Now if we check downloads folder we'll see that a firefox folder has been created. 

4. Move that firefox folder from Downloads to /opt folder. Just copy & paste:

sudo mv ~/Downloads/firefox /opt

5.Move the .desktop file from Downloads to /usr/share/applications. Just copy & paste:

sudo mv ~/Downloads/firefox.desktop /usr/share/applications

6. On terminal, type and press enter:

cd /opt

7. Type and press enter:

cd firefox 

8. Type and press enter to launch firefox:

./firefox  

You can now find the firefox desktop icon shortcut in the linux apps box on chromebook desktop. 

No hay comentarios:

Publicar un comentario

Quick way to install Firefox on linux beta - chromebook

There is a firefox version you can install quickly if you don't wanna waste time with codes and file managers, or you are just beginning...