Tag Results for 'firefox'

A Firefox user in #firefox asked if you can hide the grey text ‘Seach Bookmarks and History’ in the address bar.screenshot of Firefox showing the textI created the following userChrome.css code that hides the text by turning it white. If you use a dark theme you should change the color: line to match the address bar color.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
textbox[empty="true"] .textbox-input-box {
-moz-appearance: none !important;
color: #fff !important;
}
screenshot of Firefox showing the userChrome.css applied

Ubuntu New Wave GTK theme and Firefox

I upgraded to Ubuntu 9.04 yesterday and one of the new features is a theme called New Wave. Here is what the file browser looks like.

Nautilus file browser displaying the New Wave theme

Upon starting Firefox I was greeted by black text on a grey menu bar.

Firefox browser displaying the New Wave theme

Thankfully Firefox can be customized with CSS by creating a userChrome.css file in the chrome folder of your Firefox profile.

Firefox browser displaying the New Wave theme with the userChrome.css fix

The userChrome.css code

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

/* menu toolbar text color */
menu > label.menubar-text {
color: #fff !important;
-moz-appearance: none !important;
}
/* menu toolbar text color when menu is open */
menu[open="true"] > label.menubar-text {
color: #1A1A1A !important;
-moz-appearance: none !important;
}

This fix also works on Komodo Edit 5.1 and SeaMonkey 2.

checking MOZ_PANGO_LIBS... -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gnome-vfs-2.0 >= 2.0 gnome-vfs-module-2.0 >= 2.0... checking for gconf-2.0 >= 1.2.1... checking for libgnome-2.0 >= 2.0... checking for libgnomeui-2.0 >= 2.2.0... checking for dbus-glib-1 >= 0.60... yes
checking MOZ_DBUS_GLIB_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking MOZ_DBUS_GLIB_LIBS... -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
checking for snd_pcm_open in -lasound... no
configure: error: Ogg support on Linux requires the alsa library
*** Fix above errors and then restart with "make -f client.mk build"
make[1]: *** [configure] Error 1

Disable OGG support in your .mozconfig via

ac_add_options --disable-ogg

. If you want OGG support install libasound2-dev via

sudo apt-get install libasound2-dev

.

Mozilla build error: nsinstall: Bad file number

make[4]: execvp: /d/programs/mozilla-build/moztools/bin/nsinstall: Bad file number
make[4]: *** [export] Error 127
make[4]: Leaving directory `/d/src/moz-hg/fx-trunk-optimized/config'
make[3]: *** [export_tier_base] Error 2
make[3]: Leaving directory `/d/src/moz-hg/fx-trunk-optimized'
make[2]: *** [tier_base] Error 2
make[2]: Leaving directory `/d/src/moz-hg/fx-trunk-optimized'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/d/src/moz-hg/fx-trunk-optimized'
make: *** [build] Error 2

In a Windows build this error is the result of not compiling as an administrator. Make sure you are using an elevated command prompt in Windows Vista or start MSYS command prompt as an administrator.