Jump to content

install desktop entry


rick645
Go to solution Solved by requinix,

Recommended Posts

Observe this instruction

exec("desktop-file-install ..."); // shell command running

Let's say that it can be fine, but only with linux/ubuntu (and various compatible distributions).

With other operating systems... mmmhhh... that remains to be seen...
You might come across it

desktop-file-install: unknow command

Therefore, there would be no such standard function

install_desktop_file(...);
// or
install_desktop_entry(...);

that interfaces directly with the operating system and not with the shell?

 

Edited by rick645
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.