Element: A Cross-Platform Decentralized Open-Source Messaging App

There are many open-source messaging applications available, especially if you are looking for WhatsApp replacements on both desktop and mobile.

Element is one of them, which is a decentralized alternative for private messaging that you can use to interact with individuals, communities, or businesses.

Element: Privacy-Friendly Open-Source Messenger Built on Matrix Network

element io

Matrix is an open standard for secure and decentralized communication. And Element is the messaging client that uses that.

Element is also a part of the Matrix.org Foundation β€” so you will find most of the same team responsible for this.

Originally, it was known as Riot, which we covered back then. But, after the rebranding, it is now known as “Element”, which comes with an improved user experience and constantly focusing on making decentralized communication common for instant messaging.

element ui

Element is not just another open-source messenger, it gives you the ability to do a lot of things.

Here, let me highlight some of the key features along with some details about it that follows as you read on.

Features of Element

element settings

Element is more of an all-in-one messenger than a replacement of something. You could choose it as an open-source alternative to Slack or a private alternative to any instant messenger like Telegram.

Some of the options that you get with it are:

  • End-to-End encryption chat room
  • Public communities (may not be encrypted)
  • Direct voice call
  • Conference call in the community
  • Meet Jitsi integration (one of the open-source alternatives to Zoom)
  • File sharing
  • Emoji and Sticker support
  • Moderation tools for managing communities
  • Extensive anti-spam options
  • Ability to bridge other services like Slack, Discord, IRC, and more
  • Offers paid managed hosting to have control over your data
  • Cross-signed device verification for message privacy/security
  • Fine grained notification settings
  • Email notifications
  • Ability to restore using encryption keys
  • Make yourself discoverable to the entire Matrix network using your email or number

The features offered by Element may sound to be overwhelming for a user who just wants private messaging.

But fortunately, all those features do not get in the way unless you explicitly access/configure them. So that’s a good thing.

First, let me address the installation instructions for Linux and I’ll give you some insights on how my experience with Element was (on both Linux desktop and Android).

Installing Element in Linux

Element officially supports Debian/Ubuntu for installation. You can just add the package repository and install element.

The commands used for this is:

sudo apt install -y wget apt-transport-https

sudo wget -O /usr/share/keyrings/riot-im-archive-keyring.gpg https://packages.riot.im/debian/riot-im-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/riot-im-archive-keyring.gpg] https://packages.riot.im/debian/ default main" | sudo tee /etc/apt/sources.list.d/riot-im.list

sudo apt update

sudo apt install element-desktop

Do note that they are still using Riot.im domain to host packages even after rebranding β€” so not to be confused with the older Riot messaging app.

You can also find it in AUR for Arch-based distros β€” but I’m not quite sure about how well it works.

Unfortunately, there’s no Flatpak or Snap package available. So, if you are using a distribution that isn’t officially supported by Element, the best place to explore solutions/raise issues will be their GitHub page.

Now, before you get started using it, let me give you some heads up with my thoughts on it.

Element on Linux and Android: Here’s What You Need to Know

To start with β€” the user experience is fantastic on both Android and desktop. I tried it on Linux Mint, and it worked flawlessly.

You do not need a mobile number to sign up. Just create a username and add an email account to it, and you’re done.

element sign in

One can opt for a paid homeserver (your own matrix network) or just join the free Matrix homeserver offered.

Keep in mind, if you are signing up for free, you may not get to experience all the features β€” like the ability to see who’s online. You can only do that with your own server, the free Matrix server restricts certain functionalities like that to be able to accommodate an unlimited number of free users.

When signing in to a mobile device, you will have to verify the session by scanning a QR code prompted on Element’s desktop app.

Once done, you can explore and join public communities available or create your own.

Most of the existing public communities do not have end-to-end encryption enabled. So make sure you know what you are doing before messaging in any of the public communities.

While Element supports bridging IRC, Slack, and others or adding bots to a community β€” it is just not supported for an encrypted community. So, you need to have an unencrypted community to be able to use bots and bridges.

element bridge bots

A word of caution:

Element is getting popular, and scammers/spammers are attracted to the platform because it does not need any valuable personal information to get started.

So make sure that you do not trust anyone and keep your identity safe by not using your real profile picture or work email, especially if you are joining the public communities.

Element is constantly improving and offers plenty of features for several use-cases. I don’t see a problem with it being an open-source Discord replacement as well (in some way).

I was impressed with the level of notification controls that it gives and an added email notification option (which is enabled by default). You can choose to have notifications based on the keywords that you find interesting, what an exciting feature to have!

element notifications

Overall, Element may not be the perfect replacement for everything you use right now but it is shaping up to be an all-in-one alternative to many proprietary options.

I’ve had a good experience with Element so far and I’m confident about its future. What do you think? Willing to try Element on Linux?

Feel free to let me know your thoughts on this.

About the author
Ankush Das

Ankush Das

A passionate technophile who also happens to be a Computer Science graduate. You will usually see cats dancing to the beautiful tunes sung by him.

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.