SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Getting the Application menu to work properly may be a different story, however, and I am disappointed to see that Firefox may be so dependent on GNOME components.
I guess this is what happens when the world thinks Linux = Ubuntu.
I am having the same problem with Firefox 3 on Slackware 12.1. Thunderbird no
longer launches when I click on a mailto: URL, even though the
network.protocol-handler.app.mailto pref is set to "/usr/bin/thunderbird". And
the Applications panel is empty, with no means to modify it.
I then built and installed the following GNOME packages:
orbit2, gconf, gnome-mime-data, gnome-vfs, intltool, libbonobo, and libgnome
Next, I deleted the compreg.dat file in my Firefox profile directory, and I
commented out the line in firefox.js that sets the mailto preferences mentioned
above.
After restarting Firefox 3, the Applications panel is now populated, and I can
set the mailto URL to open Thunderbird, Yahoo, or whatever else I choose.
I find it disturbing that Firefox 3 requires all of these GNOME libraries.
Slackware is a KDE distro, and there must be a more desktop-independent method
for accessing MIME data. Seven libraries to simply perform a hash table
storage and retrieval is unacceptable.
Personally, I think Ken is spot on with that conclusion. There seems to be a growing assumption recently that everyone is running a gnome desktop on linux. Using gui toolkits like gtk and Qt is one thing, but when you start requiring an entire chain of desktop environment specific features just to provide the functionality you'd traditionally find in a ~/.programrc or /etc/program.rc settings file then you've lost touch with what linux/unix is all about.
Seeing large flagship Open Source projects like Mozilla/Firefox make this mistake is truly saddening. Lets hope they come to their senses before they turn linux into the same mess that windows is.
edit: hehe, I just noticed Ken is one of our own and already posted that above, so my post was a little redundant. I still think he's spot on with his comments though.
I have also had this problem and I want to thank shadowsnipes for the solution.
In my case I renamed my ~/.mozilla/firefox/<random>.default/mimeTypes.rdf and started firefox 3.0 so that this file was recreated.
I then added entries as suggested by shadowsnipes and am now able to use the File -> Send Link.. dialog to start Thunderbird.
I have since edited my /usr/lib/firefox-3.0/defaults/pref/firefox.js and commented out the
The blank Applications screen under Edit -> Preferences is still a bug, but it is possible to associate applications with file types so that they work correctly. You just cannot see them or change them from within Firefox 3.0.
This is my mimeTypes.rdf in case anyone wants a look, with xpdf added as the default app for pdf files.
I think regis_n_bits actually just built the firefox package from the slackBuild (binary repacking).
The problem, as I said earlier, is that the old thunderbird patch no longer works in Firefox 3.0 (mail handling changed). The patch I submitted in my last post can be used in a slackBuild or on a installed firefox package. If the old thunderbird patch was used you have to undo it, unless you want more than one thunderbird entry (one being broken).
I should have made it clearer in my post that I used the latest Slackbuild, and modified it to not apply the Thunderbird patch. Just a binary repacking (no compile from source, no adding new packages).
I added the patch to my SlackBuild and now everything works perfectly. (The crashing problem I mentioned earlier seems to have solved itself).
_______________________________________________________
Just applying this patch to a source build fixed the problem with the applications not showing up. You don't even need to install any gnome libs.
dugan just made a post though with his own slackbuilds, I haven't tried them yet, but there i'm sure there solid.
dugan's slackBuild requires your font packages and xulrunner. Does your slackBuild require any compile time dependencies not met in stock Slackware?
Edit: I just looked at your Slackware Fonts thread and it says that the new cairo and fontconfig are required. Looking at your buildscript, it looks like I won't have to build xulrunner. Perhaps taking off the "--enable-system-cairo" will allow me to not need the new cairo and fontconfig (I don't mind the way my fonts look now).
Last edited by shadowsnipes; 06-30-2008 at 11:49 PM.
dugan's slackBuild requires your font packages and xulrunner. Does your slackBuild require any compile time dependencies not met in stock Slackware?
Edit: I just looked at your Slackware Fonts thread and it says that the new cairo and fontconfig are required. Looking at your buildscript, it looks like I won't have to build xulrunner. Perhaps taking off the "--enable-system-cairo" will allow me to not need the new cairo and fontconfig (I don't mind the way my fonts look now).
Yes, you only need my cairo/fontconfig packages if you want to enable proper sub-pixel rendering with firefox 3.0 if you don't care then just take out that option and it should compile fine.
I use thunderbird, not GMail, but I followed steps 1 & 2 to set up GMail and then I had the option of choosing Thunderbird as the default.
How to do this.
1. In about:config
set "gecko.handlerService.allowRegisterFromDifferentHost" to true
set "network.protocol-handler.app.mailto;" /usr/bin/thunderbird
2. Run this in address line
javascript:window.navigator.registerProtocolHandler("mailto","http://mail.google.com/mail/?extsrc=mailto&url=%s","GMail")
3. Firefox will ask permission to add this as default mailto handler..say yes
Click on a mailto link or right click to send page, Firefox will ask which application to use, choose thunderbird and set as default.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.