Albin <[email protected]> skribis:

> Den Sun, 22 May 2016 23:43:14 +0200
> skrev Re: bug#23286: Unable to unlock xscreensaver in Xfce:
>
>> Albin <[email protected]> skribis:
>> 
>> > Den Sat, 21 May 2016 06:37:49 +0200  
>> 
>> [...]
>> 
>> >> Please try to call these manually (in that order) and stop at the
>> >> first one that doesn't throw an error:
>> >> 
>> >> $ xscreensaver-command -lock  
>> >
>> > Unable to unlock.
>> >  
>> >> $ gnome-screensaver-command --lock  
>> >
>> > Command not found.
>> >  
>> >> $ xlock -mode blank  
>> >
>> > Worked. ('xlock' also worked.)
>> >  
>> >> $ slock  
>> >
>> > Worked.  
>> 
>> IIUC, xfce-lock uses one of the above lockers.  For them to work, and
>> if you want to be able to unlock your screen ;-), you need to make
>> sure you use ‘screen-locker-service’  for each of them.
>> 
>> So:
>> 
>>   (operating-system
>>     ;; …
>>     (services (cons (screen-locker-service xscreensaver)
>>                     %desktop-services)))
>> 
>
> This was my original configuration which didn't let me unlock if I had
> locked with xflock4. Any other ideas?

Oh wait; since the command is called “xscreensaver-command”, not
“xscreensaver” (well in fact there are both), this should be:

  (cons (screen-locker-service xscreensaver "xscreensaver-command")
        %desktop-services)

Could you try this one?

Thanks for your patience.  :-)

Ludo’.



Reply via email to