{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreig3xfvyphduhddlmt2frzxk6o2642tfpuwv4vcyxhxlkpghnow7qu",
    "uri": "at://did:plc:fuaxi56ej27ymlesklypt3ar/app.bsky.feed.post/3mfnzeqz2bfv2"
  },
  "coverImage": {
    "$type": "blob",
    "ref": {
      "$link": "bafkreicujfbtznfd7i3gutwobs3dlthpamsgvxspokxbu7eh36xw6wpkgm"
    },
    "mimeType": "image/png",
    "size": 141290
  },
  "description": "Use AutoKey send_keys() to put clipboard content places where it can't normally be put",
  "path": "/insert-clipboard-content-in-places-that-do-not-allow-pasting-with-send-keys/",
  "publishedAt": "2026-02-25T06:08:31.000Z",
  "site": "https://www.autodidacts.io",
  "tags": [
    "100DaysToOffload",
    "View more posts in this series.",
    "my KOReader Wallabag plugin patch",
    "AutoKey"
  ],
  "textContent": "****Note:**** this post is part of #100DaysToOffload, a challenge to publish 100 posts in 365 days. These posts are generally shorter and less polished than our normal posts; expect typos and unfiltered thoughts! View more posts in this series.\n\n\n\n\nToday I was trying to run an AppImage in a firejail sandbox, to debug the issue that is currently blocking my KOReader Wallabag plugin patch.\n\nIn the process, I had to paste API keys that were too long to reliably type, and I couldn’t paste into the AppImage with the normal methods.\n\nIt turns out you _can_ (duh) paste with a long press, just like on an e-reader. But this is so wildly unintuitive on desktop that I didn’t think of it at the time.\n\nInstead, I wrote a two-line Python AutoKey script, bound to a keybinding (Ctrl+Alt+Shift+Super+k, because all the good keybindings are already taken).\n\n\n    cb = clipboard.get_clipboard()\n    keyboard.send_keys(cb)\n\n\nThis gets the current clipboard content, and emits it as if it was being typed. Simple, and effective.\n\nI’ve run into places where I can type but can’t paste before, so although there was a simpler solution in this particular case, the snippet might be useful in other circumstances.",
  "title": "Paste clipboard contents in places where you can’t paste",
  "updatedAt": "2026-02-25T06:11:34.895Z"
}