You are not logged in.

#1 2008-11-09 23:15:07

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Awesome keybindings: am I doing it wrong?

In my rc.lua:

locker = "slock"
...
keybinding({ modkey, "Control" }, "l", function () awful.spawn(locker) end):add()

And modkey is set to Mod1 (and slock ins installed). But when I press alt-ctrl-l, nothing happens. How do I fix this?

Offline

#2 2008-11-10 06:13:14

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Awesome keybindings: am I doing it wrong?

Check if its not bound to anything else. In my config it was default binding for awful.tag.incncol(-1)


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#3 2008-11-10 06:50:31

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: Awesome keybindings: am I doing it wrong?

This is what I have added to my rc.lua for xlock:

lock="xlock"
keybinding({ modkey ,"Shift"}, "z", function () awful.spawn(lock) end):add()

Offline

#4 2008-11-10 07:50:33

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Awesome keybindings: am I doing it wrong?

Can you launch slock without sudo in a terminal?

Offline

#5 2008-11-10 08:09:30

Zeist
Arch Linux f@h Team Member
Registered: 2008-07-04
Posts: 532

Re: Awesome keybindings: am I doing it wrong?

Try pressing the keys and then switch to tty1 to see the output.


I haven't lost my mind; I have a tape back-up somewhere.
Twitter

Offline

#6 2008-11-10 10:14:32

Gigamo
Member
Registered: 2008-01-19
Posts: 394

Re: Awesome keybindings: am I doing it wrong?

And if you're using git version or 3.1-rc1, it's awful.util.spawn(foo).

Offline

#7 2008-11-10 12:27:52

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Awesome keybindings: am I doing it wrong?

I get an error in line 518: "bad value, must be greater than 1".

Edit: yeah, it's already bound. Phooey. alt+shift+z works.

Last edited by Gullible Jones (2008-11-10 12:30:22)

Offline

Board footer

Powered by FluxBB