You are not logged in.
I've noticed that whenever I copy something from an application, then close it, my clipboard gets wiped. It seems this is an intended feature, but I can achieve desired functionality with the use of a clipboard manager. However, the ones I found are archived on github, or just not working, so does anyone know anything that just simply works for this purpose and is easy to set up?
Last edited by illegalcoding (2023-09-24 14:47:24)
Offline
Also, i'm running KDE under Wayland if that helps.
Offline
https://wiki.archlinux.org/title/Clipboard#Tools
https://wiki.archlinux.org/title/Clipboard#Managers
If this is for X11, I always used xsel, but xclip is common too.
Last edited by Trilby (2023-09-23 18:05:00)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
It's not X11, I'm running Wayland. I should have included it in the original post, sorry! I did make a comment right afterwards, but I guess maybe you clicked just before and it didn't show it?
Offline
Looks like you're down to https://aur.archlinux.org/packages/clipmon-git if your wayland DE doesn't provide this - was it among
the ones I found
Offline
I did briefly see it on the list on the wiki, but since it said it's a clipboard monitor, I kind of glossed over it. Checking the sourcehut page it seems it does have the functionality i'm looking for though. I installed it but it doesn't seem to provide a "clipmon" binary anywhere, so I'm not sure how to activate it? I thought it might be like dunst, where it automatically activates itself through d-bus but it doesn't seem to be running at all when I run `ps axu | grep -i clipmon`. I even tried a full reboot, but that didn't seem to help. The sourcehut page doesn't seem to have any instructions either.
It also seems that KDE does somewhat provide this functionality, but only between it's own apps. If I copy something from Konsole, close Konsole, then paste it into chromium, it works; but not the other way around. Same with dolphin.
Offline
@install -Dm755 target/release/clipmon ${DESTDIR}${PREFIX}/lib/clipmon
@install -Dm644 clipmon.service ${DESTDIR}${PREFIX}/lib/systemd/user/clipmon.service
Offline
Ran `systemctl --user enable --now clipmon`, and it seems to work now!
Offline