A rewrite in C++ and wxWidgets of a minimalistic pEp Linux Setup for Thuderbird.
Go to file
pEp Weblate 5c1f81ed1a Fix locale 2021-03-24 11:23:34 +01:00
.Setup split system install in two calls 2021-02-11 16:52:31 +01:00
contrib now use contrib/pEp/pEpLinuxBuilder 2021-03-17 18:13:47 +01:00
docs/screenshots add screenshot 2021-02-08 07:33:48 +01:00
locale Fix 2021-03-24 11:21:43 +01:00
parts Merge branch 'build-image/master' 2021-03-23 19:16:09 +01:00
plat add wrapper and cleanup script 2021-03-17 15:16:11 +01:00
src Merge branch 'build-image/master' 2021-03-21 03:13:38 +01:00
webstart webstart 2021-02-15 13:44:37 +01:00
.drone.yml Merge branch 'build-image/master' 2021-03-23 19:22:50 +01:00
.gitignore add build deps for static build 2021-03-16 21:15:49 +01:00
.gitmodules now use contrib/pEp/pEpLinuxBuilder 2021-03-17 18:13:47 +01:00
BUILDING.txt webstart 2021-02-12 23:27:18 +01:00
GNUmakefile Merge branch 'build-image/master' 2021-03-23 19:22:50 +01:00
README.md add variant option to select between user and system install 2021-02-09 02:26:53 +01:00
pEp_Thunderbird_Setup.desktop more fixes 2021-02-12 14:01:29 +01:00


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