gnome-terminator / terminator

multiple GNOME terminals in one window
https://gnome-terminator.org
GNU General Public License v2.0
2.03k stars 254 forks source link

When pasting, always inserts "M" before the command #928

Open binarykitchen opened 1 week ago

binarykitchen commented 1 week ago

Before opening an issue, please try starting terminator with an empty config file, by issuing terminator -u -g /dev/null and see if it starts normally.

If it does, and you still want to open the bug, then please attach the config file, usually found at $HOME/.config/terminator/config to the issue

Fill out as many of these fields as you can

Describe the bug Each time I copy a command from Google Chrome, e.b. sudo pacman -Syy it appends the character M and a carriage return before. It becomes:

$ M
sudo pacman -Syy 

And turns into an invalid command. Have to manually correct every time.

Expected behavior It should be just:

$ sudo pacman -Syy 

Screenshots image

Desktop (please complete the following information):

$ gnome-shell --version
GNOME Shell 46.2
$ uname -a
Linux M1 6.9.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000 x86_64 GNU/Linux

Does not happen in other terminals/consoles, only in Terminator. Thanks for investigating.

mattrose commented 1 week ago

can you attach the config file, if there is one. I would like to see mouse copy and pasting configuration.

binarykitchen commented 1 week ago

Sure, here you go:

[global_config]
  enabled_plugins = CustomCommandsMenu,
  ask_before_closing = never
  smart_copy = False
[keybindings]
[profiles]
  [[default]]
    background_darkness = 0.9
    background_type = transparent
    font = DejaVu Sans Mono 10
    foreground_color = "#f2f2f2"
    scrollback_infinite = True
    palette = "#2a2a2a:#ff0000:#79ff0f:#e7bf00:#396bd7:#b449be:#66ccff:#bbbbbb:#666666:#ff0080:#66ff66:#f3d64e:#709aed:#db67e6:#7adff2:#ffffff"
    bold_is_bright = True
[layouts]
  [[default]]
    [[[child0]]]
      type = Window
      parent = ""
      order = 0
      position = 26:23
      maximised = False
      fullscreen = False
      size = 1715, 827
      title = michael-heuberger@M1: ~
      last_active_window = True
    [[[child1]]]
      type = Notebook
      parent = child0
      order = 0
      labels = None, None
      last_active_term = 6a6286e6-0b70-4239-89cc-831de1f65526, 67390fe8-f115-426d-8bfc-1686fc07c277
      active_page = 0
    [[[terminal2]]]
      type = Terminal
      parent = child1
      order = 0
      profile = default
      uuid = 6a6286e6-0b70-4239-89cc-831de1f65526
    [[[terminal3]]]
      type = Terminal
      parent = child1
      order = 1
      profile = default
      uuid = 67390fe8-f115-426d-8bfc-1686fc07c277
[plugins]
binarykitchen commented 1 week ago

image

mattrose commented 1 week ago

Is this just from Google Chrome, or any browser? Also, can you try reproducing this with gnome-terminal? I'm curious to see if this only affects terminator, or if it also affects other VTE based terminals.