Copied something on Linux, closed the app, and the paste came up empty?
It's not a bug. On X11 the clipboard holds no data, only a promise. The app you copied from keeps the content and hands it over when you paste. Close the app and the promise goes with it.
A few xclip one-liners that help on X11 (Xfce, MATE, Cinnamon, any Xorg session)
2) The same line strips formatting, so it doubles as "paste as plain text" for rich text from a browser or office app.
3) See every format an app offered (HTML, PNG, file lists and more)
`xclip -selection clipboard -t TARGETS -o`
4) Linux has two clipboards. Selecting text fills PRIMARY (middle-click pastes it), Ctrl+C fills CLIPBOARD. Read the selection without touching your clipboard
`xclip -selection primary -o`
5) If you use a clipboard manager, make sure it respects x-kde-passwordManagerHint. KeePassXC sets it so passwords stay out of your history. Run the TARGETS command right after copying a password to see it.
On Wayland it works differently. Use wl-copy and wl-paste from wl-clipboard.
I got tired of doing this by hand, so I wrapped it into SuperV, a free, open-source Win+V-style clipboard history for X11. It does pins, images, paste as plain text, and skips passwords. github.com/MilanG-Ne/superv
I built AskDocs: a chatbot that answers questions from your documents and cites the exact page each answer came from. If the documents don't cover a question, it says so instead of guessing.
Under the hood: hybrid search (MiniLM embeddings + BM25) with a cross-encoder reranker, streaming answers and a FastAPI backend. Feedback welcome!
Live demo: https://huggingface.co/spaces/24f2006816/askdocs
Code: https://github.com/24f2006816/askdocs
Saying "the documents don't cover this" instead of guessing is the part I care about most. My RAG demo does the same: it answers only from the shop guide, with a keyword search (BM25) and a minimum score, and passes the question to a person when nothing matches. How does AskDocs...