Quite specific, isn't it? You can achieve this at the DE level by using something like xdotool and an application shortcut (see Xfce Settings -> Keyboard).
For example, this command works for me:
sh -c'xdotool sleep 0.5 type "$(date "+%Y-%m-%d %H:%M:%S")"'
If such a thing were ever to be added to Mousepad, I think it would be in a plugin.
I tried compiling the main.c file. But I got this error:
main.c:17:10: fatal error: mousepad/mousepad-private.h: No such file or directory
17 | #include <mousepad/mousepad-private.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Also, it says that LC_ALL, GETTEXT_PACKAGE and PACKAGE_LOCALE_DIR are not defined. Can you please let me know what is wrong?
I couldn't find the answer anywhere.
Thanks in advance.
The build procedure is indicated in the README. Then you may have some dependency problems to solve as you go along. Please do some research on the web for that: this is basic knowledge you need to acquire to build any project, and it depends partly on the distribution you are using.