[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Command line access to X cut buffer?



On Sat, Mar 30, 2002 at 10:00:21AM -0500, Paul Smith wrote:
> I have a bunch of tools (FvwmButton setup, etc.) that want to grab the
> contents of the X cut buffer and use it to invoke programs, etc.
> 
> For example, if I select a hostname and click mouse-2 on a button in my
> FvwmButtons, I want to start an rxvt which logs into that host:
> 
>     rxvt -e ssh `<display-cut-buffer-contents>`
> 
> or whatever.
> 
> The only command-line tool I've been able to find that will retrieve the
> value of the cut buffer and display it to stdout is wxpaste, which comes
> wmaker.  Nothing against wmaker, but I don't use it and I'd prefer to
> not have to install it.  Are there other alternatives for a tool like
> this?

Google for googlizer and (separately) for openit. Googlizer was written
by Alan Cox; openit shares most of the code.

You can probably hack exactly what you want out of that.

-dsr-


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: