Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

Where is firefox located in linux?

  • 2 àwọn èsì
  • 0 ní àwọn ìṣòro yìí
  • 8 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ Terry

more options

I need to write a program that will find firefox on user computer. I want to use whichcraft(python) For example chrome is located: 'chromium-browser', 'chromium', 'google-chrome', 'google-chrome-stable'.

I need to write a program that will find firefox on user computer. I want to use whichcraft(python) For example chrome is located: 'chromium-browser', 'chromium', 'google-chrome', 'google-chrome-stable'.

All Replies (2)

more options

hello frodwii20,

this is sample code- please follow this

  1. This code is used to open URL in firefox
  2. browser

import webbrowser

  1. To take the URL as input from the user.

print('Enter the URL: ', end="") link = input()

  1. Passing firefox executable path to the
  2. Mozilla class.

firefox = webbrowser.Mozilla("C:\\Program Files\ \Mozilla Firefox\\firefox.exe")

  1. Using open() function to display the URL.

firefox.open(link)

more options

On my Linux system Firefox is simply firefox. On some Linux systems the executable itself is firefox-bin.