Problem with loading program at startup

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sun Dec 31 18:48:55 CET 2006


Paul Smith 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 ~).

> Paul

Benedikt



More information about the Xfce mailing list