thunderbird: export message filters

one can export/import/backup the message filters but it’s more involved than it should be.

the message filters are in single files within your home directory. their path is

~/.thunderbird/<profileStr>/ImapMail/<mailAcc>/msgFilterRules.dat

For example

~/.thunderbird/asdbasbdas.default/ImapMail/mail.yahoo.ru/msgFilterRules.dat
Advertisements

Latex+beamer: dual screen presentation

you can include notes into your slides. just use \note{txt} inside of your frame environment. you can also make use of overlays and align all notes in itemize environment

\note<overlay>[item]{txt}

you can chose the style of your output pdf by the following options in your preamble

\setbeameroption{hide notes} 		% default
\setbeameroption{show notes}		
\setbeameroption{show notes on second screen=left} % 
\setbeameroption{show only notes}

when choosing “second screen” you get a pdf containing your standard slides and one showing your notes. get a pdf viewer which can actually distinguish between both (e.g. pdfpc).

use pdfpc as such

pdfpc --notes=left --duration=30  ~/presentation.pdf

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

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