Hi,
On 04.11.2012 01:41, Louis LÉVÊQUE wrote:
[...]
> awful.key({ modkey, }, "z", function ()
> awful.util.spawn("xtrlock") end)
Try this:
awful.key({ modkey, }, "z", nil, function ()
awful.util.spawn("xtrlock") end)
This starts xtrlock when you release the key, not when you press it.
> but when I press Super-Z my cursor turns into a watch for a while and then
> get back to normal...
[...]
> Does anyone have any hints for me ?
Alternatively, the following might work:
awful.util.spawn_with_shell("sleep 0.1 ; xtrlock")
> Why would not awful.util.spawn("xtrlock") yield the same result as typing
> xtrlock in the Run: prompt ?
[...]
While you press the keybinding, awesome has to grab these keyboard keys. If you
want me to guess: These grabs stop xtrlock from starting up, because it needs to
grab the keyboard, too.
Of course, this is just a guess, so you might want to check the log files were
errors from awesome go to (~/.xsession-errors?).
Cheers,
Uli
--
Bitte nicht mit dem verbleibenden Auge in den Laser gucken.
- Vincent Ebert
--
To unsubscribe, send mail to [email protected].