0

I would like to select file path including line number in it when double click the file name, .e.g:

project/my_first_file.py:194:
project/my_second_file.py:533:

When I double click on the first line the text project/my_first_file.py gets selected, I would like to select whole project/my_first_file.py:194: fragment when double clicking.

I wonder, is there any config file which defines this behavior? Or can it be achieved by any other means?

niekas
  • 435
  • 2
  • 5
  • 16
  • Hmm, I think the selected solution is old and not working anymore, the other answers might help, but are a bit confusing, see here for good working https://unix.stackexchange.com/questions/290544/double-click-selection-in-gnome-terminal – pLumo Feb 11 '21 at 11:25
  • Not exactly a solution but you can use `xfce4-terminal`, it selects the whole string. – schrodingerscatcuriosity Feb 11 '21 at 11:29
  • or `tilix` ... and you can change the characters for word selection from the settings. – pLumo Feb 11 '21 at 11:39
  • Thank you for suggestions. Yup, I will probably try a new terminal, since none of the suggested solutions worked for me. – niekas Feb 11 '21 at 11:48

0 Answers0