Hotkey for inter-qube copy pasting

Hello!
I need to create two hotkeys.
Hotkey 1:
Ctrl+A (select all)
Ctrl+C (copy)
Ctrl+Shift+C (inter-copy)
Hotkey 2:
Ctrl+Shift+V (inter-paste)
Ctrl+V (paste)
I tried the autohotkey package installed in dom0. Ctrl+A, Ctrl+C, Ctrl+V work. However, Ctrl+Shift+C and Ctrl+Shift+V do not.
Is there any way to make this work?
Thank you in advance.

I cannot guarantee success with this suggestion as I have not tried to automate the global clipboard keybindings in Qubes before, but have you considered using xbindkeys and xdotool? Both are available for install in dom0. Those two tools have worked well for me.

edit: Also, welcome to the Qubes forum!

Thank you for the suggestion. I tried getting xbindkeys and xdotool to work but it seems broken. Initially, I was able to start new terminals xfce4-terminal using a hotkey. Then I moved to xdotool and created a ctrl+l hotkey. It worked once but never again. The xfce4-terminal hotkey stopped working, even after removing the ctrl+l hotkey. I did restart xbindkeys after every step. I don’t know.

Perhaps one issue is that the key focus is changing on these keypress
chains - e.g:
Hotkey 1:
Ctrl+A (select all) FOCUS IN QUBE
Ctrl+C (copy) FOCUS IN QUBE
Ctrl+Shift+C (inter-copy) FOCUS IN DOM0

But Hotkey1 applies in dom0