I don't seem to make the --no-sandobox
argument work everytime. Sometimes it opens, sometimes it doesn't and my computer starts to slow down and after a few seconds completely freezes my whole system! So editing a .destkop to run it with the argument, is no valid option for me.
I have found, though, that if I run the the appimage with argument from terminal, as I can tell when it is going to crash (because it starts to slow down the computer without showing the app) I can Control+C
the process and run it again. Usually the first time is the one that doesn't work and the second does...
Anyway, in case someone is having the same problem, my "solution" was making a bash_alias
to launch it with the --no-sandbox
argument:
- Edit your
.bash_aliases
or create a new one if you don't have one. It should be on your /home/username/
directory:
$ nano ~./bash_aliases
- Add the line:
$ alias jo="cd ~/AppImages && ./Joplin.AppImage --no-sandbox"
- Replace jo with whatever you want the alias to be. I like this to be very short.
- Replace the first directory with the one where you have the appimage in (usually, if you installed using the script, it should be in
~/.joplin
(I like to keep all my appimages together)).
- Replace Joplin.AppImage with the actual appimage name, which usually includes the app version, something like Joplin-1.0.216.AppImage. I prefer instead to remame the .appimage itself to just Joplin.AppImage, so I don't have to update the
bash_alias
again if I download a newer version.
3- Then update the aliases source:
$ source ~/.bashrc
4- Run the alias. If you see that the system slows down, control + c
and run it again. In my case if I just opened the terminal, it always takes two times. After closing the app, if I leave that terminal open, it runs again with just one intent.
I really hope this changes at some point... it is really annoying to have an .AppImage that doesn't run on a distro as big as Debian. In my case this is my main PC for work (Debian stable) where I only have a few basic apps to stay focused (mail, office apps and basic web-browsing...) and I don't really want to be worried about many updates and newer options, etc.
I found Joplin when searching for multi-OS open source encrypted note apps, tried it on a weekend on my gaming system (which is Windows 10...), fell inloved with it, then downloaded it on Debian during the week and... Man, GNU/Linux is never going to be popular like this...
I really don't want to install Ubuntu/PopOS or Manjaro just to run a note-taking app... Is there any real possibility that you will update and modify the app to run on Debian? or would the change be so "big" that you are not really willing to do that? I think many of us would like you to be honest about it, so we can decide to either change Joplin for another app or that we love it so much that we would change the distro.
P.S.: In my case, as rare as it sounds, sudo sysctl kernel.unprivileged_userns_clone=1
doesn't seem to change anything.