Bug report
Inkdrop does not run with Wayland under Linux.
$ inkdrop
(inkdrop:163228): Gtk-WARNING **: 19:57:47.587: cannot open display: :0
Info
- Platform: Ubuntu
- Platform version: 20.04
- App Version: current Snap version
Reproduce
Run with Wayland session.
craftzdog
(Takuya Matsuyama)
2
Hi Marco,
Thank you for the report.
Unfortunately, Electron does not support Wayland at the moment.
This is odd as I don’t have problems with other electron apps (Wire, VS Code, Slack, Joplin for example).
craftzdog
(Takuya Matsuyama)
4
Maybe they have some patch but I can’t find that Electron supports it out of the box right now.
Or you are missing something on how you run the app.
craftzdog
(Takuya Matsuyama)
5
Found the same issue on another app, the same conclusion that we have to wait for Electron to support Wayland:
Btw: The Snap version of Insomnia works on Wayland nowadays (just tried it).
craftzdog
(Takuya Matsuyama)
9
I added DISABLE_WAYLAND=1
env variable to the snapcraft.
Could you try it?:
$ sudo snap install --edge inkdrop
The package build number is 30.
1 Like
It works - great, thank you.
Now also Fedora users where Wayland is the default could use it 
1 Like
craftzdog
(Takuya Matsuyama)
11
Cool!! Thank you for letting me know 
Cheers
I’ve been running it on Wayland on Arch and I did not have to set that environment variable. 
Takuya added it in the electron build process. It’s not a variable a user has too add. This shouldn’t be an issue anymore.