gnome-terminal & select by word characters

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gnome-terminal & select by word characters

Stephen Berg (Contractor)-2
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.

--
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
[hidden email]

--
users mailing list
[hidden email]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
Reply | Threaded
Open this post in threaded view
|

Re: gnome-terminal & select by word characters

Ahmad Samir
On 15 June 2015 at 15:48, Stephen Berg (Contractor)
<[hidden email]> 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
--
users mailing list
[hidden email]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
Reply | Threaded
Open this post in threaded view
|

Re: gnome-terminal & select by word characters

Stephen Berg (Contractor)-2
On 06/15/2015 10:48 AM, Ahmad Samir wrote:

> >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
Found that just a few minutes before I read your email.  So far so good,
things are behaving the way they used to.  Thanks.

--
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
[hidden email]

--
users mailing list
[hidden email]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org