! 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 !
Add Xfdashboard to channel "xfce4-session"
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfdashboard
Component:
General

Comments

Description Khazar 2015-08-17 13:54:11 CEST
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"]
Comment 1 Stephan Haller editbugs 2015-08-20 20:51:04 CEST
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.
Comment 2 Khazar 2015-08-25 09:44:04 CEST
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
Comment 3 Eric Koegel editbugs 2015-08-25 17:57:34 CEST
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.
Comment 4 Stephan Haller editbugs 2015-08-28 14:37:43 CEST
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.
Comment 5 Stephan Haller editbugs 2015-08-28 14:38:35 CEST
>> It looks to hard to implement.
Of course I mean the opposite ;) It doesn't look hard to implement.
Comment 6 Stephan Haller editbugs 2015-08-29 20:41:16 CEST
Implemented with commit 5285a138aac29a1a696530251ba6e9de461bd3b9

Please check out latest git. Please check if it works for you too.
Comment 7 Stephan Haller editbugs 2015-09-07 21:50:25 CEST
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.

Bug #12143

Reported by:
Khazar
Reported on: 2015-08-17
Last modified on: 2015-09-07

People

Assignee:
Stephan Haller
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information