How to create newly installed firefox 54 desktop launch/shortcut instead of starting from file using Linux OS?
Managed to update firefox from 34 to 54 via ~/firefox/firefox at Linux terminal. but have to go into firefox file and double click firefox program file for it to launch. I had to delete the launch shortcuts for 34 but can figure out how to get a desktop launch/shortcut for firefox 54. Any help would be great. This is on an old NEC versa pro VY10A with a Centrino Duo. Thanks!
Svi odgovori (1)
Hello
You updated or downloaded Firefox from firefox.com and you removed a symlink to ~/firefox/firefox
from ~/Desktop
, yes?
You can make Firefox your default browser from Preferences which would create ~/.local/share/applications/userapp-Firefox-*.desktop
Then in your terminal emulator do:
cd ~/Desktop/ ln -s ~/.local/share/applications/userapp-Firefox-*.desktop .
The dot at the end is important.
About ~/.local/share/applications/userapp-Firefox-*.desktop
You may have to comment out NoDisplay=true
or set it to false
You can also add Icon=firefox
You can use this script for the icons to work:
#!/bin/sh ## assuming firefox/ is extracted in ~/Downloads/ ## chmod +x this-script ## ./this-script to run ## Icons for i in 16x16 32x32 48x48; do mkdir -pv ~/.icons/hicolor/$i/apps/ cp -v ~/Downloads/firefox/browser/chrome/icons/default/default${i/x*}.png \ ~/.icons/hicolor/$i/apps/firefox.png done ## 128x128 mkdir -pv ~/.icons/hicolor/128x128/apps/ cp -v ~/Downloads/firefox/browser/icons/mozicon128.png \ ~/.icons/hicolor/128x128/apps/firefox.png
Let us know if this helped.