| Summary: | Option to dump clipboard history to text file? | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Dashon <dashonwwIII> |
| Component: | Clipboard widget & pop-up | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | wishlist | CC: | dashonwwIII, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.22.2 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Dashon
2021-06-25 08:21:21 UTC
I found a way to do it after really getting into it with the tr command and reading some forums. It isn't exactly pretty, but it works. There are some prepended special characters that I can't seem to perfectly remove just yet. Here is the command that I'm using to dump the clipboard currently. It could definitely be refined a bit more: tr -cd '\11\12\15\40-\176' < /home/d-air1/.local/share/klipper/history2.lst | cut -c 10- | sed 's/string/\n /g' | cut -c 2- | sed 's/[(*&$.,: "]//' *** This bug has been marked as a duplicate of bug 307792 *** |