Snippets code from my daily experience

November 8, 2009

Karmic Koala hides Firefox context menuitems icons

Filed under: bugzilla,firefox,karmic koala,ubuntu,viewsourcewith — dafi @ 11:27 am

This week I’ve received four times the same (i.e. duplicated) ViewSourceWith (VSW) bug report that sounds…

“ViewSourceWith stopped to show the icons on context menu, this regression is present on Karmic Koala (Ubuntu 9.10)”

I use Intrepid Ibex (Ubuntu 8.10) and all works fine, so I’ve burned a Karmic Koala ISO and tested it discovering the “regression” exists.

Debug -> Add logs -> Remove logs -> Clean Profile -> DOM Inspect -> MozRepl without find where the problem occurs.

Last resort -> Bugzilla -> Found!!!

The Bug 527253 unveils the mystery!

This isn’t a regression

ViewSourceWith isn’t the guilty, Firefox isn’t the guilty but… Gnome is the guilty :P

Type the command shown below from command line and restart Firefox

gconftool-2 --type bool --set /desktop/gnome/interface/menus_have_icons true

EDIT Or use the UI to obtain same result (thanks to mzz) system -> preferences -> appearance -> interface -> show icons in menus

This worked for me and also for two bug submitters (the other two guys do not replayed to my hint)

So remember Bugzilla is your friend ;)

November 7, 2008

Java plugin with Prism under Ubuntu 64 bit

Filed under: 64bit,java plugin,linux,prism,ubuntu — dafi @ 8:54 pm

This post in mainly for my own usage, my brain loose very quickly informations :P

I use Ubuntu Intrepid Ibex 64bit version with Firefox Linux x86_64 and occasionally I need to visit some website using Java applets, as well known to run Java plugin you need to use the Firefox 32bit version because the Java plugin exists only for this architecture.

I don’t want to trash my FF 64bit (also Swiftweasel) only for Java plugin so I’ve decided to configure Prism to use the websites needing java plugin.

  • Install the 32bit version of java
    sudo apt-get install ia32-sun-java6-bin
  • Create a symlink to plugin
    sudo
    ln -s /usr/lib/jvm/ia32-java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /home/dave/.mozilla/plugins/
  • Create a prism webapp, for example using the Sun test page

The destination path /home/dave/.mozilla/plugins/ must be modified according to your settings

This confirms Prism is rock ;)

EDIT (05 July 2009) After Sun released the plugin compatible with 64bit platforms you can change the symlink to

ln -s $JDK_INSTALLED_DIR/jre/lib/amd64/libnpjp2.so /home/dave/.mozilla/plugins/

as described at PluginDoc web page

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.