Lock screen in panel doing nothing

Tim Tassonis timtas at cubic.ch
Tue Sep 20 12:03:46 CEST 2016


On 09/20/2016 11:18 AM, Tim Tassonis wrote:
> Hi all
>
> I'm currenttly running xfce 4.12 with xfce4-panel 4.12 and all seems
> very well except for the fact that when I press "Lock Screen" on the
> Panel's action button, nothing happens.
>
> Might this be because I just recently added xscreensaver and it was not
> available at compile time of xfce4-panel? Or am I missing something
> else. All other action buttons (suspend, shudown, logout) work fine.


I found the problem myself, it's in xflock4. Following patch to xflock4 
fixes the problem for everybody that has xscreensaver not installed in 
/usr/bin or /bin.



iff -ruN xfce4-session-4.12.1/scripts/xflock4 
xfce4-session-4.12.1-xflock4/scripts/xflock4
--- xfce4-session-4.12.1/scripts/xflock4	2014-08-30 20:24:02.000000000 +0200
+++ xfce4-session-4.12.1-xflock4/scripts/xflock4	2016-09-20 
11:53:49.924275504 +0200
@@ -21,9 +21,6 @@
  #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 
02111-1307, USA.
  #

-PATH=/bin:/usr/bin
-export PATH
-
  # Lock by xscreensaver or gnome-screensaver, if a respective daemon is 
running
  for lock_cmd in \
      "xscreensaver-command -lock" \

>
>
>
> Kind regards
> Tim
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev




More information about the Xfce4-dev mailing list