[Thunar-dev] Clipboard management

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Jul 12 23:09:38 CEST 2005


Brian J. Tarricone wrote:
>>>I'm on the ThunarClipboardManager class right now, and wondering what 
>>>targets should be supported by Thunar.
>>>
>>>For example, Nautilus supports the x-special/gnome-copied-files and 
>>>UTF8_STRING targets, while only the further can be used for both cut and 
>>>copy. With UTF8_STRING, the clipboard content will be a plain 
>>>text/uri-list with no information about whether the data should be 
>>>copied or moved; that said, it's up to the target to decide what to do 
>>>with the uris.
>>>
>>>So, Thunar will atleast support the x-special/gnome-copied-files and 
>>>UTF8_STRING (mainly useful for pasting URIs to editors, etc.) targets.
>>>
>>>Does anybody know of other targets that would be worth to support?
> 
> 
> Why not support standard STRING as well?  Filenames are generally in the
> system encoding anyway, not UTF8.  Do all apps (that we care about)
> support UTF8_STRING?

I was more thinking along the lines of additional task specific targets.

STRING and UTF8_STRING aren't really useful here. As said, they're only 
useful for interaction with editors and even there it's unlikely that 
many users can make any use of a text/uri-list. Of the editors in use 
today, all should support UTF8_STRING anyways (if not, people should 
upgrade to a better editor).

> 	-brian

Benedikt



More information about the Thunar-dev mailing list