On 04/16/2011 10:04 AM, Florian Kriener wrote:
Removing the gnome-mime-data package works btw. but since inkscape
depends on it (through gnome-vfs stuff) one cannot reasonable use
iceweasel with inkscape installed in a non gnome session.

Finally got tired of having to disable the workaround prior to using inkscape, and remembering to enable it again to prevent iceweasel from crashing.

So I dug down into the code, and found that a better workaround is to use the GNOME_VFS_MODULE_CONFIG_PATH environment variable to give iceweasel a file-less config.

$ sudo cp -a /etc/gnome-vfs-2.0/ /etc/iceweasel/gnome-vfs-2.0
$ sudo editor /etc/iceweasel/gnome-vfs-2.0/modules/default-modules.conf

Comment out "file: file", and optionally add a reference to this bug.

If you have /usr/local/bin before /usr/bin in your PATH then save this script as /usr/local/bin/iceweasel and make it executable.

#!/bin/sh
export GNOME_VFS_MODULE_CONFIG_PATH=/etc/iceweasel/gnome-vfs-2.0/modules
/usr/bin/iceweasel $@
# END OF SCRIPT

Now make it executable with:
$ sudo chmod +x /usr/local/bin/iceweasel

And test that /usr/local/bin is before /usr/bin in your PATH with:
$ which iceweasel

If the last command doesn't return the new script, then check your PATH.

--
Best regards
Asbjørn Sloth Tønnesen



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to