From owner-freebsd-gnome@FreeBSD.ORG Tue Sep 24 07:20:01 2013 Return-Path: Delivered-To: gnome@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EF026509 for ; Tue, 24 Sep 2013 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DACC126CE for ; Tue, 24 Sep 2013 07:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8O7K17N050869 for ; Tue, 24 Sep 2013 07:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8O7K1fC050867; Tue, 24 Sep 2013 07:20:01 GMT (envelope-from gnats) Date: Tue, 24 Sep 2013 07:20:01 GMT Message-Id: <201309240720.r8O7K1fC050867@freefall.freebsd.org> To: gnome@FreeBSD.org From: Arrigo Marchiori Subject: Re: ports/180604: devel/xdg-utils: xdg-screensaver depends on dcop X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Arrigo Marchiori List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2013 07:20:02 -0000 The following reply was made to PR ports/180604; it has been noted by GNATS. From: Arrigo Marchiori To: Raphael Kubo da Costa Cc: bug-followup@FreeBSD.org Subject: Re: ports/180604: devel/xdg-utils: xdg-screensaver depends on dcop Date: Tue, 24 Sep 2013 09:12:18 +0200 Hello Raphael, On Fri, Sep 20, 2013 at 08:28:03AM -0300, Raphael Kubo da Costa wrote: > (Please keep me CC'ed in your reply because GNATS sucks and I won't be > notified otherwise) > > I'm surprised xdg-screensaver ended up choosing dcop in your case -- the > script checks if KDE_FULL_SESSION and KDE_SESSION_VERSION are set and, > in this case, chooses another program instead. > > Since you mention you're running KDE 4.10.5 yourself, those variables > should be set. > > Can you show me what their values are before calling xdg-screensaver > yourself? It seems that the problem is due to the fact I am using bash as shell! Using bash: $ xdg-screensaver status /usr/local/bin/xdg-screensaver: dcop: not found ERROR: kdesktop KScreensaverIface isEnabled returned '' $ echo $KDE_FULL_SESSION true $ echo $KDE_SESSION_VERSION 4 $ echo $SHELL /usr/local/bin/bash Then I switch to csh and it seems to work: $ csh % xdg-screensaver xdg-screensaver - command line tool for controlling the screensaver Synopsis xdg-screensaver suspend WindowID [etc ...] The funniest thing is that, now that I ran csh _once_, xdg-screensaver also started working with bash. And it did not in the first place, as you can see from above. I logged out and in from KDE, and it is still working with bash. I am quite confused... I cannot reboot my PC now, but do you think it's worth trying? Maybe something was mis-configured from the past, and running xdg-screensaver from csh fixed it? Thank you for taking care of this! -- rigo http://rigo.altervista.org