! 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 !
screensaver starts even if it's not enabled
Status:
RESOLVED: WORKSFORME
Product:
Xfce-utils
Component:
General

Comments

Description Artem Astafyev 2011-07-21 08:45:35 CEST
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.
Comment 1 Nick Schermer editbugs 2012-04-18 20:01:13 CEST
Handled differently in xfce4-session.
Comment 2 Artem Astafyev 2012-08-30 16:58:15 CEST
Still an issue in 4.8.3 on Fedora 17.
Comment 3 Lionel Le Folgoc 2012-08-30 19:57:45 CEST
But fixed in 4.10, that's what matters. :)
Comment 4 Artem Astafyev 2012-08-30 20:19:04 CEST
(In reply to comment #3)
> But fixed in 4.10, that's what matters. :)
Sorry, has been confused by "Target Milestone: Xfce 4.6". Expected that it should be fixed in 4.8.3 :)

Bug #7826

Reported by:
Artem Astafyev
Reported on: 2011-07-21
Last modified on: 2012-08-30

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Attachments

Additional information