@@ -10,7 +10,7 @@ If you want to keep Telegram Desktop persistent, we need to set up the Persisent
...
@@ -10,7 +10,7 @@ If you want to keep Telegram Desktop persistent, we need to set up the Persisent
4. Choose _Applications ▸ System Tools ▸ Root Terminal_ using the password set in step 3.
4. Choose _Applications ▸ System Tools ▸ Root Terminal_ using the password set in step 3.
5. In order to create persistent storage for [Flatpak](https://flatpak.org), a package manager we're going to use for installing Signal Desktop and keeping the software, settings, keys, messages etc. persistent, execute
5. In order to create persistent storage for [Flatpak](https://flatpak.org), a package manager we're going to use for installing Signal Desktop and keeping the software, settings, keys, messages etc. persistent, execute
~~~
~~~
sed -i '$ a /home/amnesia/.local/share/flatpak source=flatpak\ /live/persistence/TailsData_unlocked/persistence.conf\n/home/amnesia/.var/app source=var_app'
sed -i '$ a /home/amnesia/.local/share/flatpak source=flatpak\n/home/amnesia/.var/app source=var_app\n/home/amnesia/.local/share/applications source=applications' /live/persistence/TailsData_unlocked/persistence.conf
~~~
~~~
6. Shutdown Tails.
6. Shutdown Tails.
...
@@ -42,7 +42,7 @@ Y
...
@@ -42,7 +42,7 @@ Y
~~~
~~~
2. For running telegram-desktop on Tails we need to run a command, this can be simplified using an executable shell script + creating a desktop file for a more convenient launch of Telegram, executing:
2. For running telegram-desktop on Tails we need to run a command, this can be simplified using an executable shell script + creating a desktop file for a more convenient launch of Telegram, executing:
~~~
~~~
echo -e '#!/bin/sh\nflatpak run org.telegram.desktop | sudo tee -a /home/amnesia/Persistent/telegram-desktop.sh && chmod +x /home/amnesia/Persistent/telegram-desktop.sh && echo -e '[Desktop Entry]\nType=Application\nName=Telegram\nIcon=/home/amnesia/.local/share/flatpak/app/org.telegram.desktop/current/active/files/share/icons/hicolor/128x128/apps/org.telegram.desktop.png\nExec=bash -c '\''/home/amnesia/Persistent/telegram-desktop.sh'\''\nTerminal=true\nCategories=Network\nMimeType=x-scheme-handler/element;\nStartupWMClass=telegram\nKeywords=Telegram;' | tee -a ~/.local/share/applications/Telegram.desktop
echo -e '#!/bin/sh\nflatpak run org.telegram.desktop | tee -a /home/amnesia/Persistent/telegram-desktop.sh && chmod +x /home/amnesia/Persistent/telegram-desktop.sh && echo -e '[Desktop Entry]\nType=Application\nName=Telegram\nIcon=/home/amnesia/.local/share/flatpak/app/org.telegram.desktop/current/active/files/share/icons/hicolor/128x128/apps/org.telegram.desktop.png\nExec=bash -c '\''/home/amnesia/Persistent/telegram-desktop.sh'\''\nTerminal=true\nCategories=Network\nMimeType=x-scheme-handler/element;\nStartupWMClass=telegram\nKeywords=Telegram;' | tee -a ~/.local/share/applications/Telegram.desktop
~~~
~~~
4. If you haven't done it already while installing another Flatpak from this HowTo, create an update script and Desktop shortcut for conveniently updating Flatpak managed applications, executing:
4. If you haven't done it already while installing another Flatpak from this HowTo, create an update script and Desktop shortcut for conveniently updating Flatpak managed applications, executing: