pmpatrick Posted August 2, 2006 Report Share Posted August 2, 2006 Came across this great article the other day in the gentoo wiki on how to integrate firefox with kde: http://gentoo-wiki.com/HOWTO_Integrate_Firefox_with_KDE For all you kde users that are sick and tired of the gnome file save window that pops up in firefox everytime you want to download a file, the above article describes in detail how to change that so you get your usuall kde file save window. In addition, there are several other tips on integrating firefox with kde included in this excellent article. A must read for any kde user. moved to tips and tricks by ianw1974 (felt this the best place for it) Quote Link to comment Share on other sites More sharing options...
ffi Posted August 2, 2006 Report Share Posted August 2, 2006 (edited) Didnt read yet but thank you, I was looking for this for a long time, I hope it works for other apps too edit\: it would seem not btw the path in mandriva is: /usr/lib/mozilla-firefox-1.5.0.5/components/nsFilePicker.js (or whichever your installed version is) Edited August 2, 2006 by ffi Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted August 2, 2006 Author Report Share Posted August 2, 2006 Just to elaborate a bit, the file you need to edit is "nsFilePicker.js" which is located in the "components" subdirectory. I installed the updated firefox in my home directory using the linux package on the firefox website so mine is located at ~/firefox/components. It's pretty easy to find nsFilePicker.js just by locating your firefox "components" subdirectory. nsFilePicker.js is a pretty large and confusing file. Open it with kwrite and hit F11 to show the line numbers. In my version of firefox(1.5.0.5), the place where you need to make the edit begins at line 268, YMMV. You probably want to back up your original nsFilePicker.js somewhere so you can recover if you screw up the edit. One other tip - to make the edit take effect be sure to follow this direction in the article: Important: to make this change take effect, you need to reset Firefox's chrome registry, which you can do by installing or disabling an extension, then restarting Firefox. I forgot to do that and couldn't get it to work. After I uninstalled and reinstalled adblock, it worked fine. Quote Link to comment Share on other sites More sharing options...
ffi Posted August 2, 2006 Report Share Posted August 2, 2006 (edited) It works, it works...YIPPIE :D now other gtk apps, like videolan Edited August 2, 2006 by ffi Quote Link to comment Share on other sites More sharing options...
uralmasha Posted August 3, 2006 Report Share Posted August 3, 2006 (edited) Great topic, thank you! While reading the article and following links, I found here on mozillux an already modified nsFilePicker.js for those who don't feel like editing it. Edited August 3, 2006 by uralmasha Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.