On Sun, Jul 25, 2010 at 12:34:16AM +0200, Adrian C. wrote:
> On Sat, 24 Jul 2010, Tim Johnson wrote:
> 
> > As an example, in my local rc.lua, I added to the following code: 
> > awful.key({ modkey }, "F2", function (c) c:kill() end) It passes the 
> > syntax check, but the binding is not committed. (I presume not added 
> > to globalkeys)
> 
> It's a matter of context. What are you doing? Manipulating a client, so 
> it should go to the clientkeys.
> 
> As for discussion on "show desktop", I instead lock the screen. My 
> favorite has been the KDE locker for along time, and since I have parts 
> of KDE installed I can call (from globalkeys :) 
> /usr/lib/kde4/libexec/kscreenlocker --forcelock

I use xlockmore. its a bit easier on the dependencies :)

awful.key({ modkey, "Control" }, "F8", function () awful.util.spawn("xlock 
-mode blank") end),

-- 
Alex Alexander :: wired
Gentoo Developer
www.linuxized.com

Attachment: pgpDRWJDZ09Zd.pgp
Description: PGP signature

Reply via email to