The workaround I could use is to manually copy the Joplin files over to the App qube and then Joplin runs successfully but I don’t know what the side effects would be.
I’ve tried deleting and recreating the qube in which I was trying to install Joplin.
Trying to launch Joplin from the qube doesn’t work while launching it from the base template works.
Not sure what else I should try apart from manually copying the files over to the qube
I guess your AppImage is creating its .desktop file in user directory in template and since it’s missing in your AppVM based on this template then running the app using Qubes app menu is not working.
Add the .desktop file in /etc/skel in template as well.
Something like this:
Not sure, maybe you also need to copy the app files from ~/.config/MyApp or something else.
Are you able to run the app from the menu after running it once from the terminal?
[Desktop Entry]
Encoding=UTF-8
Name=Joplin
Comment=Joplin for Desktop
Exec=env APPIMAGELAUNCHER_DISABLE=TRUE /home/user/.joplin/Joplin.AppImage --no-sandbox %u
Icon=joplin
StartupWMClass=Joplin
Type=Application
Categories=Office;
MimeType=x-scheme-handler/joplin;
X-GNOME-SingleWindow=true // should be removed eventually as it was upstream to be an XDG specification
SingleMainWindow=true
Refresh applications in template Settings.
Create new qube based on this template and add Joplin to the list of shown applications in menu.
Run Joplin app for this qube.
The qube starts and Joplin window is shown.
The files in /etc/skel in template will be copied in /home/user directory in app qube and their ownership will change to user.
Can you describe your steps that you do to create the template, app qube and run the app in app qube?
I did the steps you described two days ago. Inside Qubes Manager I created a new qube with the “New Qube” button and at “Template” I chose the debian template, which I modified.
At “App shortcuts” I added “Joplin” und startet the new quebes.
Here is the output of the log:
[2024-05-22 19:26:17] [ 3.664334] fbcon: Taking over console [2024-05-22 19:26:17] [ 3.743271] Fallback order for Node 0: 0 [2024-05-22 19:26:17] [ 3.743274] Built 1 zonelists, mobility grouping on. Total pages: 223425 [2024-05-22 19:26:17] [ 3.743296] Policy zone: Normal [2024-05-22 19:26:18] [2024-05-22 19:26:18] Debian GNU/Linux 12 Joplin2 hvc0 [2024-05-22 19:26:18] [2024-05-22 19:26:18] Joplin2 login: [ 6.379541] show_signal: 14 callbacks suppressed [2024-05-22 19:26:19] [ 6.379543] traps: light-locker[862] trap int3 ip:7917646607d7 sp:7ffd21517740 error:0 in libglib-2.0.so.0.7400.6[791764622000+8d000]