Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

From what I understand, Firefox uses the Mozilla Application Framework, which basically is meant to ensure a consistent interface across all platforms. On Windows, 3.5 looks beautiful. I don't know for Mac. On Linux, it looks acceptable under KDE, quite nicer under xfce, and quite horribly pixilated under fluxbox, my preferred WM.

What is the reason for this, and is there any way this can be patched or repaired?

share|improve this question

migrated from stackoverflow.com Sep 1 '09 at 12:36

This question came from our site for professional and enthusiast programmers.

    
Migrate to superuser? –  user4774 Sep 1 '09 at 12:34
    
Not duplicate but related: superuser.com/questions/591/… –  OscarRyz Sep 1 '09 at 14:37
add comment

5 Answers

Firefox on Linux uses GTK as GUI library. You need to use one gtk theme.

Simplest solution is creating .gtkrc-2.0 in your home directory, following is an example:

include "/usr/share/themes/Dust/gtk-2.0/gtkrc"
gtk-icon-theme-name = "Tango"
style "user-font"
{
font_name = "Sans 12"
}
widget_class "*" style "user-font"
gtk-font-name = "Sans 12"

The file is self descriptive. The first line uses "include" to use the gtk theme "Dust".

share|improve this answer
add comment

The Mozilla Application Framework is dead, XULRunner is what you should use now. Firefox is basically a XULRunner app, in fact many Linux distributions package it as one.

Mozilla decided platform integration was a better idea than looking the same everywhere, and you can read more about the Firefox 3 theme design process, including the uproar that occured when they forgot to mention Linux. In short, Linux users wanted Firefox to use their GTK+ theme rather than use its own icons. Hence you need to configure a GTK+ theme when running a WM/DE that doesn't set it, like fluxbox.

share|improve this answer
add comment

Yes!

Change your "style" on your desktop. In most Gnome based distros this can be achieved with the "appearance" menu.

My personal favorite is "clearlooks", but make up your own mind.

p.s. QT's oxygen is beautiful, but looks like trash with the qt-gtk engine enabled, it just never renders websites correctly for me.

share|improve this answer
add comment

My point was that Firefox should be independent of the desktop style due to using the MAF

Also, I wanted this on SO because I wanted to know about the programming aspect, not the user perspective. Can it please be migrated back?

share|improve this answer
    
yeah but the windowing agent is given a style that's possible to change with the user preferences. –  bobby Sep 1 '09 at 12:43
    
Not for fluxbox or other WM systems, and the question was meant to be why the MAF was not independant. –  JC Denton Sep 1 '09 at 13:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.