Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

When I double-click to select text in GNOME Terminal, the selection stops at spaces but continues over hyphens:



Some of my filenames contain uncommon characters such as the heavy teardrop-spoked asterisk and are not selectable by double-clicking:

unusual characters

Is there a way to make double-click selection continue over these characters as well?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

In "Edit > Profile Preferences > General", add the character to the "Select-by-word characters" box.

share|improve this answer
Thanks, I don't know how I didn't notice that. –  ændrük Oct 20 '10 at 5:10
Has anyone found a general way to do this GNOME-wide? Or are word-boundaries up to the developers of each application to define/redefine? Related question: superuser.com/q/650240/245597 . –  Noyo Sep 26 '13 at 13:19
At least since version 3.14, this option has disappeared. How can we do it now? –  Joachim Breitner Nov 6 '14 at 10:20

A very useful default feature implemented in other terminals is the progressive selection of extended sections of a line on the screen. e.g., given

/home/username/dir1_r.2-3/dsr.filenr_34.ctr 23456677 dftrprpr

double-clicking on, say, filenr in dsr.filenr_34.ctr would progress from filenr to:

 home/username/dir1_r.2-3/dsr.filenr_34.ctr 23456677
 home/username/dir1_r.2-3/dsr.filenr_34.ctr 23456677 dftrprpr
/home/username/dir1_r.2-3/dsr.filenr_34.ctr 23456677 dftrprpr

Surrounding symmetries may be solved by adding pairs until next-level delimiter.

And of course the user should be given the option of changing defaults.

share|improve this answer
No comment on the answer but try to format it in a better way so that people understand it faster. If you want to list it step by step, use numbering. –  VedVals Dec 13 '12 at 13:53
Thank you, but I don't think this applies to my question. I'm specifically asking how to configure GNOME Terminal. –  ændrük Dec 13 '12 at 19:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.