Re: [dwm] [dclip] dmenu-based clipboard manager

From: Ian Daniher <it.daniher_AT_gmail.com>
Date: Tue, 30 Dec 2008 10:08:14 -0500

Thanks!
This tool is almost exactly what I've been looking for - a low-overhead
clipboard manager that could be used with non-gtk software.
One edit which I made to the code is I added an

if [ -a $HOME/.dclip_cache ]
then
    touch $HOME/.dclip_cache
fi

to the beginning of the script, allowing for me to wantonly remove the
.dclip_cache file to clear my clipboard.
Upon running the script the first time, I got an error complaining of the
cache file not existing. That edit would fix that error.

Best,

-- 
Ian Daniher
2008/12/29 bill lam <cbill.lam_AT_gmail.com>
> On Mon, 29 Dec 2008, Delta wrote:
> > I usually use ISO-8859-15 character encoding on my system. I have tried
> with UTF-8 and also there was no problem, so let me try to delimit the
> problem:
> > Can you see your selection OK in the ~/.dclip_cache file after the M+C+c?
>
> No. it became ?????
>
> > Do you see weird characters only on shift+ins?
>
> all: dclip_cache, dmenu bar, shift+ins
>
> > Does this garbage appear anywhere you paste the clipboard content?
>
> vim, screen, xterm
>
> 1. dclip use latin-1 encoding, even I converted it to utf8, the
>   problem persisted.
> 2. my signature contains chinese characters in utf8, can use see them
>   or just some garbage (??????).  You may try it as sample text.
> 3. the dmenu should use fonts that display unicode, I put this into
>   config.h
>
> static const char font[] =
> "-*-fixed-medium-r-normal-*-14-*-*-*-*-*-*-*,-*-ukai-*-r-normal--*-*-*-*-*-*";
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> 唐詩110 杜甫  天末懷李白
>    涼風起天末  君子意如何  鴻雁幾時到  江湖秋水多
>    文章憎命達  魑魅喜人過  應共冤魂語  投詩贈汨羅
>
>
Received on Tue Dec 30 2008 - 15:08:14 UTC

This archive was generated by hypermail 2.2.0 : Tue Dec 30 2008 - 15:12:04 UTC