How to completely remove electron as a dependencie of element-desktop

i must have accidentally installed electron as a dependency of element-desktop because i didn’t know any better. now i want to uninstall everything again, especially electron and install element-desktop as a flatpak.

i need help for this.
first: so i don’t uninstall anything unnecessary and make my system unusable

and

second: so that i learn to use pacman more and better

pacman -Qi element-desktop
Name                     : element-desktop
Version                  : 1.11.20-1
Beschreibung             : Glossy Matrix collaboration client — desktop version.
Architektur              : x86_64
URL                      : https://element.io
Lizenzen                 : Apache
Gruppen                  : Nichts
Stellt bereit            : Nichts
Hängt ab von             : element-web=1.11.20  electron22  libsecret
Optionale Abhängigkeiten : Nichts
Benötigt von             : Nichts
Optional für             : Nichts
In Konflikt mit          : Nichts
Ersetzt                  : riot-desktop
Installationsgröße       : 10,22 MiB
Packer                   : Bruno Pagani <archange@archlinux.org>
Erstellt am              : Sa 21 Jan 2023 07:54:44 CET
Installiert am           : Mo 13 Feb 2023 18:57:52 CET
Installationsgrund       : Ausdrücklich installiert
Installations-Skript     : Nein
Verifiziert durch        : Signatur
pacman -Qi electron
Name                     : electron
Version                  : 22.0.3-2
Beschreibung             : Build cross platform desktop apps with web technologies
Architektur              : x86_64
URL                      : https://electronjs.org/
Lizenzen                 : MIT  custom
Gruppen                  : Nichts
Stellt bereit            : electron22
Hängt ab von             : c-ares  gtk3  libevent  nss  wayland  fontconfig  woff2  aom  brotli  libjpeg  icu  dav1d  flac  snappy
                           libxml2  ffmpeg  libwebp  minizip  opus  harfbuzz  re2  libavif  jsoncpp  libxslt  libpng  freetype2
Optionale Abhängigkeiten : kde-cli-tools: file deletion support (kioclient5) [Installiert]
                           libappindicator-gtk3: StatusNotifierItem support
                           pipewire: WebRTC desktop sharing under Wayland [Installiert]
                           qt5-base: enable Qt5 with --enable-features=AllowQt [Installiert]
                           trash-cli: file deletion support (trash-put)
                           xdg-utils: open URLs with desktop’s default (xdg-email, xdg-open) [Installiert]
Benötigt von             : element-desktop  geogebra
Optional für             : Nichts
In Konflikt mit          : electron22
Ersetzt                  : Nichts
Installationsgröße       : 198,42 MiB
Packer                   : Evangelos Foutras <foutrelis@archlinux.org>
Erstellt am              : So 12 Feb 2023 08:39:41 CET
Installiert am           : Mo 13 Feb 2023 18:57:52 CET
Installationsgrund       : Installiert als Abhängigkeit eines anderen Pakets
Installations-Skript     : Nein
Verifiziert durch        : Signatur

expac
❯ expac -S "%o" element
lua
❯ expac -S "%o" electron
kde-cli-tools  libappindicator-gtk3  pipewire  qt5-base  trash-cli  xdg-utils
pactree electron
electron
├─c-ares
│ └─glibc
│   ├─linux-api-headers>=4.10
│   ├─tzdata
│   └─filesystem
│     └─iana-etc
├─gtk3
│ ├─adwaita-icon-theme
│ │ ├─hicolor-icon-theme
│ │ ├─gtk-update-icon-cache
│ │ │ ├─gdk-pixbuf2
│ │ │ │ ├─glib2
│ │ │ │ │ ├─libffi
│ │ │ │ │ │ └─glibc
│ │ │ │ │ ├─libsysprof-capture
│ │ │ │ │ ├─pcre2
│ │ │ │ │ │ ├─readline
│ │ │ │ │ │ │ ├─glibc
│ │ │ │ │ │ │ ├─ncurses
│ │ │ │ │ │ │ │ ├─glibc
│ │ │ │ │ │ │ │ └─gcc-libs
│ │ │ │ │ │ │ │   └─glibc>=2.27
│ │ │ │ │ │ │ └─ncurses provides libncursesw.so=6-64
│ │ │ │ │ │ ├─zlib
│ │ │ │ │ │ │ └─glibc
│ │ │ │ │ │ ├─bzip2
│ │ │ │ │ │ │ ├─glibc
│ │ │ │ │ │ │ └─bash provides sh
│ │ │ │ │ │ │   ├─readline
│ │ │ │ │ │ │   ├─readline provides libreadline.so=8-64
│ │ │ │ │ │ │   ├─glibc
│ │ │ │ │ │ │   └─ncurses
│ │ │ │ │ │ └─bash
│ │ │ │ │ ├─util-linux-libs
│ │ │ │ │ ├─zlib
│ │ │ │ │ ├─libffi provides libffi.so=8-64
│ │ │ │ │ └─util-linux-libs provides libmount.so=1-64
│ │ │ │ ├─libpng
│ │ │ │ │ ├─zlib
│ │ │ │ │ └─bash provides sh
│ │ │ │ ├─libtiff
│ │ │ │ │ ├─glibc
│ │ │ │ │ ├─libjpeg-turbo
│ │ │ │ │ │ └─glibc
│ │ │ │ │ ├─libjpeg-turbo provides libjpeg.so=8-64
│ │ │ │ │ ├─zlib
│ │ │ │ │ ├─xz
│ │ │ │ │ │ └─bash provides sh
│ │ │ │ │ └─zstd
│ │ │ │ │   ├─glibc
│ │ │ │ │   ├─gcc-libs
│ │ │ │ │   ├─zlib
│ │ │ │ │   ├─xz
│ │ │ │ │   └─lz4
│ │ │ │ │     └─glibc
│ │ │ │ ├─libjpeg-turbo provides libjpeg
│ │ │ │ └─shared-mime-info
│ │ │ │   ├─libxml2
│ │ │ │   │ ├─icu
│ │ │ │   │ │ ├─gcc-libs
│ │ │ │   │ │ └─bash provides sh
│ │ │ │   │ ├─ncurses
│ │ │ │   │ ├─readline
│ │ │ │   │ ├─xz
│ │ │ │   │ └─zlib
│ │ │ │   └─glib2
│ │ │ ├─librsvg
│ │ │ │ ├─cairo
│ │ │ │ │ ├─fontconfig
│ │ │ │ │ │ ├─expat
│ │ │ │ │ │ │ └─glibc
│ │ │ │ │ │ ├─freetype2
│ │ │ │ │ │ │ ├─brotli
│ │ │ │ │ │ │ │ └─glibc
│ │ │ │ │ │ │ ├─bzip2
│ │ │ │ │ │ │ ├─harfbuzz
│ │ │ │ │ │ │ │ ├─freetype2 provides libfreetype.so=6-64
│ │ │ │ │ │ │ │ ├─glib2 provides libglib-2.0.so=0-64
│ │ │ │ │ │ │ │ ├─glib2 provides libgobject-2.0.so=0-64
│ │ │ │ │ │ │ │ └─graphite provides libgraphite2.so=3-64
│ │ │ │ │ │ │ │   └─gcc-libs
│ │ │ │ │ │ │ ├─libpng
│ │ │ │ │ │ │ ├─bash provides sh
│ │ │ │ │ │ │ └─zlib
│ │ │ │ │ │ ├─expat provides libexpat.so=1-64
│ │ │ │ │ │ └─freetype2 provides libfreetype.so=6-64
│ │ │ │ │ ├─freetype2
│ │ │ │ │ ├─glib2
│ │ │ │ │ ├─libpng
│ │ │ │ │ ├─libx11
│ │ │ │ │ │ ├─libxcb
│ │ │ │ │ │ │ ├─xcb-proto
│ │ │ │ │ │ │ ├─libxdmcp
│ │ │ │ │ │ │ │ └─glibc
│ │ │ │ │ │ │ └─libxau
│ │ │ │ │ │ │   └─glibc
│ │ │ │ │ │ └─xorgproto
│ │ │ │ │ ├─libxcb
│ │ │ │ │ ├─libxext
│ │ │ │ │ │ └─libx11
│ │ │ │ │ ├─libxrender
│ │ │ │ │ │ └─libx11
│ │ │ │ │ ├─lzo
│ │ │ │ │ │ └─glibc
│ │ │ │ │ ├─pixman
│ │ │ │ │ │ └─glibc
│ │ │ │ │ └─zlib
│ │ │ │ ├─freetype2
│ │ │ │ ├─gdk-pixbuf2
│ │ │ │ ├─glib2
│ │ │ │ ├─harfbuzz
│ │ │ │ ├─libxml2
│ │ │ │ └─pango
│ │ │ │   ├─cairo
│ │ │ │   ├─fribidi
│ │ │ │   │ └─glibc
│ │ │ │   ├─harfbuzz
│ │ │ │   ├─libthai
│ │ │ │   │ └─libdatrie
│ │ │ │   │   └─glibc
│ │ │ │   └─libxft
│ │ │ │     ├─fontconfig
│ │ │ │     └─libxrender
│ │ │ └─hicolor-icon-theme
│ │ ├─librsvg
│ │ └─adwaita-cursors
│ ├─at-spi2-core provides atk
│ │ ├─dbus
│ │ │ ├─systemd-libs
│ │ │ │ ├─glibc
│ │ │ │ ├─gcc-libs
│ │ │ │ ├─libcap
│ │ │ │ │ ├─glibc
│ │ │ │ │ └─pam
│ │ │ │ │   ├─glibc
│ │ │ │ │   ├─libtirpc
│ │ │ │ │   │ └─krb5
│ │ │ │ │   │   ├─glibc
│ │ │ │ │   │   ├─e2fsprogs
│ │ │ │ │   │   │ ├─bash provides sh
│ │ │ │ │   │   │ └─util-linux-libs
│ │ │ │ │   │   ├─libldap
│ │ │ │ │   │   │ ├─libsasl
│ │ │ │ │   │   │ │ ├─gdbm
│ │ │ │ │   │   │ │ │ ├─glibc
│ │ │ │ │   │   │ │ │ ├─bash provides sh
│ │ │ │ │   │   │ │ │ └─readline provides libreadline.so=8-64
│ │ │ │ │   │   │ │ ├─gdbm provides libgdbm.so=6-64
│ │ │ │ │   │   │ │ ├─glibc
│ │ │ │ │   │   │ │ └─openssl
│ │ │ │ │   │   │ │   └─glibc
│ │ │ │ │   │   │ └─e2fsprogs
│ │ │ │ │   │   ├─keyutils
│ │ │ │ │   │   │ ├─glibc
│ │ │ │ │   │   │ └─bash provides sh
│ │ │ │ │   │   ├─libverto provides libverto-module-base
│ │ │ │ │   │   │ ├─glibc
│ │ │ │ │   │   │ └─libevent
│ │ │ │ │   │   │   └─openssl
│ │ │ │ │   │   ├─keyutils provides libkeyutils.so=1-64
│ │ │ │ │   │   ├─e2fsprogs provides libss.so=2-64
│ │ │ │ │   │   ├─e2fsprogs provides libcom_err.so=2-64
│ │ │ │ │   │   └─libverto provides libverto.so=1-64
│ │ │ │ │   ├─pambase
│ │ │ │ │   ├─audit
│ │ │ │ │   │ ├─glibc
│ │ │ │ │   │ ├─krb5
│ │ │ │ │   │ ├─krb5 provides libkrb5.so=3-64
│ │ │ │ │   │ ├─krb5 provides libgssapi_krb5.so=2-64
│ │ │ │ │   │ ├─libcap-ng
│ │ │ │ │   │ │ └─glibc
│ │ │ │ │   │ └─libcap-ng provides libcap-ng.so=0-64
│ │ │ │ │   ├─audit provides libaudit.so=1-64
│ │ │ │ │   ├─libxcrypt
│ │ │ │ │   │ └─glibc
│ │ │ │ │   └─libxcrypt provides libcrypt.so=2-64
│ │ │ │ ├─libgcrypt
│ │ │ │ │ └─libgpg-error
│ │ │ │ │   ├─glibc
│ │ │ │ │   └─bash provides sh
│ │ │ │ ├─lz4
│ │ │ │ ├─xz
│ │ │ │ └─zstd
│ │ │ ├─expat
│ │ │ ├─audit
│ │ │ ├─systemd-libs provides libsystemd.so=0-64
│ │ │ └─audit provides libaudit.so=1-64
│ │ ├─glib2
│ │ ├─libx11
│ │ ├─libxml2
│ │ ├─libxtst
│ │ │ ├─libxext
│ │ │ ├─libxi
│ │ │ │ └─libxext
│ │ │ └─libxfixes
│ │ │   └─libx11
│ │ └─systemd
│ │   ├─acl
│ │   ├─acl provides libacl.so=1-64
│ │   ├─bash
│ │   ├─cryptsetup
│ │   │ ├─device-mapper
│ │   │ │ ├─glibc
│ │   │ │ ├─systemd-libs
│ │   │ │ └─systemd-libs provides libudev.so=1-64
│ │   │ ├─device-mapper provides libdevmapper.so=1.02-64
│ │   │ ├─openssl
│ │   │ ├─popt
│ │   │ │ └─glibc
│ │   │ ├─util-linux-libs
│ │   │ ├─util-linux-libs provides libuuid.so=1-64
│ │   │ ├─json-c
│ │   │ │ └─glibc
│ │   │ ├─json-c provides libjson-c.so=5-64
│ │   │ ├─argon2
│ │   │ │ └─glibc
│ │   │ └─argon2 provides libargon2.so=1-64
│ │   ├─cryptsetup provides libcryptsetup.so=12-64
│ │   ├─dbus
│ │   ├─iptables-nft provides iptables
│ │   │ ├─libnftnl
│ │   │ │ └─libmnl
│ │   │ │   └─glibc
│ │   │ ├─libpcap
│ │   │ │ ├─glibc
│ │   │ │ ├─libnl
│ │   │ │ │ ├─glibc
│ │   │ │ │ └─gcc-libs
│ │   │ │ ├─bash provides sh
│ │   │ │ └─dbus provides libdbus-1.so=3-64
│ │   │ ├─libnfnetlink
│ │   │ │ └─glibc
│ │   │ ├─libnetfilter_conntrack
│ │   │ │ ├─libnfnetlink
│ │   │ │ └─libmnl
│ │   │ ├─bash
│ │   │ └─nftables
│ │   │   ├─libmnl
│ │   │   ├─libnftnl
│ │   │   ├─gmp
│ │   │   │ ├─gcc-libs
│ │   │   │ └─bash provides sh
│ │   │   ├─readline
│ │   │   ├─ncurses
│ │   │   └─jansson
│ │   │     └─glibc
│ │   ├─kbd
│ │   │ ├─glibc
│ │   │ └─pam
│ │   ├─kmod
│ │   │ ├─glibc
│ │   │ ├─zlib
│ │   │ ├─openssl
│ │   │ ├─xz
│ │   │ └─zstd
│ │   ├─kmod provides libkmod.so=2-64
│ │   ├─hwdata
│ │   ├─libcap
│ │   ├─libcap provides libcap.so=2-64
│ │   ├─libgcrypt
│ │   ├─libxcrypt
│ │   ├─libxcrypt provides libcrypt.so=2-64
│ │   ├─systemd-libs
│ │   ├─libidn2
│ │   │ ├─libunistring
│ │   │ │ └─glibc
│ │   │ └─libunistring provides libunistring.so=5-64
│ │   ├─lz4
│ │   ├─pam
│ │   ├─libelf
│ │   │ ├─bzip2
│ │   │ ├─bzip2 provides libbz2.so=1.0-64
│ │   │ ├─curl
│ │   │ │ ├─ca-certificates
│ │   │ │ │ └─ca-certificates-mozilla
│ │   │ │ │   └─ca-certificates-utils>=20181109-3
│ │   │ │ │     ├─bash
│ │   │ │ │     ├─coreutils
│ │   │ │ │     │ ├─glibc
│ │   │ │ │     │ ├─acl
│ │   │ │ │     │ ├─attr
│ │   │ │ │     │ │ └─glibc
│ │   │ │ │     │ ├─gmp
│ │   │ │ │     │ ├─libcap
│ │   │ │ │     │ └─openssl
│ │   │ │ │     ├─findutils
│ │   │ │ │     │ ├─glibc
│ │   │ │ │     │ └─bash provides sh
│ │   │ │ │     └─p11-kit>=0.24.0
│ │   │ │ │       ├─libp11-kit=0.24.1-1
│ │   │ │ │       │ ├─glibc
│ │   │ │ │       │ ├─libtasn1
│ │   │ │ │       │ │ └─glibc
│ │   │ │ │       │ └─libffi
│ │   │ │ │       ├─coreutils
│ │   │ │ │       ├─libp11-kit provides libp11-kit.so=0-64
│ │   │ │ │       └─systemd-libs provides libsystemd.so=0-64
│ │   │ │ ├─brotli
│ │   │ │ ├─brotli provides libbrotlidec.so=1-64
│ │   │ │ ├─krb5
│ │   │ │ ├─krb5 provides libgssapi_krb5.so=2-64
│ │   │ │ ├─libidn2
│ │   │ │ ├─libidn2 provides libidn2.so=0-64
│ │   │ │ ├─libnghttp2
│ │   │ │ │ └─glibc
│ │   │ │ ├─libpsl
│ │   │ │ │ ├─libidn2
│ │   │ │ │ ├─libunistring
│ │   │ │ │ ├─libidn2 provides libidn2.so=0-64
│ │   │ │ │ └─libunistring provides libunistring.so=5-64
│ │   │ │ ├─libpsl provides libpsl.so=5-64
│ │   │ │ ├─libssh2
│ │   │ │ │ ├─openssl
│ │   │ │ │ └─zlib
│ │   │ │ ├─libssh2 provides libssh2.so=1-64
│ │   │ │ ├─openssl
│ │   │ │ ├─zlib
│ │   │ │ ├─zstd
│ │   │ │ └─zstd provides libzstd.so=1-64
│ │   │ ├─curl provides libcurl.so=4-64
│ │   │ ├─gcc-libs
│ │   │ ├─glibc
│ │   │ ├─xz
│ │   │ ├─xz provides liblzma.so=5-64
│ │   │ ├─zlib
│ │   │ ├─zstd
│ │   │ └─zstd provides libzstd.so=1-64
│ │   ├─libseccomp
│ │   │ └─glibc
│ │   ├─libseccomp provides libseccomp.so=2-64
│ │   ├─util-linux
│ │   │ ├─pam
│ │   │ ├─shadow
│ │   │ │ ├─acl
│ │   │ │ ├─acl provides libacl.so=1-64
│ │   │ │ ├─attr
│ │   │ │ ├─attr provides libattr.so=1-64
│ │   │ │ ├─audit
│ │   │ │ ├─audit provides libaudit.so=1-64
│ │   │ │ ├─glibc
│ │   │ │ ├─libxcrypt
│ │   │ │ ├─libxcrypt provides libcrypt.so=2-64
│ │   │ │ ├─pam
│ │   │ │ ├─pam provides libpam.so=0-64
│ │   │ │ └─pam provides libpam_misc.so=0-64
│ │   │ ├─coreutils
│ │   │ ├─systemd-libs
│ │   │ ├─systemd-libs provides libsystemd.so=0-64
│ │   │ ├─systemd-libs provides libudev.so=1-64
│ │   │ ├─libcap-ng
│ │   │ ├─libxcrypt
│ │   │ ├─libxcrypt provides libcrypt.so=2-64
│ │   │ ├─util-linux-libs
│ │   │ ├─file provides libmagic.so=1-64
│ │   │ │ ├─glibc
│ │   │ │ ├─zlib
│ │   │ │ ├─xz
│ │   │ │ ├─bzip2
│ │   │ │ ├─libseccomp
│ │   │ │ ├─libseccomp provides libseccomp.so=2-64
│ │   │ │ ├─zstd
│ │   │ │ └─zstd provides libzstd.so=1-64
│ │   │ └─ncurses provides libncursesw.so=6-64
│ │   ├─util-linux-libs provides libblkid.so=1-64
│ │   ├─util-linux-libs provides libmount.so=1-64
│ │   ├─xz
│ │   ├─pcre2
│ │   ├─audit
│ │   ├─audit provides libaudit.so=1-64
│ │   ├─openssl
│ │   ├─openssl provides libcrypto.so=3-64
│ │   └─openssl provides libssl.so=3-64
│ ├─cairo
│ ├─cantarell-fonts
│ ├─dconf
│ │ └─glib2
│ ├─desktop-file-utils
│ │ ├─glib2
│ │ └─glib2 provides libglib-2.0.so=0-64
│ ├─fontconfig
│ ├─fribidi
│ ├─gdk-pixbuf2
│ ├─glib2
│ ├─harfbuzz
│ ├─iso-codes
│ ├─libcloudproviders
│ │ └─glib2
│ ├─libcolord
│ │ ├─glib2
│ │ ├─lcms2
│ │ │ └─libtiff
│ │ └─systemd
│ ├─libcups
│ │ ├─gnutls
│ │ │ ├─gcc-libs
│ │ │ ├─libtasn1
│ │ │ ├─readline
│ │ │ ├─zlib
│ │ │ ├─nettle
│ │ │ │ └─gmp
│ │ │ ├─p11-kit
│ │ │ ├─libidn2
│ │ │ ├─zstd
│ │ │ ├─libidn2 provides libidn2.so=0-64
│ │ │ ├─libunistring
│ │ │ └─brotli
│ │ └─avahi
│ │   ├─expat
│ │   ├─libdaemon
│ │   ├─glib2
│ │   ├─libcap
│ │   ├─gdbm
│ │   ├─dbus
│ │   └─dbus provides libdbus-1.so=3-64
│ ├─libglvnd provides libegl
│ │ ├─libxext
│ │ ├─mesa
│ │ │ ├─libdrm
│ │ │ │ └─libpciaccess
│ │ │ │   ├─glibc
│ │ │ │   └─zlib
│ │ │ ├─wayland
│ │ │ │ ├─glibc
│ │ │ │ ├─libffi
│ │ │ │ ├─expat
│ │ │ │ ├─libxml2
│ │ │ │ └─default-cursors
│ │ │ ├─libxxf86vm
│ │ │ │ └─libxext
│ │ │ ├─libxdamage
│ │ │ │ └─libxfixes
│ │ │ ├─libxshmfence
│ │ │ │ └─glibc
│ │ │ ├─libelf
│ │ │ ├─libomxil-bellagio
│ │ │ │ └─glibc
│ │ │ ├─libunwind
│ │ │ │ ├─xz
│ │ │ │ └─zlib
│ │ │ ├─llvm-libs
│ │ │ │ ├─gcc-libs
│ │ │ │ ├─zlib
│ │ │ │ ├─zstd
│ │ │ │ ├─libffi
│ │ │ │ ├─libedit
│ │ │ │ │ ├─glibc
│ │ │ │ │ ├─ncurses
│ │ │ │ │ └─ncurses provides libncursesw.so=6-64
│ │ │ │ ├─ncurses
│ │ │ │ └─libxml2
│ │ │ ├─lm_sensors
│ │ │ ├─libglvnd
│ │ │ ├─zstd
│ │ │ ├─vulkan-icd-loader
│ │ │ │ └─glibc
│ │ │ ├─lm_sensors provides libsensors.so=5-64
│ │ │ └─expat provides libexpat.so=1-64
│ │ └─mesa provides opengl-driver
│ ├─libepoxy
│ │ └─glibc
│ ├─libglvnd provides libgl
│ ├─librsvg
│ ├─libxcomposite
│ │ └─libxfixes
│ ├─libx11
│ ├─libxcursor
│ │ ├─libxfixes
│ │ ├─libxrender
│ │ └─default-cursors
│ ├─libxdamage
│ ├─libxext
│ ├─libxfixes
│ ├─libxi
│ ├─libxinerama
│ │ └─libxext
│ ├─libxkbcommon
│ │ ├─libxml2
│ │ └─xkeyboard-config
│ ├─libxrandr
│ │ ├─libxext
│ │ └─libxrender
│ ├─libxrender
│ ├─pango
│ ├─shared-mime-info
│ ├─tracker3
│ │ ├─glib2
│ │ ├─icu
│ │ ├─json-glib
│ │ │ ├─glib2
│ │ │ ├─glib2 provides libglib-2.0.so=0-64
│ │ │ ├─glib2 provides libgobject-2.0.so=0-64
│ │ │ └─glib2 provides libgio-2.0.so=0-64
│ │ ├─libsoup3
│ │ │ ├─brotli
│ │ │ ├─glib-networking
│ │ │ │ ├─glib2
│ │ │ │ ├─libproxy
│ │ │ │ │ ├─dbus
│ │ │ │ │ ├─gcc-libs
│ │ │ │ │ ├─glib2
│ │ │ │ │ ├─zlib
│ │ │ │ │ └─duktape
│ │ │ │ │   └─glibc
│ │ │ │ ├─gnutls
│ │ │ │ └─gsettings-desktop-schemas
│ │ │ │   ├─glib2
│ │ │ │   ├─dconf
│ │ │ │   ├─cantarell-fonts
│ │ │ │   └─adobe-source-code-pro-fonts
│ │ │ ├─glib2
│ │ │ ├─krb5
│ │ │ ├─libnghttp2
│ │ │ ├─libpsl
│ │ │ ├─libsysprof-capture
│ │ │ ├─sqlite
│ │ │ │ ├─readline
│ │ │ │ └─zlib
│ │ │ ├─brotli provides libbrotlidec.so=1-64
│ │ │ ├─krb5 provides libgssapi_krb5.so=2-64
│ │ │ ├─glib2 provides libglib-2.0.so=0-64
│ │ │ ├─glib2 provides libgobject-2.0.so=0-64
│ │ │ ├─glib2 provides libgio-2.0.so=0-64
│ │ │ └─libpsl provides libpsl.so=5-64
│ │ ├─libstemmer
│ │ │ └─glibc
│ │ ├─libxml2
│ │ └─sqlite
│ ├─wayland
│ └─gtk-update-icon-cache
├─libevent
├─nss
│ ├─nspr>=4.35
│ │ ├─glibc
│ │ └─bash provides sh
│ ├─p11-kit>=0.23.19
│ ├─bash provides sh
│ ├─sqlite
│ └─zlib
├─wayland
├─fontconfig
├─woff2
│ └─brotli
├─aom
│ └─gcc-libs
├─brotli
├─libjpeg-turbo provides libjpeg
├─icu
├─dav1d
│ └─glibc
├─flac
│ ├─gcc-libs
│ └─libogg
│   └─glibc
├─snappy
│ ├─glibc
│ └─gcc-libs
├─libxml2
├─ffmpeg
│ ├─alsa-lib
│ │ ├─glibc
│ │ ├─alsa-topology-conf
│ │ └─alsa-ucm-conf
│ ├─aom
│ ├─bzip2
│ ├─fontconfig
│ ├─fribidi
│ ├─gmp
│ ├─gnutls
│ ├─gsm
│ │ └─glibc
│ ├─pipewire-jack provides jack
│ │ ├─libpipewire provides libpipewire-0.3.so=0-64
│ │ │ └─gcc-libs
│ │ ├─pipewire
│ │ │ ├─libpipewire=1:0.3.66-2
│ │ │ ├─libcamera provides libcamera-base.so=0.0.4-64
│ │ │ │ ├─gcc-libs
│ │ │ │ ├─glibc
│ │ │ │ ├─gnutls
│ │ │ │ ├─libdrm
│ │ │ │ ├─libelf
│ │ │ │ ├─libunwind
│ │ │ │ ├─libyaml
│ │ │ │ │ └─glibc
│ │ │ │ ├─systemd-libs
│ │ │ │ └─systemd-libs provides libudev.so=1-64
│ │ │ ├─libcamera provides libcamera.so=0.0.4-64
│ │ │ ├─dbus provides libdbus-1.so=3-64
│ │ │ ├─glib2 provides libglib-2.0.so=0-64
│ │ │ ├─ncurses provides libncursesw.so=6-64
│ │ │ ├─libpipewire provides libpipewire-0.3.so=0-64
│ │ │ ├─readline provides libreadline.so=8-64
│ │ │ ├─systemd-libs provides libsystemd.so=0-64
│ │ │ └─systemd-libs provides libudev.so=1-64
│ │ ├─pipewire-audio
│ │ │ ├─alsa-card-profiles
│ │ │ ├─alsa-lib provides libasound.so=2-64
│ │ │ ├─bluez-libs provides libbluetooth.so=3-64
│ │ │ │ └─glibc
│ │ │ ├─libfdk-aac provides libfdk-aac.so=2-64
│ │ │ ├─libfreeaptx provides libfreeaptx.so=0-64
│ │ │ │ └─glibc
│ │ │ ├─liblc3 provides liblc3.so=1-64
│ │ │ │ └─glibc
│ │ │ ├─libldac provides libldacBT_enc.so=2-64
│ │ │ │ └─glibc
│ │ │ ├─lilv provides liblilv-0.so=0-64
│ │ │ │ ├─glibc
│ │ │ │ ├─serd provides libserd-0.so=0-64
│ │ │ │ │ └─glibc
│ │ │ │ ├─sord provides libsord-0.so=0-64
│ │ │ │ │ ├─glibc
│ │ │ │ │ ├─serd provides libserd-0.so=0-64
│ │ │ │ │ └─pcre
│ │ │ │ │   ├─gcc-libs
│ │ │ │ │   ├─readline
│ │ │ │ │   ├─zlib
│ │ │ │ │   ├─bzip2
│ │ │ │ │   └─bash
│ │ │ │ ├─sratom provides libsratom-0.so=0-64
│ │ │ │ │ ├─glibc
│ │ │ │ │ ├─serd provides libserd-0.so=0-64
│ │ │ │ │ ├─sord provides libsord-0.so=0-64
│ │ │ │ │ └─lv2
│ │ │ │ └─lv2
│ │ │ ├─libmysofa provides libmysofa.so=1-64
│ │ │ │ └─zlib
│ │ │ ├─opus provides libopus.so=0-64
│ │ │ │ └─glibc
│ │ │ ├─libpipewire provides libpipewire-0.3.so=0-64
│ │ │ ├─sbc provides libsbc.so=1-64
│ │ │ │ └─glibc
│ │ │ ├─libsndfile provides libsndfile.so=1-64
│ │ │ │ ├─glibc
│ │ │ │ ├─flac
│ │ │ │ ├─flac provides libFLAC.so=12-64
│ │ │ │ ├─lame
│ │ │ │ │ └─ncurses
│ │ │ │ ├─lame provides libmp3lame.so=0-64
│ │ │ │ ├─libogg
│ │ │ │ ├─libogg provides libogg.so=0-64
│ │ │ │ ├─libvorbis
│ │ │ │ │ └─libogg provides libogg.so=0-64
│ │ │ │ ├─libvorbis provides libvorbis.so=0-64
│ │ │ │ ├─libvorbis provides libvorbisenc.so=2-64
│ │ │ │ ├─mpg123
│ │ │ │ │ └─alsa-lib
│ │ │ │ ├─mpg123 provides libmpg123.so=0-64
│ │ │ │ ├─opus
│ │ │ │ └─opus provides libopus.so=0-64
│ │ │ ├─tinycompress provides libtinycompress.so=0-64
│ │ │ │ └─glibc
│ │ │ ├─libusb provides libusb-1.0.so=0-64
│ │ │ │ ├─glibc
│ │ │ │ └─systemd-libs provides libudev.so=1-64
│ │ │ ├─webrtc-audio-processing provides libwebrtc_audio_processing.so=1-64
│ │ │ │ └─gcc-libs
│ │ │ └─pipewire
│ │ ├─wireplumber provides pipewire-session-manager
│ │ │ ├─libwireplumber=0.4.13-1
│ │ │ │ ├─glib2 provides libglib-2.0.so=0-64
│ │ │ │ ├─glib2 provides libgmodule-2.0.so=0-64
│ │ │ │ ├─glib2 provides libgobject-2.0.so=0-64
│ │ │ │ ├─glib2 provides libgio-2.0.so=0-64
│ │ │ │ └─libpipewire provides libpipewire-0.3.so=0-64
│ │ │ ├─systemd-libs provides libsystemd.so=0-64
│ │ │ ├─lua
│ │ │ │ └─readline
│ │ │ └─pipewire
│ │ └─bash provides sh
│ ├─lame
│ ├─libass provides libass.so=9-64
│ │ ├─fontconfig
│ │ ├─fribidi
│ │ ├─glib2
│ │ ├─glibc
│ │ ├─harfbuzz
│ │ └─freetype2 provides libfreetype.so=6-64
│ ├─libavc1394
│ │ └─libraw1394
│ │   └─glibc
│ ├─libbluray provides libbluray.so=2-64
│ │ ├─fontconfig
│ │ ├─freetype2 provides libfreetype.so=6-64
│ │ └─libxml2
│ ├─libbs2b provides libbs2b.so=0-64
│ │ ├─libsndfile
│ │ ├─gcc-libs
│ │ └─libsndfile provides libsndfile.so=1-64
│ ├─dav1d provides libdav1d.so=6-64
│ ├─libdrm
│ ├─freetype2 provides libfreetype.so=6-64
│ ├─libglvnd provides libgl
│ ├─libiec61883
│ │ └─libraw1394
│ ├─libmfx
│ │ └─gcc-libs
│ ├─libmodplug
│ │ └─gcc-libs
│ ├─libpulse
│ │ ├─dbus
│ │ ├─libasyncns
│ │ │ └─glibc
│ │ ├─libcap
│ │ ├─libxcb
│ │ ├─libsm
│ │ │ ├─libice
│ │ │ │ └─glibc
│ │ │ └─util-linux-libs
│ │ ├─libsndfile
│ │ └─systemd
│ ├─rav1e provides librav1e.so=0-64
│ │ ├─gcc-libs
│ │ ├─glibc
│ │ └─libgit2 provides libgit2.so
│ │   ├─gcc-libs
│ │   ├─glibc
│ │   ├─http-parser
│ │   │ └─glibc
│ │   ├─zlib
│ │   ├─libssh2
│ │   ├─libssh2 provides libssh2.so=1-64
│ │   ├─openssl
│ │   ├─openssl provides libcrypto.so=3-64
│ │   ├─openssl provides libssl.so=3-64
│ │   ├─pcre2
│ │   └─pcre2 provides libpcre2-8.so=0-64
│ ├─libraw1394
│ ├─librsvg provides librsvg-2.so=2-64
│ ├─libsoxr
│ │ └─gcc-libs
│ ├─libssh
│ │ ├─zlib
│ │ └─openssl
│ ├─libtheora
│ │ └─libogg
│ ├─libva provides libva.so=2-64
│ │ ├─libdrm
│ │ ├─libglvnd provides libgl
│ │ ├─libx11
│ │ ├─libxext
│ │ ├─libxfixes
│ │ └─wayland
│ ├─libva provides libva-drm.so=2-64
│ ├─libva provides libva-x11.so=2-64
│ ├─libvdpau
│ │ └─libxext
│ ├─vid.stab provides libvidstab.so=1.1-64
│ │ ├─gcc-libs
│ │ └─glibc
│ ├─libvorbis provides libvorbisenc.so=2-64
│ ├─libvorbis provides libvorbis.so=0-64
│ ├─libvpx provides libvpx.so=7-64
│ │ └─gcc-libs
│ ├─vulkan-icd-loader provides libvulkan.so
│ ├─libwebp
│ │ ├─libpng
│ │ ├─libjpeg-turbo provides libjpeg
│ │ ├─libtiff
│ │ └─giflib
│ │   └─glibc
│ ├─libx11
│ ├─x264 provides libx264.so=164-64
│ │ └─l-smash provides liblsmash.so=2-64
│ │   └─glibc
│ ├─x265 provides libx265.so=199-64
│ │ └─gcc-libs
│ ├─libxcb
│ ├─libxext
│ ├─libxml2
│ ├─libxv
│ │ └─libxext
│ ├─xvidcore provides libxvidcore.so=4-64
│ │ └─glibc
│ ├─zimg provides libzimg.so=2-64
│ │ ├─gcc-libs
│ │ └─glibc
│ ├─ocl-icd
│ │ └─glibc
│ ├─opencore-amr
│ │ └─glibc
│ ├─openjpeg2
│ │ ├─zlib
│ │ ├─libpng
│ │ ├─libtiff
│ │ └─lcms2
│ ├─opus
│ ├─sdl2
│ │ ├─glibc
│ │ ├─libxext
│ │ ├─libxrender
│ │ ├─libx11
│ │ ├─libglvnd provides libgl
│ │ ├─libxcursor
│ │ ├─hidapi
│ │ └─libusb
│ ├─speex
│ │ ├─gcc-libs
│ │ ├─libogg
│ │ ├─speexdsp
│ │ │ └─gcc-libs
│ │ ├─libogg provides libogg.so=0-64
│ │ └─speexdsp provides libspeexdsp.so=1-64
│ ├─srt
│ │ └─openssl
│ ├─svt-av1
│ │ └─glibc
│ ├─v4l-utils
│ │ ├─hicolor-icon-theme
│ │ ├─gcc-libs
│ │ ├─sysfsutils
│ │ │ └─glibc
│ │ └─libjpeg-turbo
│ ├─vmaf
│ │ └─gcc-libs
│ ├─xz
│ └─zlib
├─libwebp
├─minizip
│ └─zlib
├─opus
├─harfbuzz
├─re2
│ └─gcc-libs
├─libavif
│ ├─glibc
│ ├─aom
│ ├─dav1d
│ ├─rav1e
│ ├─svt-av1
│ ├─zlib
│ ├─libpng
│ ├─libjpeg-turbo provides libjpeg
│ └─libyuv
│   ├─gcc-libs
│   └─libjpeg-turbo provides libjpeg
├─jsoncpp
│ └─gcc-libs
├─libxslt
│ ├─libgcrypt
│ ├─libxml2
│ └─xz
├─libpng
└─freetype2

so can i simply run pacman -Rs element-desktop?
what do i have to consider to get electron from my computer??

There are many ways.

If you want to remove electron and everything that depends on it, you can use sudo pacman -Rc electron. That is what I would do.

2 Likes

i think element-desktop is the only program that has electron installed as a dependency. what command do i need to find out what else electron is related to? just to be sure that element-desktop is the only one

You can use pactree -r electron or just run the pacman command above and see what else it wants to remove before confirming.

1 Like

Thank you! That helps a lot to me.

❯ pactree -r electron
electron
├─element-desktop
└─geogebra

I think i can savely remove electron with the command you gave me above

geogebra is not important for me. i have this just for fun

1 Like

after i installed element-desktop as flatpak, i uninstalled it again along with flatpak. element-desktop from the AUR has electron as a dependency. element-desktop as flatpak suggested me an update from mesa this morning.

i have now decided to use element as a web based application in firefox. in firefox i use multi-account containers and for each application a separate container. mail, element or mastodon.
this is the most useful solution for me.

nevertheless, thank you @dalto for your help

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.