2010-03-01

xclip on Ubuntu

In an earlier post (Shell tidbits) I gave a script that uses xclip to send the clipboard into a temporary file, edit it in a text editor like gvim, and then put the new contents back into the clipboard when the text editor is closed. Unfortunately, Ubuntu supplies xclip-0.08-8, which doesn't have proper UTF-8 support. This was causing weird artifacts in my e-mails. The issue dissappears completely if you install xclip from the source package available on its SourceForge homepage.

No comments:

Post a Comment