Ask Your Question
0

Firefox binary download version, how to get desktop icon?

asked 2017-12-14 16:31:33 -0500

David-LDA gravatar image

Hello,

I have download the mozilla version of firefox and unistalled the fedora one. I put the downloaded one in the current directory along with the .desktop file and:

sudo dnf remove firefox
mkdir "$HOME/bin"
cp -r ./firefox "$HOME/bin"
sudo cp firefox.desktop "$HOME/.local/share/applications"
sudo ln -s $HOME/bin/firefox/firefox /usr/local/bin/firefox

it works great BUT i can't find where to put the icon in the file system! its driving me mad, for example this does nothing:

sudo cp firefox.png /usr/share/icons/hicolor/256x256/apps

the desktop file merely says:

Icon=firefox

that tells me nothing! which file is the original icon that appears in search (repo installed), and where does it live? THANKS

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-12-14 16:41:55 -0500

ssieb gravatar image

The Fedora package installs the following icons:

/usr/share/icons/hicolor/16x16/apps/firefox.png
/usr/share/icons/hicolor/22x22/apps/firefox.png
/usr/share/icons/hicolor/24x24/apps/firefox.png
/usr/share/icons/hicolor/256x256/apps/firefox.png
/usr/share/icons/hicolor/32x32/apps/firefox.png
/usr/share/icons/hicolor/48x48/apps/firefox.png
/usr/share/icons/hicolor/symbolic/apps/firefox-symbolic.svg

If it doesn't work, try running xdg-icon-resource forceupdate.

edit flag offensive delete link more

Comments

Thanks, brilliant! :)

David-LDA gravatar imageDavid-LDA ( 2017-12-15 04:20:33 -0500 )edit

Just for completeness, which parts of that did you do?

ssieb gravatar imagessieb ( 2017-12-15 14:03:06 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-12-14 16:31:33 -0500

Seen: 302 times

Last updated: Dec 14 '17