I've symlinked a .desktop file into ~/.config/autostart. The program executes fine when it's menu item is clicked, but it does't work on log-on. This is because xfce4-session is ignoring the Path entry in the .desktop file that should set the working directory for the executable - and the app is broken enough to fail if it's started in the wrong directory. I'm using xfce4-session as packaged for Fedora 16: xfce4-session-4.8.3-1.fc16.x86_64.
Perhaps something similar to 8f89ae4bb60fe6b15e0a8eb5b31135fbdd6ca182 in xfdesktop is needed here - Eric?
Oh yeah, makes sense. I don't have time to write a patch today.
xfce_spawn_command_line_on_screen() is used there, and it doesn't allow a working directory passed to that function. There are some others in libxfce4ui/libxfce4ui/xfce-spawn.c that look plausible to use here, but I'm going to defer this one to someone more experienced. Thanks, Eric! :-)
bump. me too.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-session/-/issues/9. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev