[fpc-pascal] programmatically creating desktop icons under Linux

Graeme Geldenhuys graemeg.lists at gmail.com
Sun Feb 7 22:42:49 CET 2010

On 7 February 2010 20:31, brian <brian at meadows.pair.com> wrote:
> Can anyone point me in the right direction?

Creating symbolic links (ls -s <src> <target>) should suffice. But if
you want to do it the "official" way by creating desktop shortcuts via
the *.desktop files, then read the follow spec document.


For information on extending that idea and created menu entries in the
Application menu, then following the next spec document.


You can also install the xdg-utils (normally include with modern
distros), which has helper scripts you can use to more easily setup
mime-types, associated applications, menu and desktop icons.


With my current project, fpgInstall, which is a single file GUI
setup/installer application build with fpGUI Toolkit, I am building in
support to programmatically creating of desktop icons and menu
entries. Unfortunately the project is not complete - thus I am not
releasing the source code yet.

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the fpc-pascal mailing list