xwindow的剪贴板机制
谁能给我解释一下xwindow剪贴板的机制吗? 例如,如果我进行从 gedit 打开文件并使用 ctrl+c 复制该文件内容的操作。然后我打开 vim 并使用 ctrl+v 将内容粘贴到新打开的文件中。我知道它会使用xwindow的缓冲区来存储内容。但我很好奇它在系统层面是如何工作的。更具体地说,底层 Linux 内核需要如何处理这种复制粘贴操作?是否有与此操作相关的系统调用? 谢谢
Can anybody explain the mechanism of clipboard of xwindow to me?
For example, if I make a operation of open a file from gedit and copy the content of this file using ctrl+c. And then I open vim and use ctrl+v to paste the content into the new opened file. I know that it will use the buffer of xwindow to store the content. But I am curious how it works in the system level. More specifically, how the underlying linux kernel needs to do to handle this copy-paste operation? Is there any system call related to this operation?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有关 X 选择但又不敢询问的所有信息 。
Everything you could possibly want to know about X selections but were afraid to ask.