Rather than fiddle with the GUI program for my Yubikey, I use the ykman CLI program for TOTP authentication, because there’s always a command prompt / terminal open on the portrait monitor:
ykman oath accounts code -s ama
161413
Double-click to select the number in the terminal, then either copy-n-paste or middle-click into the target field of whatever needs convincing I am truly me, myself, and I.
I finally got a Round Tuit and piped the output into xclip to put the number into the clipboard:
ykman oath accounts code -s ama | xclip
Which lets me go directly to pasting or middle-clicking.
The command history is big enough that I now type only:
Ctrl-R ama
Which brings up the most recent version of the command, whereupon I whack Enter to execute it. Similar abbreviations extract the commands for dozen-odd companies / banks / institutions / whatever I deal with.
When I need a hint:
ykman oath accounts list
Should’a done that long ago.
For reference, a treatise on Yubikey config and usage.
Bonus! A cat:

Because SEO demands a picture.