HelixNotes - Obsidian, Joplin, and Notesnook Alternative

Update: Using HelixNotes With Firejail Fails

From what I’ve read, the issue below is due to permissions when packaging the AppImage.
And it can be “easily” fixed by the user. However, that means it can also be easily fixed by the developer for the next release.

The Firejail command:

firejail --net=none --appimage /path/to/HelixNotes_1.3.5_amd64.AppImage

The Error:

firejail version 0.9.80

Parent pid 218881, child pid 218882

** Warning: dropping all Linux capabilities and setting NO_NEW_PRIVS prctl **

Warning: NVIDIA card detected, nogroups command ignored
Mounting appimage type 2
Base filesystem installed in 1.03 ms
Warning: NVIDIA card detected, nogroups command ignored
Child process initialized in 67.06 ms
/run/firejail/appimage/AppRun: line 12: /run/firejail/appimage/AppRun.wrapped: Permission denied

Parent is shutting down, bye...
AppImage detached

After setting permissions like below and using appimagetool to repackage the app, all is good now. It runs without internet access.

chmod a+x AppRun AppRun.wrapped
chmod a+x AppRun AppRun #--> May not be necessary

AppImageTool Command (there’s an AUR package if you prefer):

curl -L -o appimagetool-x86_64.AppImage \
                            https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
                      chmod +x appimagetool-x86_64.AppImage

Then:

./appimagetool-x86_64.AppImage squashfs-root/


And in case anyone wants it, here’s the full command I use through a keyboard shortcut to launch the app without internet access, while also renaming the app window. It can be used in any X11 DE I believe.

firejail --net=none --appimage /path/to/HelixNotes-x86_64.AppImage & for i in $(seq 1 20); do wmctrl -r "Tauri App" -T "HelixNotes" 2>/dev/null && break; sleep 0.5; done

Note: Increase sleep 0.5 to a higher number if the app takes a while to launch.
Example: sleep 3 or sleep 5