Menu

#26 Use xdg-desktop-icon to create a desktop shortcut under GNU Linux

1.0
closed
RFE (45)
2014-07-29
2014-04-23
No

The desktop shortcut is currently created by copying a .desktop file into the desktop folder under GNU Linux:
https://sourceforge.net/p/tuer/tickets/6/

However, xdg-desktop-icon takes a .desktop file in input and copies it into the desktop folder(s):
http://portland.freedesktop.org/xdg-utils-1.0/xdg-desktop-icon.html

It's already used in Icedtea-web:
http://icedtea.classpath.org/hg/icedtea-web/file/3f9913affb06/netx/net/sourceforge/jnlp/util/XDesktopEntry.java#l197

The .desktop file should be created in a temporary directory, passed to this command and deleted exactly like NetX / Icedtea-web does.

Discussion

  • Julien Gouesse

    Julien Gouesse - 2014-07-29
    • status: open --> closed
     
  • Julien Gouesse

    Julien Gouesse - 2014-07-29

    No desktop shortcut will be created for the application packages. The game will be registered in a group and the creation of such shortcuts will be up to the end users which is more common under GNU Linux.

     

Log in to post a comment.