尝试:
awful.util.spawn("scrot -s") awful.util.spawn("urxvt -e \"scrot -s\"") os.execute("scrot -s")
以及所有可能的组合,甚至与sleep. 也试过守护进程。 没有任何作用 =( PS 所有命令都在键绑定中,如果我替换scrot -s为scrot,则所有命令都有效,除了选择区域。
sleep
scrot -s
scrot
linux bash awesome-wm lua
awesome-wm ×1
bash ×1
linux ×1
lua ×1