Tails Autostart

Table of contents

  1. Overview
  2. Install Tails Autostart
  3. How to use it
  4. Remove Tails Autostart

Overview

Tails Autostart is a utility script that automatically starts scripts/applications on Tails bootup.

This utility facilitates other applications to work properly.


Install Tails Autostart

  • Open a Terminal window: choose Applications ▸ Utilities ▸ Terminal

  • Clone Run-on-Tails GitHub repository:
    $ cd ~/Downloads
    $ git clone https://github.com/dutu/run-on-tails.git
    
  • Run installation script:
    $ chmod +x ./run-on-tails/tails-autostart/install.sh
    $ ./run-on-tails/tails-autostart/install.sh
    
    • Wait for message Tails Autostart installation completed successfully.

How to use it

  • add any scripts to /live/persistence/TailsData_unlocked/dotfiles/.config/autostart/amnesia.d to execute them on startup as user amnesia
  • add any scripts to /live/persistence/TailsData_unlocked/dotfiles/.config/autostart/root.d to execute them on startup as user root

Remove Tails Autostart

  • Remove Tails Autostart files:
    $ rm /live/persistence/TailsData_unlocked/dotfiles/.config/autostart/tails-autostart.desktop
    $ rm -fr /live/persistence/TailsData_unlocked/dotfiles/.config/autostart/tails-autostart
    

    Scripts in autostart/amnesia.d and autostart/root.d intended to run on startup will remain in place. However, with the removal of Tails autostart, they will no longer be triggered at Tails startup.