Any working ways of setting up element and signal, plus a mic?

Yeah qubes might be to much hassle… any way of setting up element, signal and a mic?
Some scrips, etc? I like Qubes if i can get this too work. Not sure i have privacy though.
There where some old bash scripts that worked earlier, but not anymore.

I mainly read the forum since I do not feel I am qualified to answer much of anything. That said, can’t you clone a template, install element or signal per their instructions on their websites in that template, create a qube based on this template, add the app to the qube using qube manager/settings/applications, then using the qubes devices icon in the upper right of the screen, attach your mic?

2 Likes

No the mic is lagging fast… so it sounds wierd. Slow laptop. Also, the normal signal and element dont work in a template.

So, is your issue only with the mic, or do you still not have one or both of the apps installed and working? I ask this because I see multiple posts/threads where you have asked about this.

I don’t follow what you mean with this

I was unaware that the instructions on the Signal site for downloading do not work at the time of my last message. Since then, I have seen your message and multiple other posts regarding this.
I followed the instructions from this Contents/docs/privacy/signal.md at master · Qubes-Community/Contents · GitHub and was able to install Signal in a debian-11 template without issue.

I am not using a minimal, so the specific commands I entered were these.

sudo apt install curl
sudo apt install dunst
curl --proxy 127.0.0.1:8082 -s https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' | sudo tee -a /etc/apt/sources.list.d/signal-desktop.list
sudo apt update && sudo apt full-upgrade && sudo apt install --no-install-recommends signal-desktop

It is working fine for me on Qubes release 4.1.2 with kernel 6.2.10-1

The mic issue you are experiencing, I cannot comment on, as I do not use any mics, and would need more information about what you are using, and how you have it connected.

1 Like

Yeah if someone having an updated element and signal bash file you could share that would be good.
Also, on how to set up a mic in Qubes. I might change OS again. Hmm…
If i can get element and signal to work i might stay with Qubes. Thanks

I expect that Element should be installed normally in a Template qube.

2 Likes
Moderation, off-topic

@anon42456682

Please do not double-post, it makes the forum cluttered and unreadable. I moved your topic “Could someone create a bash element and bash signal file? Or having updated instructions?” here.

3 Likes

I have written scripts for creating Signal and Element templates based on Debian-minimal template. The scripts were written in dom0 and are meant to be run in dom0. Before running the scripts, you must first install the Debian-11-minimal template or change the SOURCE_TEMPLATE variable at the top of each script to the Debian template of your choice. The commands and packages in the scripts would need to be changed if you wanted to use Fedora instead of Debian.

Here is the script for creating a Signal-Desktop template:

#!/bin/bash

SOURCE_TEMPLATE=debian-11-minimal
SIGNAL_TEMPLATE=deb11-min-signal

# Clone template from minimal source:
qvm-clone $SOURCE_TEMPLATE $SIGNAL_TEMPLATE

# Install requirements:
qvm-run -u root --pass-io $SIGNAL_TEMPLATE 'apt-get install --no-install-recommends curl nautilus policykit-1 pulseaudio-qubes qubes-core-agent-nautilus qubes-core-agent-networking qubes-usb-proxy xfce4-notifyd zenity -y'

# Install public signing key:
qvm-run -u root --pass-io $SIGNAL_TEMPLATE 'curl --proxy 127.0.0.1:8082 https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor | tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null'

# Add repository:
qvm-run -u root --pass-io $SIGNAL_TEMPLATE 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main" | tee -a /etc/apt/sources.list.d/signal-xenial.list'

# Update package database and install signal: qvm-run -u root --pass-io $SIGNAL_TEMPLATE 'apt-get update && apt-get install --no-install-recommends signal-desktop -y'

# (Optional) Remove curl:
qvm-run -u root --pass-io $SIGNAL_TEMPLATE 'apt-get purge --autoremove curl -y'

# Shutdown:
qvm-shutdown --wait $SIGNAL_TEMPLATE

Here is the script for creating an Element-Desktop template:

#!/bin/bash

SOURCE_TEMPLATE=debian-11-minimal
ELEMENT_TEMPLATE=deb11-min-element

# Clone template from minimal source:
qvm-clone $SOURCE_TEMPLATE $ELEMENT_TEMPLATE

# Install requirements:
qvm-run -u root --pass-io $ELEMENT_TEMPLATE 'apt-get install --no-install-recommends libsqlcipher0 nautilus policykit-1 pulseaudio-qubes qubes-core-agent-nautilus qubes-core-agent-networking qubes-usb-proxy xfce4-notifyd wget zenity -y'

# Install public signing key:
qvm-run -u root --pass-io $ELEMENT_TEMPLATE 'export https_proxy=127.0.0.1:8082; wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg'

# Add repository:
qvm-run -u root --pass-io $ELEMENT_TEMPLATE 'echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main" | tee /etc/apt/sources.list.d/element-io.list'

# Update package database and install element:
qvm-run -u root --pass-io $ELEMENT_TEMPLATE 'apt-get update && apt-get install --no-install-recommends element-desktop element-io-archive-keyring -y'

# (Optional) Remove wget:
qvm-run -u root --pass-io $ELEMENT_TEMPLATE 'apt-get purge --autoremove wget -y'

# Shutdown:
qvm-shutdown --wait $ELEMENT_TEMPLATE

These scripts should have no problems installing the templates. Then you just need to create the AppVM qubes based on these templates.

Script to create Signal qube:

#!/bin/bash

SIGNAL_TEMPLATE=deb11-min-signal
SIGNAL_QUBE=signal
NETWORK_QUBE=sys-firewall

qvm-create --class AppVM --template $SIGNAL_TEMPLATE --prop autostart=false --prop netvm=$NETWORK_QUBE --label blue $SIGNAL_QUBE

Script to create Element qube:

#!/bin/bash

ELEMENT_TEMPLATE=deb11-min-element
ELEMENT_QUBE=element
NETWORK_QUBE=sys-firewall

qvm-create --class AppVM --template $ELEMENT_TEMPLATE --prop autostart=false --prop netvm=$NETWORK_QUBE --label green $ELEMENT_QUBE

You might want to search the forum for microphone issues and make a new topic if you cannot find a solution to your problem.

3 Likes