1. Xfdashboard starts with xfdashboard --daemonize. 2. Sometimes, Xfdashboard crashes. 3. When Xfdashboard crashes, it takes it longer to appear with xfdashboard --toggle 4. Add xfdashboard --daemonize to channel "xfce4-session" /sessions/Failsafe/Client5_Command Boolean FALSE /sessions/Failsafe/Client5_PerScreen Array ["xfdashboard", "--daemonize"]
I have currently no idea how to do that in code. Any help is welcome or pointing me into the right direction. Otherwise I could only put it into the FAQ section at the wiki.
Here is a discussion thread with a screemshot that even featured a name of a web browser in Session tab http://unix.stackexchange.com/questions/52087/clear-xfce4-session
The XfceSMClient of linxfce4ui should make it easy to set this up. For a pointer using GApplication/GtkApplication here's part of it in xfdesktop: http://git.xfce.org/xfce/xfdesktop/tree/src/xfdesktop-application.c#n701 You'll probably also want the command line option parsing http://git.xfce.org/xfce/xfdesktop/tree/src/xfdesktop-application.c#n854 xfce_sm_client_set_restart_command will help with the --daemonize flag.
Thanks for advice. It looks to hard to implement. I will try to implement it and update this bug report when it is in git.
>> It looks to hard to implement. Of course I mean the opposite ;) It doesn't look hard to implement.
Implemented with commit 5285a138aac29a1a696530251ba6e9de461bd3b9 Please check out latest git. Please check if it works for you too.
Implemented and released with version 0.5.1 so closing bug report. Please open a new bug report if you have problems with this implementation.