mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-26 06:16:53 +03:00
9207af342d
Ok, so this time I got the stuff to auto-load desktop startup links. This means you can ship stuff to pre-configure the desktop of the users now. We support program-based setup and url-links. Details on the lib/README.desktop file
38 lines
1.1 KiB
Desktop File
38 lines
1.1 KiB
Desktop File
|
|
* The Desktop startup directory
|
|
|
|
The directory $(libdir)/desktop-scripts is a place holder for
|
|
information on how to configure the default's user desktop. There are
|
|
a number of files that can be installed in this directory:
|
|
|
|
* Link definition files: These files are used to create
|
|
links to web and ftp sites on the user's desktop.
|
|
|
|
* Executables: Programs or links to programs that will be
|
|
executed when the user requests a directory rescan.
|
|
|
|
* Link definition file format
|
|
|
|
The file should contain an ini-like file whose contents are as follows:
|
|
|
|
[linkname]
|
|
title=Title in english
|
|
title[NN]=Title in language NN
|
|
type=url
|
|
url=some-url
|
|
|
|
The linkname is the name of the file that will be created in the
|
|
user's desktop directory.
|
|
|
|
title is the caption that will be used by this file. This can be
|
|
localized by providing one or more title[NN] entries, where NN is
|
|
the setting that would be set by the user for the NN locale.
|
|
|
|
|
|
* Executables
|
|
|
|
Executable programs will be executed like this:
|
|
|
|
program --desktop-dir DESKTOPDIR
|
|
|
|
Where DESKTOPDIR is the user's desktop directory. |