Problem with loading program at startup

Paul Smith phhs80 at gmail.com
Sun Dec 31 18:58:52 CET 2006


On 12/31/06, Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:
> >>>> [Desktop Entry]
> >>>> Encoding=UTF-8
> >>>> Version=0.9.4
> >>>> Type=Application
> >>>> Name=remind_load
> >>>> Comment=Load remind at startup
> >>>> Exec=remind -z ~/.reminders
> >>>> StartupNotify=false
> >>>> Terminal=false
> >>>> Hidden=true
> >>>> GenericName=
> >>>>
> >>>> Any ideas?
> >>> >From the autostart spec: "When the .desktop file has the Hidden key set
> >>> to true, the .desktop file MUST be ignored."
> >> Thanks, Benedikt, but replacing 'Hidden=true' with 'Hidden=false' does
> >> not solve the problem. Moreover, if I choose 'execute' from the menu
> >> in Thunar, I do not see afterwards remind loaded (with 'ps -A | grep
> >> remind').
> >
> > That is solved: I put the command
> >
> > remind -z ~/.reminders
> >
> > inside a sh script and then instead of
> >
> > Exec=remind -z ~/.reminders
> >
> > I execute the sh script. That is strange, but it works fine!
>
> Ah, right. The Exec value is not necessarily executed by the shell, so
> you cannot use variables that must be expanded by the shell (i.e. the ~).

Maybe, it happens with commands containing spaces?

Paul



More information about the Xfce mailing list