LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cut and Pasting woos (https://www.linuxquestions.org/questions/linux-newbie-8/cut-and-pasting-woos-279231/)

dotancohen 01-18-2005 06:20 AM

Cut and Pasting woos
 
I notice that when I select text, it is automatically ´copy´ed. This is great if I´m moving the text to a location where there crrently is no text (copying text from a website into kedit, for instance), but not so great if I´m trying to replace text that currently fills the place I´m trying to paste to (address bar in opera, for instance).

What happens to me is that I copy the link or whatever, and that´s fine. Then I select the text currently in the address bar (in order to erase it so that I can paste the new text), but it replaces the current contents of the clipboard with itself.

So, in order to do the operation succesfully, I must first clear the address bar (or whatever), then copy and paste. Not a big deal, but a little clumsy in my opinion.

Is there a better way?

Dotan Cohen
http://song-lirics.com

chup 01-18-2005 07:00 AM

In Opera you have a different clipboard on ctrl-c and ctrl-v than just selecting and pressing the middle mouse button to paste (ie, if I select "foo", press ctrl-c, then select "bleh", ctrl-v will paste foo, middle mouse button will paste bleh) AFAIK. Or you can use Klipper :D
//edit: I always select urls in opera, and then press the middle mouse button to go to the url directly btw :)

Sepero 01-18-2005 08:04 AM

Re: Cut and Pasting woos
 
Quote:

Originally posted by dotancohen
I notice that when I select text, it is automatically ´copy´ed.
This was the way Unix would copy&paste back in the day. Anyway, for most applications, you should be able to do it the common way, and the Unix way. I often use both, depending on the situation.

stakhous 01-18-2005 01:52 PM

I would just double click to the link instead of highlighting it w/ the cursor, then hit del.

dotancohen 01-18-2005 03:21 PM

My real problem is when I have a link in an email that I want to open in opera. I have to copy it from kmail and then paste it into the address bar of opera. But if there is already something there then that has to be cleared away first. Yes, I know that I can open another tab, but sometimes I just want to reuse the current tab. Annoying.

Dotan

dotancohen 01-18-2005 03:23 PM

Or maybe someone knows how to change the default browser that kmail opens from Konquerer to opera? Or should I start a different thread for that? I couldn´t find anything on google or kde´s site.

Dotan

jlarsen 01-18-2005 03:53 PM

If you are Konqueror, click on the X to the left of the address bar and it clears it out.

dotancohen 01-18-2005 04:07 PM

Well thats the issue. I dont really like Konquerer. So I use opera, but i don´t know how to define it as the default browser in kmail. When I define opera as the default brower in Control Panel, it opens a new instance of opera and tries to download the files that end in .php. Any suggestions?

Dotan Cohen
english-lyrics.com

mjrich 01-18-2005 05:12 PM

To change the default browser, open up the KDE control center -> KDE Components -> Known types -> Text -> html, and change (or remove) the Konquoror entry to Opera, Firefox or whatever you wish. Add %u to the end of the filename to open a new instance of the program, e.g. under Properties -> Application -> Command, you may have something along the lines of
Code:

/home/dotancohen/firefox/firefox %u
Cheers,

mj

Sepero 01-18-2005 06:46 PM

Quote:

Originally posted by stakhous
I would just double click to the link instead of highlighting it w/ the cursor, then hit del.
The XWindow system recognizes those as the same thing, so unfortunately that would not work.

What's wrong with using, 'highlight', then right-click, "copy"; then right-click "paste"? That should work just fine.

dotancohen 01-24-2005 12:15 PM

Quote:

Originally posted by mjrich
Add %u to the end of the filename to open a new instance of the program, e.g. under Properties -> Application -> Command, you may have something along the lines of
Code:

/home/dotancohen/firefox/firefox %u

I looked in there and it is how I left it. It says
Code:

opera
I looked at opera website and tried google (but could not use google- see below) for the opposite of %u, in other words DON'T open a new instance. Is there such a command? Would it be specific to opera as I think (thats why I looked at their site), or is it a general kde argument? Is there one for ´open a new tab´? Or better yet, does anyone have a url that lists these arguments?

OT- how on earth do I do a search on google for ´%u´?!? my % doesn´t get through!!

Thanks

Dotan

mjrich 01-24-2005 01:13 PM

The %u is a firefox command. - I haven't been able to find a way to just open a new tab in an existing instance of the program. No idea about Opera, unfortunately...

Cheers,

mj

dotancohen 02-01-2005 07:31 AM

I would use Firefox if it would ALWAYS open a new tab instead of a new window. Even when a website does a popup. There was nothing related to this in the preferences section of the program, but as it is open source, maybe there is some config file that I could play with? Would anybody be able to give me any pointers? Nothing in /home/dotancohen/.mozilla/firefox/ was of any use...

Thanks

Dotan Cohen
http://English-Lyrics.com

Sepero 02-01-2005 08:23 AM

Firefox has a crap load of extentions. Check 'em out. I think you might find what you're looking for, and more.
https://addons.update.mozilla.org/ex...cation=firefox

dotancohen 03-01-2005 10:50 AM

Thanks, I found an extension that does what I need.


All times are GMT -5. The time now is 03:17 PM.