User Tools

Site Tools


en:howto:signal_on_tails

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:howto:signal_on_tails [2024/03/12 08:31] – [2.) Configure Tails] doobryen:howto:signal_on_tails [2024/03/31 11:37] (current) doobry
Line 4: Line 4:
  
 Tested with: Tested with:
-  * Tails version 4.25 +  * Tails versions 4, 5 and 6 
-  * Signal version 5.26.+  * Signal version 7.4.0
  
 ===== 1.) Install Tails on USB-Stick ===== ===== 1.) Install Tails on USB-Stick =====
Line 35: Line 34:
 ===== 4.) Configure Flatpak ===== ===== 4.) Configure Flatpak =====
  
-Put these commands into a script (a simple text file) in persistent folder i.e. ''/home/amnesia/Persistent/flatpak-setup.sh'' :+Put these commands into a script (a simple text file) in persistent folder i.e. ''/home/amnesia/Persistent/flatpak-setup.sh''. You can do so by opening it from the Terminal with a text editor:
  
-<code>#!/bin/sh+<code> 
 +gnome-text-editor /home/amnesia/Persistent/flatpak-setup.sh 
 +</code> 
 + 
 +Content of the file: 
 + 
 +<code> 
 +#!/bin/sh
  
 mkdir -p /home/amnesia/Persistent/flatpak mkdir -p /home/amnesia/Persistent/flatpak
 mkdir -p /home/amnesia/.local/share mkdir -p /home/amnesia/.local/share
-ln -s /home/amnesia/Persistent/flatpak /home/amnesia/.local/share/flatpak+ 
 +if ! file /home/amnesia/.local/share/flatpak | grep -q 'symbolic link'; then 
 +        rm -rf --one-file-system /home/amnesia/.local/share/flatpak 
 +        ln -s /home/amnesia/Persistent/flatpak /home/amnesia/.local/share/flatpak 
 +fi 
 mkdir -p /home/amnesia/Persistent/app mkdir -p /home/amnesia/Persistent/app
 mkdir -p /home/amnesia/.var mkdir -p /home/amnesia/.var
-ln -s /home/amnesia/Persistent/app /home/amnesia/.var/app</code>+ln -s /home/amnesia/Persistent/app /home/amnesia/.var/app 
 +</code>
  
   * Make script executable   * Make script executable
Line 52: Line 64:
   * Add script to autostart   * Add script to autostart
  
-Create a file: ''/live/persistence/TailsData_unlocked/dotfiles/.config/autostart/FlatpakSetup.desktop'' +Create a file: ''/live/persistence/TailsData_unlocked/dotfiles/.config/autostart/FlatpakSetup.desktop''. To do so, first create the directory, then open the file with a text editor:
-(Most probably you will have to create folders named ''.config'' and ''autostart''. You may have to use admin password and make hidden files and folders visible.)+
  
-Put this to the text file named ''FlatpakSetup.desktop'' :+<code> 
 +mkdir -p /live/persistence/TailsData_unlocked/dotfiles/.config/autostart/ 
 +gnome-text-editor /live/persistence/TailsData_unlocked/dotfiles/.config/autostart/FlatpakSetup.desktop 
 +</code>
  
-<code>[Desktop Entry]+Content of the file: 
 + 
 +<code> 
 +[Desktop Entry]
 Name=FlatpakSetup Name=FlatpakSetup
 GenericName=Setup Flatpak on Tails GenericName=Setup Flatpak on Tails
Line 63: Line 80:
 Exec=/live/persistence/TailsData_unlocked/Persistent/flatpak-setup.sh Exec=/live/persistence/TailsData_unlocked/Persistent/flatpak-setup.sh
 Terminal=false Terminal=false
-Type=Application</code>+Type=Application 
 +</code>
  
 Reboot Reboot
Line 81: Line 99:
 ===== 6.) Configure Signal ===== ===== 6.) Configure Signal =====
  
-Put these commands into a script (a simple text file) in persistent folder i.e. ''/home/amnesia/Persistent/signal.sh'' :+Put these commands into a script (a simple text file) in ''/home/amnesia/Persistent/signal.sh''. To do so, open the file in a text editor:
  
-<code>#!/bin/sh+<code> 
 +gnome-text-editor /home/amnesia/Persistent/signal.sh 
 +</code> 
 + 
 +Content of the file: 
 + 
 +<code> 
 +#!/bin/sh
  
 export HTTP_PROXY=socks://127.0.0.1:9050 export HTTP_PROXY=socks://127.0.0.1:9050
 export HTTPS_PROXY=socks://127.0.0.1:9050 export HTTPS_PROXY=socks://127.0.0.1:9050
-flatpak run org.signal.Signal</code>+flatpak run org.signal.Signal 
 +</code>
  
   * Make script executable   * Make script executable
Line 95: Line 121:
   * Add script to applications   * Add script to applications
  
-Create a file: ''/live/persistence/TailsData_unlocked/dotfiles/.local/share/applications/Signal.desktop'' +Create a file: ''/live/persistence/TailsData_unlocked/dotfiles/.local/share/applications/Signal.desktop'' 
-(Most probably you will have to create folders named ''.local'', ''share'' and ''applications''You may have to use admin password and make hidden files and folders visible.)+To do so, first create the directory, then open the file with a text editor: 
 + 
 +<code> 
 +mkdir -p /live/persistence/TailsData_unlocked/dotfiles/.local/share/applications 
 +gnome-text-editor /live/persistence/TailsData_unlocked/dotfiles/.local/share/applications/Signal.desktop 
 +</code>
  
-Put this to the text file named ''Signal.desktop'' :+Content of the file:
  
-<code>[Desktop Entry]+<code> 
 +[Desktop Entry]
 Name=Signal Name=Signal
 GenericName=Signal Desktop Messenger GenericName=Signal Desktop Messenger
Line 106: Line 138:
 Terminal=false Terminal=false
 Type=Application Type=Application
-Icon=/home/amnesia/.local/share/flatpak/app/org.signal.Signal/current/active/files/share/icons/hicolor/128x128/apps/org.signal.Signal.png</code>+Icon=/home/amnesia/.local/share/flatpak/app/org.signal.Signal/current/active/files/share/icons/hicolor/128x128/apps/org.signal.Signal.png 
 +</code>
  
 Reboot and unlock persistence volume. (You need to unlock persistence volume every time you want to use Signal) Reboot and unlock persistence volume. (You need to unlock persistence volume every time you want to use Signal)
en/howto/signal_on_tails.1710228682.txt.gz · Last modified: 2024/03/12 08:31 by doobry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki