4 ms·
Does anyone have a solution to sync clipboards across: 1. The system (XServer) 2. A terminal text editor (Kakoune) 3. The same text editor on another system ove
by enricozb 5y ago
Does anyone have a solution to sync clipboards across:
1. The system (XServer)
2. A terminal text editor (Kakoune)
3. The same text editor on another system over ssh
I currently have 1 & 2 sync'd ok, but 3 is only one-way. I use the OSC 52 escape sequence (supported by my terminal) to sync a copy on 3 to 1. But I have not figured out how to sync from 1 to 3.
- glandium 5y agoAre you implying you have a solution to sync the X selection buffer and the X clipboard?
- enricozb 5y agoI might be misunderstanding you. I have a setup such that: When I yank to the "kakoune clipboard buffer" in kakoune (a terminal text editor), the X clipboard is updated (again through OSC 52). When I copy something to the X clipboard (either on chrome or some other program), the "kakoune clipboard buffer" is updated [0]. [0]: technically, the kakoune clipboard buffer updates itself from the X clipboard when it is read from.