Benutzer-Werkzeuge

Webseiten-Werkzeuge


howto:several_signal_desktop_instances

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
howto:several_signal_desktop_instances [2022/05/06 15:28] doobryhowto:several_signal_desktop_instances [2025/08/04 21:11] (aktuell) – [Distribution package] pterophorus
Zeile 3: Zeile 3:
 In order to run several Signal desktop instances in parallel, you can pass a ''--user-data-dir=<path>'' commandline option to signal-desktop. In order to run several Signal desktop instances in parallel, you can pass a ''--user-data-dir=<path>'' commandline option to signal-desktop.
  
 +First find out in which way your existing Signal instance was installed:
 +
 +For Flatpak, run
 +  flatpak list | grep signal-desktop
 +For Snap, run
 +  snap list signal-desktop
 +For distribution package run
 +  dpkg -l signal-desktop
 ===== Linx Flatpak ===== ===== Linx Flatpak =====
  
 When Signal Desktop is installed via flatpak, do the following: When Signal Desktop is installed via flatpak, do the following:
  
-<code> +  - Copy ''/var/lib/flatpak/app/org.signal.Signal/current/active/files/share/applications/org.signal.Signal.desktop'' to ''~/.local/share/applications/Signal2.desktop''   
-$ cp /var/lib/flatpak/app/org.signal.Signal/current/active/files/share/applications/org.signal.Signal.desktop ~/.local/share/applications/Signal2.desktop  +  Then edit ''~/.local/share/applications/Signal2.desktop'' and change lines 2-3 as follows (replace ''<user>'' with your username):<code>
-</code> +
- +
-Then edit ''~/.local/share/applications/Signal2.desktop'' and change lines 2-3 as follows (replace ''<user>'' with your username): +
- +
-<code>+
 Name=Signal 2 Name=Signal 2
-Exec=flatpak run org.signal.Signal --user-data-dir=/home/<user>/.var/app/org.signal.Signal/config/Signal2 %U+Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=signal-desktop --file-forwarding org.signal.Signal --user-data-dir=/home/<user>/.var/app/org.signal.Signal/config/Signal2 @@u %U @@
 </code> </code>
  
 Afterwards, you should find the second instance of Signal Desktop as "Signal 2" in your application launcher. Afterwards, you should find the second instance of Signal Desktop as "Signal 2" in your application launcher.
  
-===== Linx Snap (Ubuntu) =====+==== Captcha Verifications ====
  
-When Signal Desktop is installed via snap, do the following:+Sometimes Signal asks you to verify that you're a human by solving a captcha. The link after the captcha is always opened by the default Signal client profile. You can change this temporarily by setting the ''Exec'' value of the ''.desktop'' file of the default Signal client: 
 + 
 +In ''/var/lib/flatpak/app/org.signal.Signal/x86_64/stable/active/files/share/applications/org.signal.Signal.desktop'':
  
 <code> <code>
-$ cp /var/lib/snapd/desktop/applications/signal-desktop_signal-desktop.desktop ~/.local/share/applications/Signal2.desktop +Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=signal-desktop --file-forwarding org.signal.Signal --user-data-dir=/home/<user>/.var/app/org.signal.Signal/config/Signal2 @@u %U @@ 
 </code> </code>
  
-Then edit ''~/.local/share/applications/Signal2.desktop'' and change lines 2-3 as follows (replace ''<user>'' with your username):+===== Linx Snap (Ubuntu=====
  
-<code>+When Signal Desktop is installed via snap, do the following: 
 + 
 +  - Copy ''/var/lib/snapd/desktop/applications/signal-desktop_signal-desktop.desktop'' to ''~/.local/share/applications/Signal2.desktop'' 
 +  - Then edit ''~/.local/share/applications/Signal2.desktop'' and change lines 2-3 as follows (replace ''<user>'' with your username):<code>
 Name=Signal 2 Name=Signal 2
-Exec=Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/signal-desktop_signal-desktop.desktop /snap/bin/signal-desktop --no-sandbox --user-data-dir=/home/user/snap/signal-desktop/current/.config/Signal2 %U+Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/signal-desktop_signal-desktop.desktop /snap/bin/signal-desktop --no-sandbox --user-data-dir=/home/<user>/snap/signal-desktop/current/.config/Signal2 %U
 </code> </code>
  
 Afterwards, you should find the second instance of Signal Desktop as "Signal 2" in your application launcher. Afterwards, you should find the second instance of Signal Desktop as "Signal 2" in your application launcher.
 +
 +===== Distribution package =====
 +In the Signal Desktop package, find the file ending with ''.desktop''.
 +This file describes how Signal Desktop is started via the launcher of your GUI. You can customize the file for a second Signal instance.
 +   dpkg -l signal-desktop | grep .desktop
 +
 +Copy the ''.desktop'' file into your local directory:
 +  cp /usr/share/applications/signal-desktop.desktop ~/.local/share/applications/signal-desktop-ap.desktop
 +
 +Find out the location of your Signal Desktop standard config directory. Possibly it is ''.config/Signal'' in your home directory (press Ctrl + h in order to see system folders in your home directory). When you found the location, create a new directory in the ''.config'' directory named like you want to name your new Signal instance, e.g. ''Signal2''
 +  mkdir ~/.config/Signal2
 +
 +Find the ''.desktop'' file in your local directory and open it with a text editor.
 +
 +Change the ''Name'' and ''Exec'' lines:
 +''Name'' is the name you assign to your new Signal instance, in this example ''Signal2''.
 +''Exec'' describes the path to your newly created config directory:
 +  Exec=/opt/Signal/signal-desktop -user-data-dir=path/to/folder %U
 +Your ''.desktop'' file should now look something like this:
 +  [Desktop Entry]
 +  Name=Signal2
 +  Exec=/opt/Signal/signal-desktop -user-data-dir=/home/user/.config/Signal2 %U
 +  Terminal=false
 +  Type=Application
 +  Icon=signal-desktop
 +  StartupWMClass=Signal
 +  Comment=Private messaging from your desktop
 +  MimeType=x-scheme-handler/sgnl;x-scheme-handler/signalcaptcha;
 +  Categories=Network;InstantMessaging;Chat;
 +
 +Save the file.
 +You should now find your new instance ''Signal2'' in your application launcher.
howto/several_signal_desktop_instances.1651843684.txt.gz · Zuletzt geändert: von doobry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki