I have assigned the key F2 to the command
bash -c "sleep 0.1;xdotool type --clearmodifiers $(date +%Y%m%d%H%M%S)"
There is a delay of half a second (not because of the
sleep 0.1 command that should avoid the first characters to be omitted) before the command starts typing in the timestamp, even if I remove the
I need to eliminate the delay.