[PATCH] Update xflock4 (Bug 10217) again

Jarno Suni j_suni at yahoo.co.uk
Fri Mar 11 10:30:43 CET 2016


> On Sunday, January 31, 2016 7:29 PM, Jarno Suni <j_suni at yahoo.co.uk> wrote:


> I made yet another update for xflock4: 
> https://bugzilla.xfce.org/show_bug.cgi?id=10217#c40
> Please test and review it especially with mate-screensaver and 
> cinnamon-screensaver that I have not installed. I have tested it only in Linux, 
> but I have tried to make it compatible with other unix-like operating systems, 
> too.


As you may have noted, there are further updates to the script. I have tested the script by dash as /bin/sh variant. The script does not work by e.g. zsh, but could be modified to do so (especially, if a relatively new version of zsh is used). Which shells the script should work by? As for security point of view, dash seems to be the best: 
http://stackoverflow.com/q/35916983/4414935
How bizarre circumstances the script has to be prepared for?

If some xfconf variable is wanted to be used to select the wanted locker, I think it could point to an item in a pre-defined list that is not editable by a regular user. xflock4 would know how to deal with each one in the list.

-- 
Jarno Suni - http://iki.fi/8/ 


More information about the Xfce4-dev mailing list