Not setting or reading from clipboard #14

Closed
opened 2026-06-21 04:24:14 +00:00 by akinus · 3 comments
Owner

I tried this test:

❯ echo "This is the wrong text" | wl-copy

~
❯ akclip set "$(echo "This is the right text")"
Clipboard set successfully

~
❯ This is the wrong text
bash: This: command not found

~
❯ akclip get
Error reading clipboard: Failed to get clipboard content: The clipboard contents were not available in the requested format or the clipboard is empty.

~

It is not interacting with the clipboard at all. As you can see here, wl-copy works on my particular machine. But the point of this program is to work on any machine, and over tunneled connections like ssh.

I want my clipboard to be populated with text from the terminal as if I was hitting "Ctrl + Shift + C" or "Ctrl + Shift + V" for pasting.

I tried this test: ❯ echo "This is the wrong text" | wl-copy ~ ❯ akclip set "$(echo "This is the right text")" Clipboard set successfully ~ ❯ This is the wrong text bash: This: command not found ~ ❯ akclip get Error reading clipboard: Failed to get clipboard content: The clipboard contents were not available in the requested format or the clipboard is empty. ~ ❯ It is not interacting with the clipboard at all. As you can see here, wl-copy works on my particular machine. But the point of this program is to work on any machine, and over tunneled connections like ssh. I want my clipboard to be populated with text from the terminal as if I was hitting "Ctrl + Shift + C" or "Ctrl + Shift + V" for pasting.
Author
Owner

🐛 AI bug fix started. Branch: fix/issue-14

🐛 AI bug fix started. Branch: `fix/issue-14`
akinus referenced this issue from a commit 2026-06-21 04:25:40 +00:00
Author
Owner

🐛 AI bug fix started. Branch: fix/issue-14

🐛 AI bug fix started. Branch: `fix/issue-14`
akinus referenced this issue from a commit 2026-06-21 04:27:54 +00:00

PR merged successfully! Branch fix/issue-14 has been deleted, and this issue is now closed.

✅ PR merged successfully! Branch `fix/issue-14` has been deleted, and this issue is now closed.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
akinus/akclip#14
No description provided.