A rewrite in C++ and wxWidgets of a minimalistic pEp Linux Setup for Thuderbird.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pEp Weblate 5c1f81ed1a Fix locale 3 weeks ago
.Setup split system install in two calls 2 months ago
contrib now use contrib/pEp/pEpLinuxBuilder 4 weeks ago
docs/screenshots add screenshot 2 months ago
locale Fix 3 weeks ago
parts Merge branch 'build-image/master' 3 weeks ago
plat add wrapper and cleanup script 4 weeks ago
src Merge branch 'build-image/master' 3 weeks ago
webstart webstart 2 months ago
.drone.yml Merge branch 'build-image/master' 3 weeks ago
.gitignore add build deps for static build 4 weeks ago
.gitmodules now use contrib/pEp/pEpLinuxBuilder 4 weeks ago
BUILDING.txt webstart 2 months ago
GNUmakefile Merge branch 'build-image/master' 3 weeks ago
README.md add variant option to select between user and system install 2 months ago
pEp_Thunderbird_Setup.desktop more fixes 2 months ago


pEp Installer for Linux (Binary)


This is a component of the pEp Installer for Linux (it does not consistute a useable installer on it's own). This is the program to launch from a *.desktop file, which in turn will offer user choices, and then run backend scripts with proper privileges.

It also has the facility to prompt the user for an administrative password shall the backend script prompt accordingly on its stdout (pseudo-terminal) or stderr.

The uninstall button is only exposed if launched with the option -U.


git clone https://gitea.pep.foundation/claudio/pEpLinuxSetupForThunderbird.git
git submodule update --init
  - or -
make wx_config=/path/to/custom/wx-config


./tb_setup -h
./tb_setup -U /path/to/pEp_Thunderbird_Setup.desktop

Running installer binary


The ./tb_binary execution is meant to be wrapped by a *.desktop file carrying specific parameters for the installation. Two ways of launching tb_setup exist, (a) by means of the Exec= setting, and (b) by means of a shell "shebang" while the .desktop files executable bit is also set. In the latter case, tb_setup relies on the shell passing the .desktop file as the script to be executed as an argument to the running interpreter, which in this case is tb_setup. To achieve symmetry between the two modes of launching, the .desktop file shall be structured as follows:

#!/usr/bin/env ./tb_setup
# [ Text that explains to the user on how to start
#   this as a script from the console. ]

[Desktop Entry]
Exec=sh -c './tb_setup "%k"'

Whenever tb_setup is launched this way, it will parse the .desktop file and extract installation parameters. It will then set defaults and launch install scripts according to the parameters.

[Desktop Entry]

The options and values are case sensitive.

The X-pEp-Exec is a file path to the script performing the adapter installation. It is called with the command line arguments and with appropriate privileges (root or user) as described below. The X-pEp-Import-Exec is called after the adapter installation, and called with the command line argumentsas described below, while it is always called as the current user. The values of X-pEp-MDA-Version, X-pEp-MDA-Platform, X-pEp-MDA-OS and X-pEp-MDA-Variant are passed through to the install scripts.

If not set explicitely, X-pEp-MDA-Variant defaults to tb for system installs, and tbmini for user installs.


mkdir -p tmpbin
ln -sf /bin/su tmpbin/su
PATH=$PWD/tmpbin ./tb_setup -U