autostart

Laurent Montel montel at kde.org
Fri Mar 21 08:32:15 GMT 2008


On Wednesday 19 March 2008 13:46:06 David Faure wrote:
> On Wednesday 19 March 2008, Laurent Montel wrote:
> > > This way the command-line users can still just
> > > drop a shellscript into a directory without having to create a .desktop
> > > file for it by hand, and the GUI users are happy with the control
> > > module.
> >
> > and when user add new script from kcm_autostart we add it to KDE
> > autostart folder as previously.
>
> Either that, or kcm_autostart can generate a .desktop file (in the XDG
> autostart directory) that calls the script, no? Not sure how the GUI is
> supposed to work, whether the user expects that a copy of the script is
> made or that the .desktop file in the autostart directory calls the script
> at its current location... 

We can create directly a symlink in autostart directory.
(in kde autostart directory not xdg directory)
We can create a desktop file directly if we create it in xdg autostart 
directory.

> I guess I would expect the second solution, if 
> the input is indeed a file on disk (making a copy would suck; duplication
> of information).
>
> > (autostart script not env/shutdown script)
>
> Yes, those are special.



-- 
Laurent Montel,
KDE/KOffice developer, Qt consultancy projects
Klarälvdalens Datakonsult AB, Platform-independent software solutions




More information about the kde-core-devel mailing list