! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Autostart doesn't start a script
Status:
RESOLVED: INVALID
Product:
Xfce4-session
Component:
General

Comments

Description Raik Lieske 2010-12-21 14:25:05 CET
If I create a .desktop-file in the autostart-directory that points to a script, it doesn't execute the script correctly. If in the script is a xfce4-registered application (like Terminal), unexpectedly it starts, but if the script points to another command, it doesn't. In the last case, not even the registered application runs. Curious...

If I run the .desktop-file manually from thunar, it runs correctly...


BTW: It isn't possibly to use any variables (e.g. $HOME) inside a .desktop-file. But I don't know, where to report this bug
Comment 1 Raik Lieske 2010-12-21 14:26:21 CET
Created attachment 3297 
My .desktop-file
Comment 2 Raik Lieske 2010-12-21 14:26:38 CET
Created attachment 3298 
My script
Comment 3 Jannis Pohlmann editbugs 2011-01-10 23:09:15 CET
Try setting StartupNotify=false perhaps. Make sure the script is executable. Ideally, use an absolute path to the script in the desktop entry? Does that work?
Comment 4 Raik Lieske 2011-01-14 10:00:15 CET
Yes - with this it works.

Thanks!
Comment 5 Jannis Pohlmann editbugs 2011-01-14 11:42:15 CET
I'm marking this one as invalid rather than wontfix. Glad it works now.

Bug #7026

Reported by:
Raik Lieske
Reported on: 2010-12-21
Last modified on: 2011-01-14

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Attachments

My .desktop-file (197 bytes, application/octet-stream)
2010-12-21 14:26 CET , Raik Lieske
no flags
My script (66 bytes, application/octet-stream)
2010-12-21 14:26 CET , Raik Lieske
no flags

Additional information