How to make selection includes the punctuation when double click the mouse?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to make selection includes the punctuation when double click the mouse?
Hi
How to make the selected area by double clicking mouse include the punctuation? For example, I want to select the whole path like
/home/johnfei/doc/map/aaa.pdf
When I double click the mouse, it only selects a single word where my cursor is. How can I make it select the whole path when I double click the mouse?
What distro and desktop environment are you using and what precisely happens now?
You seem to imply that the selection stops at the period between the file name and extension; is that an accurate guess?
When I try it in your original post, using Debian Squeeze with Fluxbox and the Opera browser, double-clicking selects a word and stops at the forward slashes on either side of the word.
This sort of thing may be affected by many variables, including the capabilities of the specific program you are using and the GUI you are running.
For example, I want to copy the file aaa.pdf from the directory /home/johnfei/doc/map to /proj/sdram/workarea/johnfei/doc. I will do the following procedures:
1. In one console terminal window, say term_A, under the directory /home/johnfei/doc/map, I will execute command "ls" to list all the file and the file "aaa.pdf" will be shown in this window. And, the prompt is showing the current directory which is /home/johnfei/doc/map
2. I am going to do selection of the path /home/johnfei/doc/map and paste to another terminal window, say term_B. In my current environment, I have to click the left button and drag the cursor from the beginning of "/home/johnfei/doc/map" to the end to it. Then click the middle button of mouse to term_B to paste the source path to it.
But, I know, it should be able to double click on anywhere of the source string "/home/johnfei/doc/map", and the whole string will be selected. I don't need to drag the cursor from the beginning of the path string all the way to the end.
That's my question. I hope this time I have made it clear.
Thank you.
Regards,
John
Last edited by jiunyeelin; 09-15-2011 at 09:05 PM.
Now it only select a word, such as "doc" or "map", when I double clicked on any where of the whole string. It should be able to make it select the whole path string when I double click on it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.