From 1895071b65aa44015ad09cf5b08566bfd9a18a34 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 10 Apr 2014 17:00:29 +0200 Subject: [PATCH 1/1] temporarily log xscreensaver --- .config/awesome/rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 71ec9e1..4a28c5e 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -491,7 +491,7 @@ globalkeys = awful.util.table.join(globalkeys, awful.key({ cmdmodkey }, "o", function () awful.util.spawn("okular") end), awful.key({ cmdmodkey }, "l", function () awful.util.spawn("libreoffice") end), awful.key({ cmdmodkey }, "i", function () awful.util.spawn(terminal .. " -title irc -name irc -e mosh -- irc screen -dr irc") end), - awful.key({ cmdmodkey }, "x", function () awful.util.spawn_with_shell("/sbin/start-stop-daemon --start --background --exec /usr/bin/xscreensaver; xscreensaver-command -lock") end), + awful.key({ cmdmodkey }, "x", function () awful.util.spawn_with_shell("/sbin/start-stop-daemon --start --background --exec /usr/bin/xscreensaver -- -no-capture-stderr -log ~/.tmp/xscreensaver.log; xscreensaver-command -lock") end), awful.key({ cmdmodkey, "Shift" }, "x", function () awful.util.spawn("xscreensaver-command -exit") end), awful.key(nil, "XF86ScreenSaver", function () awful.util.spawn("xset dpms force off") end) ) -- 2.39.5