public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  keyboard copy paste
@ 2009-08-30 16:13 Harry Putnam
  2009-08-30 16:32 ` Frank Steinmetzger
  2009-08-31 21:18 ` [gentoo-user] " Mike Kazantsev
  0 siblings, 2 replies; 9+ messages in thread
From: Harry Putnam @ 2009-08-30 16:13 UTC (permalink / raw
  To: gentoo-user

How can I copy and paste with the keybard between application windows.
I think I remember knowing how to do this at some time in the past but
now just coming up blank as to how.

I want to copy something in Emacs... ok .. no problem.. there are many
ways with keyboard inside emacs.

Now I want to paste whats on the clipboard into an Xterm cmd line,
without going to the mouse.

I'm running recent Xfce4 desktop... but not finding a way to do this.

Can I just steal whatever events happen when middle click on three
button mouse and put them into a keyboard shortcut?

How might I do that?






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user]  keyboard copy paste
  2009-08-30 16:13 [gentoo-user] keyboard copy paste Harry Putnam
@ 2009-08-30 16:32 ` Frank Steinmetzger
  2009-08-30 17:20   ` [gentoo-user] " Harry Putnam
  2009-08-31 21:18 ` [gentoo-user] " Mike Kazantsev
  1 sibling, 1 reply; 9+ messages in thread
From: Frank Steinmetzger @ 2009-08-30 16:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

Am Sonntag, 30. August 2009 schrieb Harry Putnam:

> Now I want to paste whats on the clipboard into an Xterm cmd line,
> without going to the mouse.
>
> I'm running recent Xfce4 desktop... but not finding a way to do this.
>
> Can I just steal whatever events happen when middle click on three
> button mouse and put them into a keyboard shortcut?
>
> How might I do that?

Pasting into an xterm or one of its clones can be done by Shift+Ins.
-- 
Gruß | Greetings | Qapla'
American beer is like having sex in a boat: fucking close to water.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user]  Re: keyboard copy paste
  2009-08-30 16:32 ` Frank Steinmetzger
@ 2009-08-30 17:20   ` Harry Putnam
  2009-08-30 17:24     ` Jesús Guerrero
  0 siblings, 1 reply; 9+ messages in thread
From: Harry Putnam @ 2009-08-30 17:20 UTC (permalink / raw
  To: gentoo-user

Frank Steinmetzger <Warp_7@gmx.de> writes:

> Am Sonntag, 30. August 2009 schrieb Harry Putnam:
>
>> Now I want to paste whats on the clipboard into an Xterm cmd line,
>> without going to the mouse.
>>
>> I'm running recent Xfce4 desktop... but not finding a way to do this.
>>
>> Can I just steal whatever events happen when middle click on three
>> button mouse and put them into a keyboard shortcut?
>>
>> How might I do that?
>
> Pasting into an xterm or one of its clones can be done by Shift+Ins.

Haa... yes nice...

How about a way to activate a hyperlink from keyboard?

I have a list of videos that are displayed as hyperlinks on a web
page.

<Tab> will navigate to next and <shift><tab> to previous link and I see
they are selected... but I find no keyboard action that does whatever
a mouse click does to hyperlinks... 

I thought either <spc> or <enter> but neither of those activate the
links. Also tried quite a few other keyboard combos, but never did
find one that activates a hyperlink like a mouse click does.

Thanks for the paste combo!




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user]  Re: keyboard copy paste
  2009-08-30 17:20   ` [gentoo-user] " Harry Putnam
@ 2009-08-30 17:24     ` Jesús Guerrero
  2009-08-30 17:52       ` Harry Putnam
  0 siblings, 1 reply; 9+ messages in thread
From: Jesús Guerrero @ 2009-08-30 17:24 UTC (permalink / raw
  To: gentoo-user


On Sun, August 30, 2009 19:20, Harry Putnam wrote:
> Frank Steinmetzger <Warp_7@gmx.de> writes:
>
>
>> Am Sonntag, 30. August 2009 schrieb Harry Putnam:
>>
>>
>>> Now I want to paste whats on the clipboard into an Xterm cmd line,
>>> without going to the mouse.
>>>
>>> I'm running recent Xfce4 desktop... but not finding a way to do this.
>>>
>>>
>>> Can I just steal whatever events happen when middle click on three
>>> button mouse and put them into a keyboard shortcut?
>>>
>>> How might I do that?
>>>
>>
>> Pasting into an xterm or one of its clones can be done by Shift+Ins.
>>
>
> Haa... yes nice...
>
>
> How about a way to activate a hyperlink from keyboard?
>
>
> I have a list of videos that are displayed as hyperlinks on a web
> page.
>
> <Tab> will navigate to next and <shift><tab> to previous link and I see
> they are selected... but I find no keyboard action that does whatever a
> mouse click does to hyperlinks...[/quote]

That entirely depends on the browser you use. But usually it's enter
once you have the link selected. At least, that works on firefox
and seamonkey. I seem to remember the same holds true for konqueror,
not sure.

>
> I thought either <spc> or <enter> but neither of those activate the
> links. Also tried quite a few other keyboard combos, but never did find one
> that activates a hyperlink like a mouse click does.

If that doesn't work, then let us know which browser do you use.

-- 
Jesús Guerrero




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user]  Re: keyboard copy paste
  2009-08-30 17:24     ` Jesús Guerrero
@ 2009-08-30 17:52       ` Harry Putnam
  2009-08-30 18:14         ` Jesús Guerrero
  0 siblings, 1 reply; 9+ messages in thread
From: Harry Putnam @ 2009-08-30 17:52 UTC (permalink / raw
  To: gentoo-user

Jesús Guerrero <i92guboj@terra.es> writes:

[...]

>> <Tab> will navigate to next and <shift><tab> to previous link and I see
>> they are selected... but I find no keyboard action that does whatever a
>> mouse click does to hyperlinks...[/quote]
>
> That entirely depends on the browser you use. But usually it's enter
> once you have the link selected. At least, that works on firefox
> and seamonkey. I seem to remember the same holds true for konqueror,
> not sure.
>
>>
>> I thought either <spc> or <enter> but neither of those activate the
>> links. Also tried quite a few other keyboard combos, but never did find one
>> that activates a hyperlink like a mouse click does.
>
> If that doesn't work, then let us know which browser do you use.

Yes sorry.  I use firefox-3.5.1 and I also thought <enter> should
activate a hperlink.

I use Xfce4 desktop and and the default/linux/x86/2008.0 profile

I did look at the keyboard shortcuts listed in firefox help file but
none of them appears to be for activating a hyperlink.

If your enter key activates hyperlinks, please try some of the links
here:
  http://www.lynda.com/home/ViewCourses.aspx?lpk0=391

And let me know if it works there for you.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user]  Re: keyboard copy paste
  2009-08-30 17:52       ` Harry Putnam
@ 2009-08-30 18:14         ` Jesús Guerrero
  2009-08-30 18:40           ` Harry Putnam
  0 siblings, 1 reply; 9+ messages in thread
From: Jesús Guerrero @ 2009-08-30 18:14 UTC (permalink / raw
  To: gentoo-user


On Sun, August 30, 2009 19:52, Harry Putnam wrote:
> Jesús Guerrero <i92guboj@terra.es> writes:
>
>
> [...]
>
>
>>> <Tab> will navigate to next and <shift><tab> to previous link and I
>>> see they are selected... but I find no keyboard action that does
>>> whatever a mouse click does to hyperlinks...[/quote]
>>
>> That entirely depends on the browser you use. But usually it's enter
>> once you have the link selected. At least, that works on firefox and
>> seamonkey. I seem to remember the same holds true for konqueror, not
>> sure.
>>
>>>
>>> I thought either <spc> or <enter> but neither of those activate the
>>> links. Also tried quite a few other keyboard combos, but never did
>>> find one that activates a hyperlink like a mouse click does.
>>
>> If that doesn't work, then let us know which browser do you use.
>>
>
> Yes sorry.  I use firefox-3.5.1 and I also thought <enter> should
> activate a hperlink.

I don't know what your problem might be then.

If you select a link with tab, just pressing enter should be enough
to open it.

An alternate method is to directly type part of the link, firefox
will select matches (you don't have to press any key combo to open
the search box or anything, it's automatic as you start typing). Once
you have typed enough characters and the selection is -hopefully-
over the link, just press enter. This method can be a bit tricky
sometimes. You might need to click the background on the area containing
the links or tab somewhere near the link to be able to use it.

Yet a third method would be to use the search feature. Control+f, then
type part of the name, once the link is -partly- selected, press ESC
(important, to close the search bar) then enter to activate the selected
link.

> If your enter key activates hyperlinks, please try some of the links
> here:
> http://www.lynda.com/home/ViewCourses.aspx?lpk0=391

As far as I can tell, they work fine in both firefox and seamonkey.


-- 
Jesús Guerrero




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user]  Re: keyboard copy paste
  2009-08-30 18:14         ` Jesús Guerrero
@ 2009-08-30 18:40           ` Harry Putnam
  2009-08-30 19:01             ` Jesús Guerrero
  0 siblings, 1 reply; 9+ messages in thread
From: Harry Putnam @ 2009-08-30 18:40 UTC (permalink / raw
  To: gentoo-user

Jesús Guerrero <i92guboj@terra.es> writes:

> On Sun, August 30, 2009 19:52, Harry Putnam wrote:
>> Jesús Guerrero <i92guboj@terra.es> writes:
>>
>>
>> [...]
>>
>>
>>>> <Tab> will navigate to next and <shift><tab> to previous link and I
>>>> see they are selected... but I find no keyboard action that does
>>>> whatever a mouse click does to hyperlinks...[/quote]
>>>
>>> That entirely depends on the browser you use. But usually it's enter
>>> once you have the link selected. At least, that works on firefox and
>>> seamonkey. I seem to remember the same holds true for konqueror, not
>>> sure.
>>>
>>>>
>>>> I thought either <spc> or <enter> but neither of those activate the
>>>> links. Also tried quite a few other keyboard combos, but never did
>>>> find one that activates a hyperlink like a mouse click does.
>>>
>>> If that doesn't work, then let us know which browser do you use.
>>>
>>
>> Yes sorry.  I use firefox-3.5.1 and I also thought <enter> should
>> activate a hperlink.
>
> I don't know what your problem might be then.
>
> If you select a link with tab, just pressing enter should be enough
> to open it.
>
> An alternate method is to directly type part of the link, firefox
> will select matches (you don't have to press any key combo to open
> the search box or anything, it's automatic as you start typing). Once
> you have typed enough characters and the selection is -hopefully-
> over the link, just press enter. This method can be a bit tricky
> sometimes. You might need to click the background on the area containing
> the links or tab somewhere near the link to be able to use it.
>
> Yet a third method would be to use the search feature. Control+f, then
> type part of the name, once the link is -partly- selected, press ESC
> (important, to close the search bar) then enter to activate the selected
> link.
>
>> If your enter key activates hyperlinks, please try some of the links
>> here:
>> http://www.lynda.com/home/ViewCourses.aspx?lpk0=391
>
> As far as I can tell, they work fine in both firefox and seamonkey.

This is beginning to seem very strange... My firefox browser follows
all the things you laid out above on any other site.

It has to be something to do with me being logged into that account.

Logging out doesn't change it either... what happens is the first
keystroke I do after arriving at the home page, causes me to be logged
in again and then the links will not activate with <enter>

It has to be something done with javascript to intercept the event of
pressing <enter> and disabling or redirecting it.

There are dozens of routines in javascript and AJAX that intercept
keyboard and mouse events... and use them to display something helpful
like a preview of the page the hyperlink leads to or that sort of
thing.

So I'm guessing its either being done purposely for some reason or is
a side effect of some other javascript code.

Thanks for the time and help.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user]  Re: keyboard copy paste
  2009-08-30 18:40           ` Harry Putnam
@ 2009-08-30 19:01             ` Jesús Guerrero
  0 siblings, 0 replies; 9+ messages in thread
From: Jesús Guerrero @ 2009-08-30 19:01 UTC (permalink / raw
  To: gentoo-user

> It has to be something done with javascript to intercept the event of
> pressing <enter> and disabling or redirecting it.
>
> There are dozens of routines in javascript and AJAX that intercept
> keyboard and mouse events... and use them to display something helpful like
> a preview of the page the hyperlink leads to or that sort of thing.
>
> So I'm guessing its either being done purposely for some reason or is
> a side effect of some other javascript code.

That would make sense. Firefox has no easy way to handle that, other
than disabling javascript of course, which would pretty much kill the
site if it relies too heavily on javascript.

> Thanks for the time and help.

You are welcome.
-- 
Jesús Guerrero




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user]  keyboard copy paste
  2009-08-30 16:13 [gentoo-user] keyboard copy paste Harry Putnam
  2009-08-30 16:32 ` Frank Steinmetzger
@ 2009-08-31 21:18 ` Mike Kazantsev
  1 sibling, 0 replies; 9+ messages in thread
From: Mike Kazantsev @ 2009-08-31 21:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

On Sun, 30 Aug 2009 11:13:02 -0500
Harry Putnam <reader@newsguy.com> wrote:

> Now I want to paste whats on the clipboard into an Xterm cmd line,
> without going to the mouse.
> 
> I'm running recent Xfce4 desktop... but not finding a way to do this.
> 
> Can I just steal whatever events happen when middle click on three
> button mouse and put them into a keyboard shortcut?
> 
> How might I do that?

Shift+Ins is indeed a way, but not applicable in some cases (like
pasting into x-only app, say, field in a browser) and 'middle-mouse'
buffer is quite volatile, so I have a shortcut in wm (on Super+V)
which does this:

  xclip -out -selection primary | xclip -in -selection clipboard

After that, Ctrl+V will insert 'middle-mouse' stuff into any app.

Same xclip app is a great way to avoid the mouse (or touchpad) in many
cases, especially to copy-paste long command outputs - you just pipe it
into xclip (or it's alias w/ appropriate buffer pre-set) and paste where
it's needed.

-- 
Mike Kazantsev // fraggod.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-08-31 16:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-30 16:13 [gentoo-user] keyboard copy paste Harry Putnam
2009-08-30 16:32 ` Frank Steinmetzger
2009-08-30 17:20   ` [gentoo-user] " Harry Putnam
2009-08-30 17:24     ` Jesús Guerrero
2009-08-30 17:52       ` Harry Putnam
2009-08-30 18:14         ` Jesús Guerrero
2009-08-30 18:40           ` Harry Putnam
2009-08-30 19:01             ` Jesús Guerrero
2009-08-31 21:18 ` [gentoo-user] " Mike Kazantsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox