I want AppImage to start automatically

I have been able to launch .desktop applications in a specific WorkSpace, but I want to be able to automatically launch the application I am using as AppImage when I start AppVM.

Disassemble AppImage? There was also a method to register a file created by disassembling the AppImage, but is it possible to execute the AppImage itself as a file?

Create a .desktop file for AppImage:
How to add new apps in appVM? - #2 by apparatus
And then configure it to autostart:
How to install software | Qubes OS

Thanks, I did the Extarct command in AppImage and extracted the contents.

An_app.AppImage --appimage-extract

I went into the resulting directory and found a .desktop file, which is,

~/.config/autostart/

and,

~/.local/share/application

to using the copy or ln command, but the desired AppImage did not start automatically after the restart of UntrusterdAPPVM.

-ln

or

cp

Which is more suitable for copying .desktop files?

You need to copy the .desktop file to the ~/.local/share/application in app qube by following the guide in the first link (make sure to change the Exec= path to the AppImage), then create a link to your AppImage .dektop file ~/.local/share/application/app.desktop in ~/.config/autostart/ by following the guide in the second link.

squashfs-root

The .desktop file in this directory has been copied to ~/.local/share/application/. The AppImage has been given execute permission and the .desktop file link copied to ~/.config/autostart/ using the ln -s commandThe file has been copied to ~/.config/autostart/ with the ln -s command.

Should the squashfs-root file name not be changed? I’m going to try again with the steps from the beginning to see if I’ve missed something.

  1. Remove the directory squashfs-root.

Thank you. I deleted the squashfs-root directory.For the .desktop file, I copied it to ~/.local/share/application/ and then used

ln -s

to create a ~/.config/autostart/ link, but the type is ‘broken link’.Was the link not drawn correctly?

What’s the output of this command?

ls -l ~/.local/share/application/ ~/.config/autostart/

Post the full ln -s command that you used.

ln -s ~/.local/share/application/An.desktop ~/.config/autostart/An.desktop

The command ls -l may be correct.Try the -l option as well.

ln -l

If the option is not available, then it will be an invalid option.

The command looks correct.

It’s ls command to list the files in directories, not ln command.

I’ve just noticed, it should be ~/.local/share/applications directory, not ~/.local/share/application directory.
Move your An.desktop file to the ~/.local/share/applications directory and create a link to it.

I see that ln -s succeeds even without “s”."I ran it with “/applications” and it no longer results in a broken link.

However, it still does not seem to start automatically when I start untrusted.The same thing happened when I gave the .desktop file in /share/applications/ , permission to run as a program and then ln -s again.

It seems like there is one more step to go.

Are you able to start the app using Qubes Application Menu?
If you don’t see it available then:

Refresh the Applications list for the app qube. In the Qubes Menu for the app qube* launch the Qube Settings. Then go to the Applications tab and click “Refresh Applications”

Thank you.“Refresh Applications” now shows up in the Applications menu!However, restarting AppQube has not led to an automatic start.

When I click on an application in the Applications Menu, the application does not seem to start up.If I start AppImage in the folder directly, it starts up.

I was frustrated, but would like to try again when I have a break, maybe I should read up on some basic Linux texts etc.