LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-03-2005, 07:07 AM   #1
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
Firefox extensions installation


Hello,

When I was using Mozilla, I used to install extensions as root, so that those get installed system-wide (for all users).
Now I'm using Firefox. I installed a number of extensions as root, but instead of getting installed under /opt/firefox-1.0.1/, those got installed under ~root/.mozilla/firefox/!

Is there a way to "move" the installed extensions so that they are system-wide?
Or at least, is there a different for doing this, so that I can install the extensions system-wide? Maybe I should download the XPI files, but them, what command will install a XPI system-wide?

Thanks,
Yves.
 
Old 05-04-2005, 12:06 AM   #2
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
I believe that you could simply install the same extensions again as normal user, and then they should be available to all users if you make the /opt/firefox-1.0.1 directory usable by all users. I am assuming you trust all the users--your family for example, or friends.

If Firefox complains that the extensions are already installed, if it were me, I would just delete the /root/.mozilla/firefox/ directory, because I never run applications such as Firefox as root anyway.
(I believe you meant to type a / rather than a ~ before "root" in that path.)
 
Old 05-04-2005, 03:05 AM   #3
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Original Poster
Rep: Reputation: 61
I thank you for your answer.
The problem is, that I shouldn't have to install those extension for each user. /opt/firefox-1.0.1 is usable by all users, as this is the place where my firefox is installed, hence it is the place that is actually used by all users... except for preference, which are (conformant to Unix tradition) in a hidden directory in each user's profile: ~/.mozilla/firefox/...

(FYI, "~root" means "home-directory of root" (you can use that for any user). And for me, that's not always /root.)
Like you, I usually don't use applications like firefox as root. But I thought that was the way to install the extensions system-wide, as it was with old Mozilla. As obviously it is not (any more), I don't mind deleting ~root/.mozilla entirely, but before that, I'd like to try and move the already-downloaded extensions.
If this is not possible, it does not matter. Those extensions are not that big, and I can download them again, if someone (please ? ) tells me how those can be installed system-wide, ie: under Firefox' installation prefix (namely for me: /opt/firefox-1.0.1).

Yves.
 
Old 06-06-2005, 10:39 AM   #4
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Original Poster
Rep: Reputation: 61
I finally found that installing a previously downloaded .XPI file is as simple as opening it in Firefox. Better than nothing... at least I don't have to download again for each user.

I'd still be interested, though, in knowing how to directly install the XPI system-wide.

If someone knows...

Yves.
 
Old 06-06-2005, 11:43 AM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Extensions are stored in each Firefox users profile. You can set it up to share the same profile, but then you are also sharing bookmarks, saved password, etc.

They are usually stored somewhere along the lines of: .mozilla/firefox/xxxxxxxx.default/extensions


The easiest way would be to:
"How can I share a fixed profile, such as on dual-boot machines?(Not quite what you are needing to do)
This is very easy. Supposing your profile exists for one particular instance of a Mozilla product, you need to make use of the Profile Manager for the other instance of this application in order to inform it of where your existing profile is stored. Simply choose to create a new profile from within the Profile Manager; when prompted for the installation folder browse to and select your existing profile folder. Rather than creating a brand new profile, your application will instead recognize the existing profile and allow you to use it"
http://kb.mozillazine.org/Roaming_profile
 
Old 06-07-2005, 02:58 AM   #6
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Original Poster
Rep: Reputation: 61
No no no! That's a very Windows-ish way of doing things. Surely I'm not the only one here with multiple users, and surely not the only one also to know that Unix applications always have system-wide settings under /etc or $PREFIX/whatever, and user settings under ~/.whatever.
So should Linux version of Firefox, or else it is just a bad adaptation of the Windows version.

Yves.
 
Old 06-07-2005, 11:33 AM   #7
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by theYinYeti
No no no! That's a very Windows-ish way of doing things. Surely I'm not the only one here with multiple users, and surely not the only one also to know that Unix applications always have system-wide settings under /etc or $PREFIX/whatever, and user settings under ~/.whatever.
So should Linux version of Firefox, or else it is just a bad adaptation of the Windows version.

Yves.
I think your last sentence hit the nail on the head.

While Thunderbird has its own ~/.thunderbird directory, Firefox for whatever reason known only to its developers has not got its own settings, etc. directory, but depends on the ~/.mozilla directory. I cannot for the life of me see the advantage of this, but I can certainly see disadvantages.
 
Old 06-07-2005, 12:04 PM   #8
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Well, on my system the user profile is under /home/craig/.mozilla/firefox/xxxxxx.default

While the system wide profile is under /etc/mozilla-firefox/profile
and root has a profile at /root/.mozilla/firefox/xxxxxxx.default/
I think Firefox was written for Linux after the windows version and the devs only changed enough of the code for it to work. The whole profile thing is what screws things up.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How many firefox extensions do you have? exit3219 General 17 12-04-2005 10:17 AM
10 Extensions to Enhance Firefox phlyersphan Linux - News 16 03-01-2005 12:40 PM
Where do I find my extensions for firefox? DavidBroome Suse/Novell 2 11-27-2004 01:00 AM
Symlinking Firefox Extensions from Windows to Firefox? apachedude Linux - Software 11 11-26-2004 05:00 AM
firefox 1.0 no installing extensions psychobyte Linux - Software 1 11-15-2004 04:41 PM


All times are GMT -5. The time now is 11:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration