[Xfce-bugs] [Bug 7826] New: screensaver starts even if it's not enabled
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Thu Jul 21 08:45:35 CEST 2011
https://bugzilla.xfce.org/show_bug.cgi?id=7826
Bug #: 7826
Summary: screensaver starts even if it's not enabled
Classification: Xfce
Product: Xfce-utils
Version: 4.8.1
Platform: PC (x86_64)
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: General
AssignedTo: xfce-bugs at xfce.org
ReportedBy: artem.astafyev at gmail.com
Comments in /etc/xdg/xfce4/xinitrc says that screensaver will be launched if
enabled:
------ cut -------
# launch a screensaver if enabled. do not launch if we're root or if
# we're in a VNC session.
screensaver_enabled=`xfconf-query -c xfce4-session -p
/startup/screensaver/enabled 2> /dev/null`
if test $UID -gt 0 -a -z "$VNCSESSION" -a "$screensaver_enabled" != "false";
then
------ end cut -------
But if I run
xfconf-query -c xfce4-session -p /startup/screensaver/enabled
I get
Property "/startup/screensaver/enabled" does not exist on channel
"xfce4-session"
As a result "$screensaver_enabled" != "false" is true and screensaver is
launched.
I suggest changing condition to "$screensaver_enabled" == "true" so it will be
launched only when explicitly enabled.
--
Configure bugmail: https://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list