en:howto:signal_on_tails
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:howto:signal_on_tails [2022/11/29 19:06] – gelöscht - Externe Bearbeitung (Unknown date) 127.0.0.1 | en:howto:signal_on_tails [2025/12/17 14:49] (current) – [3.1) Install Signal] y | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== How To: Installing and running the Signal Messenger on Tails ====== | ||
| + | < | ||
| + | |||
| + | < | ||
| + | |||
| + | Tested with: | ||
| + | * Tails versions 4, 5 and 6 | ||
| + | * Signal version 7.4.0 | ||
| + | |||
| + | ===== 1) Install and configure Tails ===== | ||
| + | |||
| + | ==== 1.1) Install Tails ==== | ||
| + | |||
| + | See howto: [[https:// | ||
| + | |||
| + | |||
| + | ==== 1.2) Boot Tails ==== | ||
| + | |||
| + | Start Tails. Before logging in, make sure to enable the following option: | ||
| + | |||
| + | - ☑️ Set an Administration Password. | ||
| + | - ☑️ Enable the persistent storage | ||
| + | |||
| + | ==== 1.3) Configure Persistent Storage ==== | ||
| + | |||
| + | |||
| + | After the first start, you will be asked to create and [[https:// | ||
| + | |||
| + | * ☑️ Enable persisting additionaly installed software | ||
| + | * ☑️ Enable Dotfiles feature | ||
| + | |||
| + | ===== 2) Install and configure Flatpak ===== | ||
| + | |||
| + | The approach used to run Signal on Tails is using Flatpak. Flatpak is a utility for software deployment and package management for Linux (Tails is a Linux). | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | ==== 2.1) Install Flatpak ==== | ||
| + | |||
| + | Open Terminal and run the following command: | ||
| + | |||
| + | < | ||
| + | sudo apt update && sudo apt install flatpak --yes | ||
| + | </ | ||
| + | |||
| + | Tails then asks if you want to add flatpak to your additional software. Choose: " | ||
| + | |||
| + | ==== 2.2) Configure Setup script for Flatpak ==== | ||
| + | |||
| + | In order to persist the configuration for Flatpak, some additional steps are required. Because they will be required after each boot, you will create a script to automate this. | ||
| + | |||
| + | === Create script === | ||
| + | |||
| + | The following terminal command will open a text editor to create a script in the directory ''/ | ||
| + | |||
| + | < | ||
| + | gnome-text-editor / | ||
| + | </ | ||
| + | |||
| + | Content of the file: | ||
| + | |||
| + | < | ||
| + | #!/bin/sh | ||
| + | |||
| + | mkdir -p / | ||
| + | mkdir -p / | ||
| + | |||
| + | if ! file / | ||
| + | rm -rf --one-file-system / | ||
| + | ln -s / | ||
| + | fi | ||
| + | |||
| + | mkdir -p / | ||
| + | mkdir -p / | ||
| + | ln -s / | ||
| + | </ | ||
| + | |||
| + | |||
| + | === Make script executable === | ||
| + | |||
| + | This is required so that the text file can be executed as a program: | ||
| + | |||
| + | < | ||
| + | chmod +x / | ||
| + | </ | ||
| + | |||
| + | === Run the script === | ||
| + | |||
| + | Run the set up script: | ||
| + | |||
| + | < | ||
| + | bash / | ||
| + | </ | ||
| + | |||
| + | === Add script to autostart === | ||
| + | |||
| + | |||
| + | Now you create an entry in the autostart folder at ''/ | ||
| + | |||
| + | Create the directory if it doesn' | ||
| + | |||
| + | < | ||
| + | mkdir -p / | ||
| + | </ | ||
| + | |||
| + | Open the file with the text editor: | ||
| + | |||
| + | < | ||
| + | gnome-text-editor / | ||
| + | </ | ||
| + | |||
| + | Content of the file: | ||
| + | |||
| + | < | ||
| + | [Desktop Entry] | ||
| + | Name=FlatpakSetup | ||
| + | GenericName=Setup Flatpak on Tails | ||
| + | Comment=This script runs the flatpak-setup.sh script on start of the user session | ||
| + | Exec=/ | ||
| + | Terminal=false | ||
| + | Type=Application | ||
| + | </ | ||
| + | |||
| + | ==== 2.3) Configure package repository for Flatpak ==== | ||
| + | |||
| + | You will need to tell Flatpak from which URL to fetch the software packages: | ||
| + | |||
| + | < | ||
| + | torsocks flatpak remote-add --user --if-not-exists flathub https:// | ||
| + | </ | ||
| + | |||
| + | ===== 3) Install and configure Signal | ||
| + | |||
| + | ==== 3.1) Install Signal ==== | ||
| + | |||
| + | Install Signal. This command will take quite a couple of minutes: | ||
| + | |||
| + | < | ||
| + | torsocks flatpak --user install flathub org.signal.Signal | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== 3.2) Configure Signal ==== | ||
| + | |||
| + | Configure Signal to use Tor for connecting to the internet: | ||
| + | |||
| + | < | ||
| + | flatpak override --user --env=HTTP_PROXY=socks:// | ||
| + | flatpak override --user --env=HTTPS_PROXY=socks:// | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== 3.3) Create menu entry for Signal updates ==== | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | Note that you will still need to run it manually by opening the menu entry!</ | ||
| + | |||
| + | Create the directory for menu custom menu entries: | ||
| + | |||
| + | < | ||
| + | mkdir -p / | ||
| + | </ | ||
| + | |||
| + | Create the menu entry: | ||
| + | |||
| + | < | ||
| + | gnome-text-editor / | ||
| + | </ | ||
| + | |||
| + | Content of the file: | ||
| + | |||
| + | < | ||
| + | [Desktop Entry] | ||
| + | Name=Update Flatpak apps | ||
| + | GenericName=Update Flatpak apps | ||
| + | Exec=/ | ||
| + | Terminal=true | ||
| + | Type=Application | ||
| + | </ | ||
| + | |||
| + | This file will now show up in your menu (when you hit the windows button) as " | ||
| + | |||
| + | ===== 4) Done ===== | ||
| + | |||
| + | You're all set. On subsequent reboots will only need to unlock the persistent volume. | ||
| + | |||
| + | Setting an administrator password will not be necessary, except you wish to do any changes to the setup. | ||
