Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is this possible? Ideally, I'm trying to make script which will take files (my extension backup files) and replace or install them into other user's computer, with all settings saved. Is this possible. It's ok even if I have to replace whole Mozilla Firefox directory, but it would be better to install only extension with all settings saved. I cannot use gui, so I'm looking for terminal only. For example a bash script and some files which I can give to customers and they would easy install it. Is this possible? The extensions I'm trying to install this way on people's computer is user agent overrider.

share|improve this question
    
Are we talking extensions or plugins? because they are very different from each other (Addon is an .xpi while plugin is an .so - shared object) –  Yaron Jul 6 at 9:36
    
Extension, not plugin. –  Dusan Milosevic Jul 6 at 9:40
    
Yeah. Did you know everything is possible to install via terminal? ;) –  KasiyA Jul 6 at 9:52
    
Of course, the question is: How? :D –  Dusan Milosevic Jul 6 at 10:03

1 Answer 1

up vote 3 down vote accepted

download the extension

$ wget http://www.addons...../extension-name
$ firefox extension-name

example on Ubuntu-it Menu :

$ wget https://addons.cdn.mozilla.net/storage/public-staging/4684/ubuntu_it_menu-1.1.0-fx.xpi
$ firefox ubuntu_it_menu-1.1.0-fx.xpi

info : 'https://addons.mozilla.org/en-US/firefox/addon/ubuntu-it-menu/?src=search
'

share|improve this answer
    
Thanks! But, is it possible to just copy some files from my firefox directory, and then replace some files on other computer, so that firefox on other computer has the same extenssion with all settings saved? Or even copy he entire firefox directory? –  Dusan Milosevic Jul 6 at 9:57
    
I tried this with cookies & it works but i don't know if that work well with extensions when i copied it i saw the extension still installed but i haven't tried them –  hwez Jul 6 at 10:06
    
Ok, tell me what files to copy, and i'll try it. Thanks! –  Dusan Milosevic Jul 6 at 10:24
    
i copied the main folder /home/username/.mozilla & you'll find a dir 'extension' "just for checking" –  hwez Jul 6 at 10:26
    
Ok, I'll try it. Thanks! –  Dusan Milosevic Jul 6 at 10:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.