On Sat, Aug 13, 2005 at 12:43:34AM +0800, Qiangning Hong wrote:
> Uwe Thiem wrote:
> > On 12 August 2005 16:53, Qiangning Hong wrote:
> >
> >>Do you know how to copy the content of a file to the X clipboard using
> >>command? Every time now I need to paste a file into my email, I have to
> >>cat it in a terminal and use mouse to select the text. Is there a more
> >>convenient way?
> >
> >
> > Depends on your mailer. In KDE's kmail, I just click Message -> Insert
> > File.
> > Since you are using Thunderbird, I am pretty sure it offers something
> > similar.
>
> Do you means there isn't an X or desktop environment level utility?
> What if I want to paste the content of a file in other places, i.e. fill
> a textarea in web browser?
>
If you run KDE, you can probably use some incantation magic with
klipper and DCOP.
Otherwise, try xcut or xclip
[12:59 PM]wwong ~ $ emerge search xcut xclip
Searching...
[ Results for search key : xcut ]
[ Applications found : 1 ]
* x11-misc/xcut
Latest version available: 0.2
Latest version installed: [ Not Installed ]
Size of downloaded files: 10 kB
Homepage: http://xcut.sourceforge.net
Description: Commandline tool to manipulate the X11 cut and paste buffers
License: GPL-2
Searching...
[ Results for search key : xclip ]
[ Applications found : 2 ]
* x11-apps/xclipboard [ Masked ]
Latest version available: 0.99.0
Latest version installed: [ Not Installed ]
Size of downloaded files: 58 kB
Homepage: http://xorg.freedesktop.org/
Description: X.Org xclipboard application
License: X11
* x11-misc/xclip
Latest version available: 0.08
Latest version installed: [ Not Installed ]
Size of downloaded files: 27 kB
Homepage: http://people.debian.org/~kims/xclip/
Description: Command-line utility to read data from standard in and place
it in an X selection for pasting into X applications.
License: GPL-2
HTH,
W
--
If I could reach up an pick one star for everytime you've made me smile, the
whole evening sky would be in the palm of my hand.
Sortir en Pantoufles: up 20:00
--
[email protected] mailing list