This is how I fixed the call to terminal, so that it spawn on the screen
under the mouse cursor:
+++ b/home/.config/awesome/rc.lua
@@ -261,7 +261,9 @@ globalkeys = awful.util.table.join(
end),
-- Standard program
- awful.key({ modkey, }, "Return", function ()
awful.util.spawn(terminal) end),
+ awful.key({ modkey, }, "Return", function ()
awful.util.spawn(terminal,{
+ tag = mouse.screen.selected_tag,
+ }) end),
awful.key({ modkey, "Control" }, "r", awesome.restart),
awful.key({ modkey, "Shift" }, "q", awesome.quit),