gnome-terminal & select by word characters

Ahmad Samir ahmadsamir3891 at gmail.com
Mon Jun 15 15:48:02 UTC 2015


On 15 June 2015 at 15:48, Stephen Berg (Contractor)
<stephen.berg.ctr at nrlssc.navy.mil> wrote:
> After reinstalling with F22 a double click in gnome-terminal is behaving
> differently.
>
> Before if I double clicked on an NFS share such as "servername:/export/data"
> the entire string would be selected.
>
> After the reinstall I only get "servername" or "/export/data" highlighted
> for copying or pasting.
>
> I found a couple of references to changing the list of characters in "Select
> by word characters" but that option does not show up as a profile option.  I
> further found one piece of advise that it's a hidden setting in dconf, but
> when I looked for it in dconf-editor I couldn't find it.
>
> Is it possible to change the behavior back so that a colon character is
> considered part of the word?
>
> Another undesirable effect this is having:
>
> In terminal if I run "dnf info gnome-terminal" and try double clicking on
> the URL line I can highlight "http" or "//www.gnome.org/" but not the whole
> URL.  But moving the mouse over the URL it does underline the entire URL and
> let you right click and Open Link.
>

>From this gnome bug report[1], you can modify that setting using a
command like this, as user:

$ dconf write /org/gnome/terminal/legacy/profiles:/:${Profile_ID}/word-char-exceptions
'@ms "-,.;/?%&#_=+@~ยท:"'

I added : at the end of the string.

To get the ${Profile_ID}:
$ gsettings get org.gnome.Terminal.ProfilesList list
['b1dcc9dd-5262-4d8d-a863-c897e6d979b9']
so it's b1dcc9dd-5262-4d8d-a863-c897e6d979b9 on my box.


[1] https://bugzilla.gnome.org/show_bug.cgi?id=730632#c33

-- 
Ahmad Samir


More information about the users mailing list