hanzala123 / arch2appimage

This is a python script that downloads Arch Linux packages (Official/Chaotic AUR) and converts to an AppImage executable
GNU General Public License v3.0
339 stars 11 forks source link

Stuck on .desktop file. #2

Closed Anonymous2716 closed 1 year ago

Anonymous2716 commented 1 year ago

I'm on CLI only . but it asks for a .desktop file .what do I do now?

ghost commented 1 year ago

I would probably assemble it from scratch: https://docs.appimage.org/reference/desktop-integration.html#desktop-files

Anonymous2716 commented 1 year ago

@redicculus how do I assemble those configs in the file? Any examples?

hanzala123 commented 1 year ago

Hi, I am not sure what you mean by the question. This asks for the desktop file because there was no desktop file in the package. A desktop file is mandatory for making an AppImage. Making a .desktop file is pretty simple. You can learn about it here. After making it copy the path to it and paste in the promt. The script should work file from there.

LinuxWelt commented 1 year ago

Hi, I am not sure what you mean by the question.

The problem is that your .desktop file parser is broken or just bogus. It fails on "Categories=" among other things.

Anonymous2716 commented 1 year ago

Ohkay. I still have to figure out some of it. But you can close the issue. If not useful.

hanzala123 commented 1 year ago

Hi, I am not sure what you mean by the question.

The problem is that your .desktop file parser is broken or just bogus. It fails on "Categories=" among other things.

HI @LinuxWelt, The desktop-file-validate tool is used to validate the .desktop file. This tool is part of the desktop-file-utils package which is the standard for working with .desktop files on linux. You can find more information on that here.