xfce-terminal doesn't want to directly run middle click paste (after upgrade to Mint 21)

Forum rules
Before you post please read how to get help
Post Reply
ptankov
Level 1
Level 1
Posts: 6
Joined: Wed Feb 18, 2015 3:12 pm

xfce-terminal doesn't want to directly run middle click paste (after upgrade to Mint 21)

Post by ptankov »

Hello!

I just upgraded from Mint 20.3 XFCE to Mint 21 XFCE. All is well, but the xfce-terminal doesn't directly execute anymore the pasted commands (which contain Enter at the end). Previously, when I copied a command, or a sequence of commands from a text file or a website, and then pasted them (with middle mouse click) directly in the xfce-terminal, it simply ran them. Now, it marks the pasted text white and wants me to hit ENTER. What happened, how can I make it simply run the pasted text directly?
User avatar
manyroads
Level 4
Level 4
Posts: 481
Joined: Wed Mar 30, 2011 11:14 am
Location: just around the corner
Contact:

Re: xfce-terminal doesn't want to directly run middle click paste (after upgrade to Mint 21)

Post by manyroads »

ptankov wrote:
Fri Sep 23, 2022 10:10 am
Hello!

I just upgraded from Mint 20.3 XFCE to Mint 21 XFCE. All is well, but the xfce-terminal doesn't directly execute anymore the pasted commands (which contain Enter at the end). Previously, when I copied a command, or a sequence of commands from a text file or a website, and then pasted them (with middle mouse click) directly in the xfce-terminal, it simply ran them. Now, it marks the pasted text white and wants me to hit ENTER. What happened, how can I make it simply run the pasted text directly?
Did you review the xfce4-terminal guidance on custom actions? See: https://docs.xfce.org/xfce/thunar/custom-actions
Pax vobiscum,
...mark
i3wm, openbox, xfce4
Professional Genealogist & Technologist
(http://eirenicon.org & http://many-roads.com)
ptankov
Level 1
Level 1
Posts: 6
Joined: Wed Feb 18, 2015 3:12 pm

Re: xfce-terminal doesn't want to directly run middle click paste (after upgrade to Mint 21)

Post by ptankov »

I saw that page, but it's about thunar. My question is about xfce4-terminal.
User avatar
rattkjelke
Level 3
Level 3
Posts: 152
Joined: Wed Jul 13, 2011 5:55 pm
Location: USA

Re: xfce-terminal doesn't want to directly run middle click paste (after upgrade to Mint 21)

Post by rattkjelke »

This also happens in the latest version of xfce4-terminal in other distros.
It appears to be something Xfce changed.
I don't think there is an easy way to fix it. At least there no new terminal settings for it.
ptankov
Level 1
Level 1
Posts: 6
Joined: Wed Feb 18, 2015 3:12 pm

Re: xfce-terminal doesn't want to directly run middle click paste (after upgrade to Mint 21)

Post by ptankov »

I have found the solution:

You have to turn off bracketed paste:

So add this to ~/.inputrc:

Code: Select all

set enable-bracketed-paste Off
restart Bash
Post Reply

Return to “Xfce”