昨天我很棒的配置能够最大化窗口(在我使用的任何布局(平铺/浮动)中),但现在最大化命令什么都不做。
我查看了配置文件 ( rc.lua
) 并没有发现任何不正确的代码。
这是我的客户端密钥:
clientkeys = awful.util.table.join(
awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
awful.key({ modkey, }, "o", awful.client.movetoscreen ),
awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
awful.key({ modkey }, "F7", function(c) c.maximized_horizontal = not c.maximized_horizontal end),
awful.key({ modkey }, "F8", function(c) c.maximized_vertical = not c.maximized_vertical end),
awful.key({ modkey, }, "n",
function (c)
-- The client currently has the input focus, so it cannot be
-- minimized, since minimized clients can't have the focus.
c.minimized = true
end),
awful.key({ modkey, }, "m",
function (c)
c.maximized_horizontal = not c.maximized_horizontal
c.maximized_vertical = not c.maximized_vertical
end)
)
这里最有趣的是,modkey + F7
它们modkey + F8
都可以工作,而且这些热键都能够最大化窗口(但我需要将它们合二为一),但modkey + m
不起作用。
awesome -k
说一切都好。
有人可以帮忙调查这里有什么问题吗?