double left click on text (xterm and elsewhere) questions

Robert Heller heller at deepsoft.com
Fri Dec 18 17:19:44 UTC 2020


At Fri, 18 Dec 2020 16:38:03 +0100 "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> On Thu 17 Dec 2020 at 22:35, Robert Heller wrote:
> 
> > OK, I have moved from using CentOS (4,5,6) to Ubuntu 18.04 and have things
> > *mostly* behaving the way I want.  There is still one *anoying*
> > difference:
> > the way text selection works.  When I was running CentOS, double left
> > click on
> > any text area (xterms, Firefox, etc.) it highlighted/selected a "word",
> > defined as a solid block of alphanums, with a *few* other charactors
> > (underscore, and maybe a few others).  Under Ubuntu it seems to have a
> > broader
> > definiation of "word".  Where is this defined?  What is different with
> > Ubuntu
> > from CentOS?
> >
> 
>      You should look at CharClass default, it may work to change it in your
>   .Xdefault file or in some system-wide configuration file as
>   /etc/X11/app-defaults/XTerm (you can find an example for charClass in
>   the file).

Hmmm... I have already found something interesting: my CentOS root file system 
lacks a /etc/X11/app-defaults/XTerm file and the Ubuntu one contains such a 
file, and contains a CharClass setting with a comment about double-clicking on 
a URL...  I'm guessing xterm's compiled in default is probably what I want (it 
is probably what I am used to from when I first used XTerms under DECWindows 
way back when).

> 
>           Loïc
> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                                                    




More information about the ubuntu-users mailing list