You are not logged in.
I install gnome-screensaver in xfce4.
All the autorun of xfce4 have been searched but I could not find the how does the gnome-screensaver autostart.
Who will help me ?
thanks.
Offline
/etc/xdg/autostart/gnome-screensaver.desktop
don't drink unwashed fruit juice.
i never make predictions, especially about the future.
Offline
/etc/xdg/autostart/gnome-screensaver.desktop
$ ls /etc/xdg/autostart
gdu-notification-daemon.desktop
gsettings-data-convert.desktop
ibus.desktop
polkit-kde-authentication-agent-1.desktop
xfce4-clipman-plugin-autostart.desktop
xfce4-notes-autostart.desktop
xfce4-power-manager.desktop
xfce4-settings-helper-autostart.desktop
xfce4-tips-autostart.desktop
xfconf-migration-4.6.desktop
$
There is not gnome-screensaver
Offline
Menu > Settings > Session and Startup > Advanced. Do you have "Launch GNOME services on startup" checked?
Offline
I recall looking in the bash script /usr/bin/startxfce4
Offline
Menu > Settings > Session and Startup > Advanced. Do you have "Launch GNOME services on startup" checked?
neither gnome or kde.
All checkbox is not checked.
Offline
I recall looking in the bash script /usr/bin/startxfce4
It is my /usr/bin/startxfce4 . It seens like not being changed.
#!/bin/sh
#
# xfce4
#
# Copyright (C) 1996-2003 Olivier Fourdan (fourdan@xfce.org)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#if test "x$XDG_CONFIG_HOME" = "x"
then
BASEDIR="$HOME/.config/xfce4/"
else
BASEDIR="$XDG_CONFIG_HOME/xfce4"
fiif test "x$XDG_DATA_DIRS" = "x"
then
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share"
else
XDG_DATA_DIRS="$XDG_DATA_DIRS:/usr/share"
fi
export XDG_DATA_DIRSif test "x$DISPLAY" = "x"
then
echo "$0: Starting X server"
prog=xinit
else
echo "$0: X server already running on display $DISPLAY"
prog=/bin/sh
fiif test ! "x$*" = "x"
then
OPT=$*
if test "x${OPT#*--}" = "x${OPT}"
then
CLIENTRC=${OPT}
else
SERVERRC=${OPT#*-- }
CLIENTRC=${OPT% --*}
fi
fiif [ -f "$HOME/.xserverrc" ]; then
SERVERRC="$HOME/.xserverrc $SERVERRC"
elif [ -f /etc/X11/xinit/xserverrc ]; then
SERVERRC="/etc/X11/xinit/xserverrc $SERVERRC"
fiif test ! "x$SERVERRC" = "x"
then
SERVERRC="-- $SERVERRC"
fiif [ -f $BASEDIR/xinitrc ]; then
exec $prog $BASEDIR/xinitrc $CLIENTRC $SERVERRC
elif [ -f $HOME/.xfce4/xinitrc ]; then
mkdir -p $BASEDIR
cp $HOME/.xfce4/xinitrc $BASEDIR/
exec $prog $BASEDIR/xinitrc $CLIENTRC $SERVERRC
else
exec $prog /etc/xdg/xfce4/xinitrc $CLIENTRC $SERVERRC
fi
Last edited by qq405165798 (2010-11-04 10:54:26)
Offline
OHHHH! It is solved.
I found this in the
/etc/xdg/xfce4/xinitrc
# Launch xscreensaver (if available), but only as non-root user
if test $UID -gt 0 -a -z "$VNCSESSION"; then
if test x"`which xscreensaver 2>/dev/null`" != x""; then
xscreensaver -no-splash &
elif test x"`which gnome-screensaver 2>/dev/null`" != x""; then
gnome-screensaver &
fi
fi
It seems like already existing from the time of arch system installed.
I hate this script because I can config it myself.
The autorun make gnome-screensaver print garbages in my LANG="zh_CN.utf8" environment.
Thank you very much indeed.There is no people could or would help me in chinese bbs.
Last edited by qq405165798 (2010-11-04 10:55:57)
Offline