Thursday, January 20, 2005

Default Plugin? No Thanks


hide | show
Epiphany has a built in feature to install missing plugins if you need them to view a webpage. However, there are plugins that people do not want to have installed, flash being the primary candidate.

The reasons are varied, typically either to avoid contaminating an otherwise completely free computer system, or to make the web a little less annoying by getting rid of all flash-based ads (which often cover the site's content, or have audio).

Unfortunately, Epiphany does not remember the users preference with regard to plugins. Unlike it's behavior with passwords, the only choices are yes or no, with no option to say "Never".

This can be overcome by finding and renaming the file "libnullplugin.so". Different Mozilla based browsers may install it in different locations. On my system, though, Epiphany shares it with Mozilla, and it is located at /usr/lib/nsbrowser/plugins/libnullplugin.so. You can either use:
cd / && find * | grep libnullplugin.so or, if you have slocate slocate libnullplugin.so to find all instances of it on your system.

Once the offending file has been removed, rename it to something like libnullplugin.so1, and you will never be asked again if you want to install a missing plugin, while having the option to undo this change by simply changing the filename back.

After this fix, both Epiphany and Mozilla treated flash as if it didn't exist, although Firefox still asked if I wanted to install a missing plugin (their dialog is less intrusive, though).

Labels:


7 Comments:

Anonymous Anonymous knowledgely replied ...

that is just about the ugliest way of doing a find I have ever seen. Why use 3 processes when one is enough.
The nice way of doing it is:

find / -name libnullplugin.so

in generel the plugin is in one of the lib dirs which is normally /lib, /usr/lib, or /usr/local/lib

6:45 PM, January 20, 2005  
Anonymous Anonymous knowledgely replied ...

There is yet another way to search for the file. It's called "Search for Files..." and it's in the main menu! :)

7:57 PM, January 20, 2005  
Blogger Karel Demeyer knowledgely replied ...

Hehe .. if you have to search stuff the user can't see, you'll have to run it as root. Which means: search for "run as different user" in the systems menu (need gksuexec for it to be installed), in the first field, type "gnome-search-tool" (without ""), run as 'root', insert password.
Ok, shoot me and just start the terminal :p

8:25 PM, January 20, 2005  
Anonymous Anonymous knowledgely replied ...

Consider the power of being able to create incoming links to your site any time you want them...

6:02 PM, October 29, 2005  
Anonymous Anonymous knowledgely replied ...

And A Link Back To Your Web Site Excite You?

4:24 PM, October 31, 2005  
Anonymous Anonymous knowledgely replied ...

Imagine the power of tens of thousands of other web sites being able to easily

1:56 AM, November 07, 2005  
Anonymous Anonymous knowledgely replied ...

Does this in any affect the OPERATION of any existing plug ins?

Confirm that 'killimg' this file only removes the "nag" window.

7:44 PM, October 16, 2006  

Post a Comment

<< Home

-->