#!/bin/bash #Deinstall wrong installed userspace app /usr/bin/flatpak list --user | grep com.nextcloud.talk if [[ $? -eq 0 ]]; then /usr/bin/flatpak uninstall -y --user com.nextcloud.talk fi # Ensure session bus and KWallet D-Bus access (may be blocked by Flatseal or missing from manifest) /usr/bin/flatpak override --user --socket=session-bus \ --talk-name=org.kde.kwalletd5 --talk-name=org.kde.kwalletd6 \ com.nextcloud.talk # Start Nextcloud Talk in Background #Current Version of Talk is dumping Core echo "Starting Nextcloud Talk in Background." systemd-run --user --no-block --unit=nextcloud-talk.service --property=Delegate=yes \ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background >>${TEMPDIR}/talk.log 2>&1 exit 0