Does anyone know how to add Firefox addons externally? I’m building a live device in the studio, and want some addons in the default install. Just extracting the contents of the .xpi files doesn’t seem to do it, I only get partial functionality.
I guess it’s a permissions problem, Everything is “normal” running FF as superuser. Do all users need write permissions to the addon files?
I’m way in over my head here. But have you noticed how some distros, immediately post install, before you even open up any application, already have a .mozilla folder. It seems to be created with the user account during install/login to that account for the first time.
Now not all distros have a .mozilla folder until you actually start FFox.
You see extension must be added at the user level because they are user specific and so should not be in the root .mozilla
So - How to have a .mozilla in place during the install/creation of a user account (with the extension in place) - I don’t know.
Just thinking aloud here…
You would need to gzip them up and create/run script adding to the
users ~/.mozilla directory.
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.3 (x86_64) Kernel 2.6.34-12-default
up 3 days 14:41, 3 users, load average: 0.06, 0.13, 0.16
GPU GeForce 8600 GTS Silent - Driver Version: 256.44
The ~/.mozilla directory won’t be created until the user first runs Firefox. There is, however, /usr/share/mozilla/extensions/<appid>/<extid>, where the openSUSE extensions reside. Addons put here should be available to all users.
That would simplify it, but the random-generated UID makes it nearly impossible to implement it.
Great minds think alike Malcolm, only you actually know what you are on about
This is the sort of question I would post in to one of the Linux Magazine Q&A sections.
You would also need to chown them and chmod them to the proper permissions.
Now I see what you mean, there is another directory in ~/mozilla for FF extensions. Thanks, Malcolm.
Strange, the extracted files in tux’s directory are owned by user 1001. Tux owns the tar file, with rwr-r-.
On Sat, 07 Aug 2010 05:06:02 +0000, chief sealth wrote:
> Does anyone know how to add Firefox addons externally? I’m building a
> live device in the studio, and want some addons in the default install.
> Just extracting the contents of the .xpi files doesn’t seem to do it, I
> only get partial functionality.
Easiest way would be to put the xpi in the image, build a disk image, and
install locally in testdrive - then save off the changed files and apply
them back to the appliance.
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C