ecosia: add search engine to ff nightly (using opensearch)

ff nightly will not work with the current ecosia extension. the opensearch form is also not loaded(?) automatically, and searching through the use of keyword is not conventient.

i found the opensearch url of ecosia: https://www.ecosia.org/opensearch.xml

and adding it through the webconsole (ctrl+shift+k): window.external.AddSearchProvider(engineURL);

fixed my problem (using “https….” as the engineURL).


source: mozilla.org

Advertisements

Install Firefox Nightly binaries from Mozilla

Installation process is similar to the one for Thunderbird Daily (see this blog post).

differences:

  • binary download link:
    # wget "https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64&lang=en-US" -O firefox-nightly.tar.bz2
  • icon link:
    # wget http://www.iconspedia.com/dload.php?up_id=146406 -O ~/.icons/Mozilla-Firefox-Nightly-256.png
  • # cat ~/.local/share/applications/firefox-nightly.desktop
    [Desktop Entry]
    Version=1.0
    Name=Firefox Nightly
    GenericName=Web Browser
    Comment=Browse the Web
    Exec=firefox-nightly %u
    Icon=Mozilla-Firefox-Nightly-256.png
    Terminal=false
    Type=Application
    MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
    StartupNotify=true
    Categories=Network;WebBrowser;
    Keywords=web;browser;internet;
    Actions=new-window;new-private-window;
    
    [Desktop Action new-window]
    Name=New Window
    Exec=firefox-nightly --new-window %u
    
    [Desktop Action new-private-window]
    Name=New Private Window
    Exec=firefox-nightly --private-window %u
    

Install Thunderbird Daily binaries from mozilla

Thunderbird Daily can be installed in most distros directly from their repos but more often than not it is outdated (they usually disable automatic updates). this can be circumvented by installing the binary directly from mozilla. the automatic update will then be enabled.

download the latest binary from http://ftp.mozilla.org and verify the download (checksum and gpg – for gpg you need mozilla’s key)

as of the time of writing the following script downloaded the binary and verified it:

$ mkdir ~/{bin,software}
$ cd ~/software
$ wget http://ftp.mozilla.org/pub/thunderbird/nightly/latest-comm-central/thunderbird-57.0a1.en-US.linux-x86_64.{tar.bz2,checksums,checksums.asc}
$ tar xvf thunderbird-57.0a1.en-US.linux-x86_64.tar.bz2
$ mv thunderbird thunderbird-daily

the verification process is not as smooth as it could be. this will do a sha512 checksum test

$ grep thunderbird-57.0a1.en-US.linux-x86_64.tar.bz2 thunderbird-57.0a1.en-US.linux-x86_64.checksums | grep sha512 - | awk '{print $1, $4}' - | sha512sum -c -

import pgp key from mozilla. then do signature check

$ gpg2 --verify thunderbird-57.0a1.en-US.linux-x86_64.checksums{.asc,} 

Update script in total

#!/bin/zsh

RELEASE="57.0a1"

# download files
wget -q http://ftp.mozilla.org/pub/thunderbird/nightly/latest-comm-central/thunderbird-${RELEASE}.en-US.linux-x86_64.{tar.bz2,checksums,checksums.asc}

# check sha512 hash
grep thunderbird-${RELEASE}.en-US.linux-x86_64.{tar.bz2,checksums} | grep sha512 - | awk '{print $1, $4}' - | sha512sum -c -

# check gpg signature
gpg2 --verify thunderbird-${RELEASE}.en-US.linux-x86_64.checksums{.asc,} 

# extract, move, cleanup
tar jxf thunderbird-${RELEASE}.en-US.linux-x86_64.tar.bz2
mv thunderbird-daily{,OLD}
mv thunderbird{,-daily}
rm thunderbird-${RELEASE}.en-US.linux-x86_64.{tar.bz2,checksums.asc,checksums}

Now, create a file link:

$ ln -s $HOME/bin/thunderbird-daily $HOME/software/thunderbird-daily/thunderbird-bin

download the daily icon (no direct download link available): assets.mozilla.org

create a desktop entry (include your home folder path!):

$ cat $HOME/.local/share/applications/thunderbird-daily.desktop
[Desktop Entry]
Version=1.0
Name=Thunderbird Daily
Comment=Send and receive mails
GenericName=Mail Client
Exec=/home/paul/bin/thunderbird-daily %u
Icon=thunderbird-daily.png
Terminal=false
Type=Application
MimeType=message/rfc822;x-scheme-handler/mailto;application/x-xpinstall;
StartupNotify=true
Categories=Network;Email;
Keywords=web;browser;internet;
Actions=ComposeMessage;OpenAddressBook;

[Desktop Action ComposeMessage]
Name=Write new message
Exec=/home/paul/bin/thunderbird-daily -compose

[Desktop Action OpenAddressBook]
Name=Open address book
Exec=/home/paul/bin/thunderbird-daily -addressbook

Install firefox nightly on ubuntu/mint

for the nightly builds of firefox do the following:

  1. just include the following ppa:$ sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
  2. update and install the package, called firefox-trunk

source: support.mozilla.org


for the firefox-next install see: https://itgrenade.wordpress.com/2016/07/11/install-firefox-beta-on-mint-ubuntu-debian-etc/