Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 364891

Summary: www-client/firefox-bin - extend desktop file
Product: Gentoo Linux Reporter: Leho Kraav (:macmaN @lkraav) <leho>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal CC: leho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: INstall of firefox-boin-5.0.1

Description Leho Kraav (:macmaN @lkraav) 2011-04-26 07:29:18 UTC
broken off from bug 220915.

imho *-bin browsers should be included as default at least as a gentoo patch. i'm not familiar what drawbacks there would be trying make firefox-bin also launch as firefox (ditto for others).  since firefox-bin actually works for me and i'd  like to have firefox executable separate for my source builds, i'd suggest attacking this from xdg-utils side.

Reproducible: Always
Comment 1 Leho Kraav (:macmaN @lkraav) 2011-04-26 07:32:22 UTC
yes i am aware of $BROWSER. my situation was that i only became aware of $BROWSER because xdg-open started opening stuff with links2 in non-visible process space on rather fresh awesome-only setup. i definitely would've liked to spend these hours on something useful and have the browser part "just work"(tm).
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-26 16:55:00 UTC
This looks kind of meagre:

cvs/gentoo-x86/www-client/firefox-bin $ cat files/firefox-bin.desktop 
[Desktop Entry]
Name=Mozilla Firefox (bin)
Comment=Mozilla Firefox Web Browser
Exec=/usr/bin/firefox-bin %U
Icon=firefox-bin-icon
Terminal=false
Type=Application
Categories=Network;

To me it looks like the firefox-bin desktop file could be extended instead of generating a complete list of defaults.
Comment 3 Jory A. Pratt gentoo-dev 2011-05-11 20:57:53 UTC
Patches are welcome, otherwise this will fall to the bottom of the list. We are more interested/worried about source builds in gentoo instead of binary packages.
Comment 4 Helder Rocha 2011-08-12 19:39:58 UTC
Created attachment 283085 [details]
INstall of firefox-boin-5.0.1
Comment 5 Nirbheek Chauhan (RETIRED) gentoo-dev 2012-01-28 06:32:43 UTC
This was fixed a few months ago by adding the `MimeType=x-scheme-handler/http;x-scheme-handler/https;` line to the .desktop file. This is the XDG-recommended way of specifying browser associations.