开发者

Is there a way in Linux-based operating systems to determine the source of text copied to the X clipboard?

开发者 https://www.devze.com 2023-03-14 09:09 出处:网络
Quick background info: I\'m starting to build some software that will run within Gnome- and X-based operating systems to manage clipboard contents. One of the main functions will be to record the sour

Quick background info: I'm starting to build some software that will run within Gnome- and X-based operating systems to manage clipboard contents. One of the main functions will be to record the source URL of the copied text, if the copied text comes from a browser. I know this is possible on Windows (the Clipmate app开发者_StackOverflow中文版lication does this), but I want to do this within Gnome/X.

I have a sneaking suspicion that this might not be possible, because there's no software on Gnu/Linux that comes close to matching the functionality of Clipmate. Any guidance would be greatly appreciated though.


Intercept and decode the SetSelectionOwner X message.

0

精彩评论

暂无评论...
验证码 换一张
取 消