I'm trying to get Gnome Screenshot to take and save screenshots with one keystroke, but I've run into a problem. The command I'm using works perfectly in the terminal, but not when i bind it to a key. When I press the bound key (Print Screen in this case), nothing happens. No error, nothing.
gnome-screenshot -f "$HOME/Pictures/Screenshots/Test $(date '+%F %T').png"
I'm currently trying different tweaks to the command. Currently, I've gotten it to work by omitting the path, but the
"$(date "+%F %T")" part doesn't work properly when I do that, which puts me back where I was before. Before, it would take them with the same name and in my Home folder, causing them to be overwritten.