How to put SimpleX onto a Template?

Has anyone managed to Put SimpleX onto any template as i just cant do it?

i did download the app image on a normal Qube VM yet idk how to open or run it either…

chmod +x your_app_image
then ./your_app_image

owww, i not understand how to that one, i went to the app image in download folder then i right click download folder then OPEN IN TERMINAL then i typed;

user@localhost:~$ chmod +x simplex-desktop-x86_64.AppImage
chmod: cannot access ‘simplex-desktop-x86_64.AppImage’: No such file or directory
user@localhost:~$ ./simplex-desktop-x86_64.AppImage
bash: ./simplex-desktop-x86_64.AppImage: No such file or directory
user@localhost:~$

You are in your home folder…

CLI
user@localhost:~/Downloads$ chmod +x simplex-desktop-x86_64.AppImage
user@localhost:~/Downloads$ ./simplex-desktop-x86_64.AppImage
./simplex-desktop-x86_64.AppImage: line 2: syntax error near unexpected token newline' ./simplex-desktop-x86_64.AppImage: line 2: <?xml version="1.0" encoding="utf-8"?>’
user@localhost:~/Downloads$

I think your AppImage may have not been downloaded correctly. Can you post the output of the command head simplex-desktop-x86_64.AppImage? (While being in Downloads)

1 Like

user@localhost:~/Downloads$ head simplex-desktop-x86_64.AppImage

<?xml version="1.0" encoding="utf-8"?> 618 jwt:expired

Error 618 jwt:expired

Yeah, this means that your AppImage did not download correctly for some reason. Remove this file and download it again. This link should work: https://github.com/simplex-chat/simplex-chat/releases/latest/download/simplex-desktop-x86_64.AppImage

If you run head on that file, you should get a lot of weird output starting with ELFAI, this means it’s correct.

2 Likes

I use Flatpak instead (Solene'% : Flatpak integration in Qubes OS templates). It allows you to install SimpleX system-wide in a template and makes updating a little easier.

2 Likes

You could make a clone of whonix-workstation-17, and install SimpleX using the simplex-desktop-ubuntu-22_04-x86_64.deb file. Then make an AppVM based on that template.

You can add a launch icon to the menu for an AppImage or Flatpak by following this guide App menu shortcut troubleshooting | Qubes OS. I added the icon like this:

mkdir -p /home/user/.local/share/applications
nano /home/user/.local/share/applications/simplex.desktop

[Desktop Entry]
Type=Application
Name=SimpleX
Exec=/home/user/simplex-desktop-x86_64.AppImage
Terminal=false

sudo chmod +x /home/user/.local/share/applications/simplex.desktop
I did it in the template and in the appVM