You are not logged in.
Seems that primary selection stopped working in the span of last few days. Earlier i was able to select text in one app and paste it into another via middle mouse button. Now this is not the case.
Tried sselp to display selection, nothing gets printed. X11 issue?
The strangest thing is it all happened without even updating the system. I noticed this on both my home & work stations. Does anyone else experience it as well?
I'm running X11 and openbox.
Offline
sselp doesn't monitor the selection but prints the current one, it might have been cleared.
The most likely explanations are some scripts involving xsel/xclip etc or some actual clipboard manager (like eg. clipman)
Get https://archlinux.org/packages/extra/x86_64/clipnotify/ and run "clipnotify -s primary", then select some text, clipnotify should™ terminate in response.
Online
You are right, clipnotify terminated immediately.
I forgot to mention - i do not recall installing any selection related tools, clipboard managers or adding scripts. Also haven't been experimenting with wayland. My home env is now up to date, and my work env is from May this year. And i'm sure primary selection was working in the meantime.
Offline
Does it matter what the source / destination programs are? Specifically, have you tested in copying from and to two different terminals with no other client windows open? Are the results of this different between a terminal and a browser?
Last edited by Trilby (2024-09-20 16:07:11)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I removed everything from openbox autostart and xinitrc and tested copying between same apps and different apps (both directions, also from the implementation point of view like gtk2, gtk3, qt5, vanilla). Nothing works. I tried urxvt, leafpad, cherrytree, chromium, vlc.
Offline
but pasting via shift+insert works...
Offline
but pasting via shift+insert works...
scratch that
Offline
this is strange and confused me as i noticed that i was able to paste selection via shift+insert, then it stopped working, and now it is working again. I do not know what has changed. Searching for patterns...
Offline
shift+ins will typically™ paste the clipboard.
echo clipboard | xsel -ib
echo primary | xsel -ip
echo secondary | xsel -is
But there's obviously something fucking around w/ your selection buffer.
ps fax
Online