Skip to content
Snippets Groups Projects
Commit 58ad875f authored by Pablo Mazzini's avatar Pablo Mazzini
Browse files

remove unused flag --no-daemon

parent 16d7eece
No related branches found
No related tags found
No related merge requests found
[D-BUS Service]
Name=org.xfce.ScreenSaver
Exec=@EXPANDED_BINDIR@/xfce4-screensaver --no-daemon
Exec=@EXPANDED_BINDIR@/xfce4-screensaver
......@@ -28,8 +28,6 @@ Xfce Screensaver is the default screen saver and locker for the Xfce Desktop. It
\fB\-\-display=DISPLAY\fR
X display to use.
.TP
\fB\-\-no\-daemon\fR
Don't start as a daemon
.TP
\fB\-\-debug\fR
Enable debugging messages for \fBxfce4-screensaver\fP
......
......@@ -33,10 +33,10 @@ export G_DEBUG=fatal_criticals
xfce4-screensaver-command --exit
# run the daemon in the debugger
#gdb --args xfce4-screensaver --no-daemon --debug
#gdb --args xfce4-screensaver --debug
# or if that isn't helpful just get the debug output
#xfce4-screensaver --no-daemon --debug > /tmp/gs-debug-log.txt 2>&1
#xfce4-screensaver --debug > /tmp/gs-debug-log.txt 2>&1
# or just run it with debugging on
xfce4-screensaver --no-daemon --debug
xfce4-screensaver --debug
......@@ -51,12 +51,10 @@ int main(int argc,
GError *error = NULL;
static gboolean show_version = FALSE;
static gboolean no_daemon = TRUE;
static gboolean debug = FALSE;
static GOptionEntry entries[] = {
{"version", 0, 0, G_OPTION_ARG_NONE, &show_version, N_("Version of this application"), NULL},
{"no-daemon", 0, 0, G_OPTION_ARG_NONE, &no_daemon, N_("Don't become a daemon"), NULL},
{"debug", 0, 0, G_OPTION_ARG_NONE, &debug, N_("Enable debugging code"), NULL},
{NULL}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment