This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) sudo vim /usr/share/terminator/terminatorlib/terminal.py | |
2) find and check def on_buttonpress | |
def on_buttonpress(self, widget, event): | |
"“"Handler for mouse events”“” | |
# Any button event should grab focus | |
widget.grab_focus() | |
if event.button == 1: | |
# Ctrl+leftclick on a URL should open it | |
if event.state & gtk.gdk.CONTROL_MASK == gtk.gdk.CONTROL_MASK: | |
url = self.check_for_url(event) |