yosh64
Member
hey
Now, a .desktop file isn't meant to define information for a package, so it would be wrong to use it, or extend it for such purposes, but rather it's for (and I quote) "describing how a particular program is to be launched, how it appears in menus, etc". For example, there is no Software Version key for .desktop files, although there is a Version key for defining the Desktop Entry Specification it conforms to.
Now, from what I understand no path is even specified within the PXML format (although it's optional to specify a relative directory to extract the ZIP to or whatever), rather the GUI application searches and gathers the directory of each package from the SDCard. I hope this makes some sense .
That said, as already stated in my last post, I also am +1 for PXML.
edit: I think EvilDragon somehow seen past all this and made/designed it the way it should have been from the start . I think most of our chitchat has been over our own misconceptions, but I dunno.
edit
Also, and unlike regular package formats, PXML not only provides information about the software, but information about how it's launched and appears in menus. I think this is where alot of confusion arises, as it blurs the line between the two purposes, and for reasons I mentioned in my last post I think it's better just to use PXML alone than to provide the package information along with the .desktop file.
I hope you take the time to read what I have to say , sorry if I overwhelm you with my big posts.
cyas
Dutch_Cap, I don't agree. I think the primary purpose is to privide information about a package, and a .desktop file alone cannot do this. I think the relative paths and such you mention is a non issue, this is something done by the GUI program.Dutch_Cap said:The primary goal of both PXML and .desktop is to point to stuff. They point to the file that should be run to start a program, the executable. They do a few other things, but that's their primary goal.
Now, a .desktop file isn't meant to define information for a package, so it would be wrong to use it, or extend it for such purposes, but rather it's for (and I quote) "describing how a particular program is to be launched, how it appears in menus, etc". For example, there is no Software Version key for .desktop files, although there is a Version key for defining the Desktop Entry Specification it conforms to.
Actually, .desktop files usually contain a relative path, or rather just the name of the binary/executable without any path at all (this is because binaries of user applications are usually stored together in /usr/bin, and so this path is stored in the $PATH environment variable), although it's permitted by the .desktop standard to specify an absolute path, as I've already mentioned in a previous post.Dutch_Cap said:.desktop files point to executables with an absolute path. There's a good reason for this. It needs to be possible to move .desktop files around, so that I can put them in /home/Dutch_Cap/Desktop and get a nice icon on my desktop. .desktop files can use an absolute path because on most Linux systems programs don't move around much.
The design goals for PXML are slightly different, though. The directory that contains both the PXML file and the executable needs to be movable and it might disappear when you remove your SD card. However, the PXML file should not move relative to the executable. That's why PXML uses relative paths.
Now, from what I understand no path is even specified within the PXML format (although it's optional to specify a relative directory to extract the ZIP to or whatever), rather the GUI application searches and gathers the directory of each package from the SDCard. I hope this makes some sense .
That said, as already stated in my last post, I also am +1 for PXML.
edit: I think EvilDragon somehow seen past all this and made/designed it the way it should have been from the start . I think most of our chitchat has been over our own misconceptions, but I dunno.
edit
Also, and unlike regular package formats, PXML not only provides information about the software, but information about how it's launched and appears in menus. I think this is where alot of confusion arises, as it blurs the line between the two purposes, and for reasons I mentioned in my last post I think it's better just to use PXML alone than to provide the package information along with the .desktop file.
I hope you take the time to read what I have to say , sorry if I overwhelm you with my big posts.
cyas
Last edited by a moderator: