[CENTER][SIZE=4]For Edgy please go here![/SIZE] [/CENTER]
As fan of Firefox, and a user of Kubuntu, I'm sort of disappointed how GNOME-centric Firefox is in Linux (i.e., the GTK file dialogs). However, I've found several steps that allow one to better integrate everyone's favorite open-source browser with KDE.
Step 1: Replace the GTK file dialogs with the built-in dialogs Go to the component directory in the folder Firefox is installed to (if you have the Ubuntu Firefox package installed, it's /usr/lib/mozilla-firefox/component) and open up the nsFilePicker.js file with your favorite text editor. Now, find this set of lines:
compMgr.registerFactoryLocation(FILEPICKER_CID,
"FilePicker JS Component",
// *really long comment here*
"",
// *really long comment here*
fileSpec,
location,
type);
compMgr.registerFactoryLocation(FILEPICKER_CID,
"FilePicker JS Component",
// *really long comment here*
FILEPICKER_CONTRACTID,
// *really long comment here*
fileSpec,
location,
type);
[IMG]http://www.ubuntuforums.org/attachment.php?attachmentid=4957&stc=1&d=1135976302[/IMG]
Step 2: Install a matching Firefox theme This one's a little more tricky. Mozillux has a few KDE themes for Firefox, but they are locked to the default KDE colors of white and blue and the Plastik look and feel, while the default Firefox theme (assuming you have GTK apps take on the QT feel) will look like whatever KDE theme you use.
Luckily, a user on KDE-Look.org recently uploaded a version of the Firefox default theme that replaces some of the stock icons with icons from the KDE default iconset Crystal SVG. I took this theme, and tinkered a bit more with it some more so that just about all the icons (save for a few that don't have comparable equivalents in Crystal SVG) and have uploaded it here.
Download the CrystalDefault theme for Firefox. Untar the file, then load the jar theme file it produces into Firefox, and apply the theme to the program. Feel free to replace the images in the theme with whatever KDE iconset you use if you want.
Voila, you have a Firefox that looks a little bit more like a native KDE app.