How to install Element? (again)

I know the question’s been asked before, but all the answers said ‘Chats’ which isn’t an answer to the question…

And, while I appreciate what Chats does - I would like to install Element - which refuses, for some reason, to install from Flathub and doesn’t appear to be in the repo. The Flatpak Ref file says:
[Flatpak Ref]
Name=im.riot.Riot
Branch=stable
Title=im.riot.Riot from flathub
IsRuntime=false
Url=https://dl.flathub.org/repo/
SuggestRemoteName=flathub
GPGKey=[yada yada yada]
RuntimeRepo=https://dl.flathub.org/repo/flathub.flatpakrepo

Any suggestions on installing Element received with the greatest thanks.

2 Likes

Install as described here.

3 Likes

Thank youuuuu
:grinning:

2 Likes

Has anyone here found that this method mentioned by lck from the Element downloads page actually works? When I try typing in the command
sudo wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg

I get
/usr/share/keyrings/element-io-archive-keyring.gpg: No such file or directory

1 Like

Did you install wget and apt-transport-https first?

sudo apt install -y wget apt-transport-https
1 Like

Thanks for responding. Yes I did run that command first. The output I got was:

wget is already the newest version 1.21-1+deb11u1
wget set to manually installed
apt-transport-https is already the newest version (2.2.4)
0 upgraded 0 newly installed 0 to remove and 264 not upgraded

1 Like

Do I need to be inside a certain directory when running these commands? I just ran them straight from the regular Terminal app sitting on the home screen.

1 Like

No you do not. I have confirmed that I am able to install Element Desktop on Crimson without issue, so follow up with this command first:

sudo apt-mark auto wget

Then copy and paste this into the Terminal:

sudo wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg
1 Like

Hey, that worked! Thanks! So now I just continue on with the commands on the Element Downloads page?

1 Like

I finished the rest of the commands and now there’s an Element icon on my home screen and when I touch it, it’s prompting me to choose a password for a new keyring. Does this sound like success?

1 Like

Yes, correct. Note that I only installed Element Desktop, but have not tested its functionality against valid credentials.

1 Like

Instead of making a new topic, I thought I should just ask this here:

Is there a way to make Element fit the screen better?

Using the Compositor scaling in the Mobile Settings app doesn’t seem to have any effect, and I can’t seem to disable the sidebar from within the Element settings.

2 Likes

Ctrl + - increases the resolution. You have to use it at least once to be able to use the next step. Rotating to landscape and back to portrait mode and the side elements will shrank to it’s minimum size. You can scale resolution further for more text space, but don’t do too much, because Ctrl + + does not work for no reason (resetting resolution is more complicated).

Or connect your mouse and drag&drop the sidebar as you can on desktop.

I provided all information to this topic here.

3 Likes

Thank you very much :blush:

2 Likes

Hey lck, while using the Element app I hit Ctrl - a few times to shrink it and enabled landscape view, then roated it to landscape and back. Now it fits in the screen nicely, but I shrank it too much and can’t read the Element screen now (in either portrait or landscape mode) because the font is too small. Now hitting Ctrl + in either portrait or landscape view won’t enlarge the font, and now whenever I touch the Element app icon, the screen is always stuck in that “too small to read” setting. Even powering the L5 off and back on and re-entering the Element default keyring password doesn’t change the “too small to read” screen. Any suggestions what to try next?

1 Like

Try uninstalling and reinstalling Element Desktop.

1 Like

No need to reinstall. It’s written in a config file. From the linked post above:

2 Likes

Thanks. How do I get to the .config file? And how do I get into task manager?

1 Like

.config is not a file, it’s a hidden folder (the dot in the name tells you that it’s hidden). Open your file manager and click on the upper right corner on the hamburger menu (3 stripes icon). Activate the upper checkbox (“show hidden files” or similar named). After this you should be able to find the folder.

Task manager is just a category of apps. On Librem 5 we have the “Usage” app. Just click on that icon, scroll down and if you find an Element-icon, click on it to close it (and accept with the red button).

2 Likes

Thanks very much for the explanation. lck I’ll give it a try.

By the way, have you guys been able to successfully make and engage in encrypted voice calls to other Element users on the Librem 5?

1 Like