I would like to add a keyboard shortcut using sxhkd let me select a region of my desktop to screenshot using scrot. This should be accomplished by adding this section to my sxhkd file,
ctrl + alt + x
scrot --select
but this doesn't work. The command scrot --select works fine when issued from a terminal, and this keyboard shortcut works fine if I change --select to something non-interactive like --focused, so I'm not sure why the above sxhkd entry is not working, but I suspect that it has to do with --select being interactive. Why doesn't this work?