Hello everyone,
I want to use xtrlock to lock my desktop, and to be able to launch it by
pressing a key binding. I managed to get it working some time ago, but
since some modifications in my rc.lua config file it won't work anymore.
I added this to the globalkeys variable :
awful.key({ modkey, }, "z", function ()
awful.util.spawn("xtrlock") end)
but when I press Super-Z my cursor turns into a watch for a while and then
get back to normal...
However, if I run xtrlock via Super-R, everything is fine as the sweet
padlock replaces my mouse cursor.
I also tried to replace spawn with spawn_with_shell, and then the key press
don't seem to do anything...
Does anyone have any hints for me ?
Why would not awful.util.spawn("xtrlock") yield the same result as typing
xtrlock in the Run: prompt ?
Hoping for your helpful responses,
Louis