gnome-clipboard-daemon
Alexander Skwar
listen at alexander.skwar.name
Sat Jul 8 06:18:26 UTC 2006
Carl Karsten schrieb:
> Alexander Skwar wrote:
>> Carl Karsten schrieb:
>>> Alexander Skwar wrote:
>>>> Carl Karsten schrieb:
>>> What I am really trying to do is get text from stdout into an email
>>> (like this one) using something like xclip.
>>
>> Ah! See, it always helps to describe your problem :)
>>
>> To do something like this, I sometimes use xsel from
>> <http://www.vergenet.net/~conrad/software/xsel/>, which you can find
>> in Universe.
>
> At least on my test box, xsel doesn't seem to use the same clipboard that gedit
> uses, which I am guessing means it won't help me get text into Thunderbird or
> Open Office.
On mine, it does, as long as it's told to do so. By default, xsel
operates on the PRIMARY selection. That's *NOT* the selection
Gnome uses, when it operates on the clipboard. The Gnome clibpoard
operates on the CLIPBOARD selection.
What I do is, that I pipe a text to xsel and give xsel the options
that it should read from standard input and should operate on the
clipboard selection. Works fine.
>>> you can also see this with gnome-terminal, vi - Shift+Insert and right
>>> click + paste have different clipboards.
>>
>> Depends on what you do. In gnome-terminal, when I *select* a text and then
>> hit <Shift>+<Ctrl>+<c> (or Edit -> Copy), I can then <shift>+<insert>
>> the text in gvim. In vim under Gnome Terminal, <shift>+<insert> doesn't
>> do anything for me - maybe, because I disabled the key shortcuts.
>
> where/how did you disable them?
Edit -> Keyboard Shortcuts
Alexander Skwar
--
Vaterland nennt der Staat immer dann, wenn er sich anschickt, auf
Menschenmord auszugehen.
-- Friedrich Dürrenmatt (Romulus der Große)
More information about the ubuntu-users
mailing list