Open Bug 1427383 Opened 6 years ago Updated 2 years ago

Linux Install Firefox Make Default

Categories

(Firefox :: Shell Integration, enhancement)

All
Linux
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: x3ask, Unassigned)

Details

This is a proposal for a minor enhancement to the script which executes
after the 'Make Default...' button is pressed in Preferences.

It is meant to complete the 'install' process of Firefox binaries from ftp.mozilla.org
and remove the need for user interaction and possible confusion.

Currently the 'Make Default' button
- adds the necessary entries in ~/.config/mimeapps.list
- and creates ~/.local/share/applications/userapp-Firefox-RANDOM.desktop

however this .desktop
- has NoDisplay=true
- and does not have Icon=firefox

my reasoning for this is that there is no function
- for creating ~/.icons/
- and copying the icons to it

A simple script to do so can be seen here:
https://support.mozilla.org/en-US/questions/1164411#answer-978198

If something along those lines is included in the 'Make default...' script
users would have Firefox ready for use in their desktop with one click of a button.

It would not conflict with an already present instance of Firefox provided by the distribution
as those use firefox.desktop or firefox-esr.desktop etc.

In short:
- add mkdir and copy icons commands to 'Make Default...' button's script
- remove NoDisplay=true from userapp-Firefox-RANDOM.desktop
- add Icon=firefox to userapp-Firefox-RANDOM.desktop
Component: Preferences → Installer
Component: Installer → Shell Integration

maybe there should be a new command line switch instead as make default works fine as it is by just making ff default and not adding a new launcher icon

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.