RFC: Autostart spec, first draft

cobaco (aka Bart Cornelis) cobaco at skolelinux.no
Thu Jul 7 15:57:07 EEST 2005

On Thursday 07 July 2005 13:14, Waldo Bastian wrote:
> First draft, your feedback is highly appreciated.
> Please send all comments to xdg at freedesktop.org
> See http://lists.freedesktop.org/archives/xdg/2005-July/007061.html and
> follow ups for previous discussion.

I think the autostart on login part is fine,

Any objections to also adding:

    Scripts in $XDG_CONFIG_DIRS/environment will be sourced, this gives a
    way for the user and/or admin to influence the environment. 

    Scripts in lower priority environment directories should be sourced
    first so scripts in higher priority directories can override the values
    they specify for environment variables.

   Scripts will be called with the desktop name as the first parameter
   (KDE, GNOME, ROX, XFCE) making it possible to set up the environment
   dependend on the desktop when necessary 

This would allow setting things like $GPG_AGENT_INFO in a uniform manner?

Regarding the autostart on new media, not sure if this should be in the same 
spec, or a different one

> The desktop environment MAY ignore autostart files based on policy set by 
> the user or system administrator.

the standard should specify how to set this policy IMO

What kind of possibilities do we want here:
- 1 global setting or more granular (per media-type, dependend on 
CD-label, ...)
- maybe an option to only run it if a signature by an approved (gpg)key is 
cobaco (aka Bart Cornelis):
    Coördinator Belgisch Skolelinux team
    Coördinator Nederlandse Skolelinux vertaling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20050707/ad4767ec/attachment.pgp 

More information about the xdg mailing list