Comments (22)
Just adding a note here to say that @popey has gone ahead and created an unofficial snap
https://twitter.com/popey/status/1133884378143166464
https://snapcraft.io/riot-web
from element-desktop.
1.11.1 of the element-desktop snap is now in stable and 1.11.3 is building to edge right now.
from element-desktop.
Hey hey! I understand riot is an electron app, right? We have a blog post which details how easy it is to get a snap built.
I'd love to help with this.
from element-desktop.
element-hq/element-web#5868 is related
from element-desktop.
What do you think of taking an approach similar to the signal-desktop snap? They aren't actually building the electron app in the snap manifest, instead they're pulling down the latest .deb files and then repackaging that.
from element-desktop.
I have updated the description of riot-web to indicate it's no longer maintained and that users should instead use element-desktop.
from element-desktop.
I don't think we should take in a package that we can't self maintain push come to shove, so unless someone from the web team with snap packaging experience is willing to step up and take the reigns this is better remaining as it is
from element-desktop.
Related to https://github.com/vector-im/riot-web/issues/3718 and https://github.com/vector-im/riot-web/issues/4766
from element-desktop.
They closed the pull request March 31 citing not wanting to create another distribution. People need to make noise in issue in order for them to reconsider. Here's some noise
from element-desktop.
I tried the snap from the snapstore on Ubuntu 20.04.
It launches only on first install. After closing the app it doesn't open again.
The signal-desktop snap had the same problem, but now that seems fixed.
from element-desktop.
I brought up the question of the possibility of an official Snapcraft build of Element Desktop in the Matrix chatroom, before I knew of this issue. There were many useful discussion points made that can be followed from this message:
https://matrix.to/#/!YTvKGNlinIzlkMTVRl:matrix.org/$1EL-t25jkkFRY_nmF3tTioeC5YWV16YD68lrizebDfo
from element-desktop.
I tried the snap from the snapstore on Ubuntu 20.04.
It launches only on first install. After closing the app it doesn't open again.
The signal-desktop snap had the same problem, but now that seems fixed.
I am using the snap build on Xubuntu 18.04.4 LTS and is working fine. Obviously I can't say about 20.04 but as it's also an LTS I can't imagine why it would stop working.
from element-desktop.
@popey the instructions from https://snapcraft.io/blog/bringing-electron-applications-to-linux produce snap with Element that freezes on run with this error.
FATAL:platform_shared_memory_region_posix.cc(255)] This is frequently caused by incorrect permissions on
/dev/shm. Try 'sudo chmod 1777 /dev/shm' to fix.
I filled the issue with electron-builder
electron-userland/electron-builder#5574 Not sure what else can I do.
from element-desktop.
@nduja the electon-builder
is the officially recommended way for building snaps https://snapcraft.io/docs/electron-apps so I only followed it. I will take look, thanks.
from element-desktop.
I've been using the, I guess unofficial Riot snap for a while, but it seems to be getting out-of-date. Noticeably it hasn't changed its name to Element. Though I think it is missing some video features as well.
@popey is there a PR for your snapcraft configuration that could be built on? (I didn't see one in the list) Could there be? 😄
from element-desktop.
@ted-gould yeah, sorry the riot-web snap got behind. It actually was built from source, not a repack of the deb like signal. Unfortunately I got somewhat frustrated and burned out by the changes which made riot-web frequently fail to build, then the name change was the final straw. I just gave up in annoyance. I haven't even looked at riot/element since the name change. If people are having trouble building using electron builder, I'd recommend bringing it up on the snapcraft forum. https://forum.snapcraft.io/
from element-desktop.
@popey already reported here https://forum.snapcraft.io/t/electron-builder-produces-freezing-snaps/22328 with no resolution so far.
from element-desktop.
There are now a few of these:
- https://snapcraft.io/element-desktop by @kenvandine (source: kenvandine/element-desktop, stable: 1.10.14, edge: 1.11.1)
- https://snapcraft.io/element-client by @ArnaudLier (1.10.12, hidden because it had issues)
- https://snapcraft.io/riot-web by @popey (1.6.0, seems also hidden)
FWIW upstream element-desktop is on 1.11.3 now; 1.11.1 is 25 days old, 1.10.14 and 1.10.12 are both from this May, 1.6.0 is from May 2020.
So https://snapcraft.io/element-desktop seems to be the way to go. (Just tried, seems to work fine.)
Some guidance about these on https://element.io/get-started#linux-details would be nice - snap apps are far superior UX for the average user comapres to messing around with apt signing keys and whatnot. If using https://snapcraft.io/element-desktop is inadvisable for some reason, the official page should probably warn about that. Otherwise it should link to it as the primary means of installation, or at least mention it.
from element-desktop.
Could the snapcraft folder be added to the official repo, and the snap be taken over by element staff? Or maybe be moved to the snapcrafters repo?
Most users would probably prefer that a highly sensitive app like element would come from a more official source. Nothing against @kenvandine ;)
from element-desktop.
@kristbaum unlikely on the front of it being maintained by the Element Web team, we don't have sufficient bandwidth or area knowledge to take this on at this time.
from element-desktop.
Hi team! There's an unofficial snap pkg available in the snap store: https://github.com/kenvandine/element-desktop. Might we merge its snap implementation here? Maybe myself or @kenvandine could help with the support but we'll have the benefit that the app will be official.
from element-desktop.
from element-desktop.
Related Issues (20)
- Session lost on restart HOT 2
- "Your Element is misconfigured Unexpected error preparing the app. See console for details. HOT 1
- Error page: "Your Element is misconfigured Unexpected error preparing the app. See console for details." What console? What log? HOT 3
- Unable to query secret storage status HOT 3
- Linux Element desktop app ignores selected PA devices
- Nightly GPU process crashes with nvidia driver version 560 HOT 2
- Element crashes when the room is full of audio files. How can I change this for me? (Windows client.) HOT 2
- Cannot change “productName” in package.json. HOT 3
- Icons got strangely shown
- New Sign in Required HOT 1
- Ctrl-F doesn't work anymore HOT 1
- "Unable to restore session" when reopening Element
- Message Search setting description is broken
- Chat text input field accessibility, with key combination is unstable HOT 1
- Contact Management HOT 1
- Your Element is misconfigured Unexpected error preparing the app. See console for details. HOT 1
- Client crashes when trying to screenshare (Wayland) HOT 1
- Decryption error for video HOT 5
- First run of Element Desktop Nightly resets the settings of Element Desktop (on mac)
- Pinned messages links at top of timeline cycle in reverse and don't scroll to the right place
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from element-desktop.