Pasting “Foo” into LXterminal in XFCE produces “0~Foo1~”
I use LXTerminal 0.20. with XFCE 4.12.2 on Linux Mint 18.2 (upgraded from 18.1).
When I copy text in some desktop app and paste it into an LXTerminal session, I get 0~
and 1~
prepended and appended, respectively, to the text. So,
Hello world
becomes
0~Hello World1~
This doesn't happen with XFCE4's "native" terminal app (xfce4-terminal
), so not the same issue as in this question - and not resolved by the answer there. It also doesn't happen if I copy the text to apps with GUI (i.e. the text itself, in the clipboard, is fine).
Why is this happening and what can I do to avoid it?
xfce clipboard xfce4-terminal lxterminal
|
show 4 more comments
I use LXTerminal 0.20. with XFCE 4.12.2 on Linux Mint 18.2 (upgraded from 18.1).
When I copy text in some desktop app and paste it into an LXTerminal session, I get 0~
and 1~
prepended and appended, respectively, to the text. So,
Hello world
becomes
0~Hello World1~
This doesn't happen with XFCE4's "native" terminal app (xfce4-terminal
), so not the same issue as in this question - and not resolved by the answer there. It also doesn't happen if I copy the text to apps with GUI (i.e. the text itself, in the clipboard, is fine).
Why is this happening and what can I do to avoid it?
xfce clipboard xfce4-terminal lxterminal
Something's enabled bracketed paste, but the shell (or whatever you're pasting into) doesn't understand it.
– Thomas Dickey
Jul 9 '17 at 20:36
@ThomasDickey: So, how can I disable it, or perhaps - how can I make my shell understand it? (I'm guessing only the first option is actually relevant).
– einpoklum
Jul 9 '17 at 20:53
@JeffSchaller: Not a dupe, since I don't see that problem with xfce4-terminal. Please read more carefully before marking as a dupe...
– einpoklum
Jul 9 '17 at 21:14
What software (shell?) is running in the terminal when the pasting happens?
– thrig
Jul 9 '17 at 21:19
Thought the other answer showed how to turn off bracketed paste.
– Jeff Schaller
Jul 9 '17 at 21:25
|
show 4 more comments
I use LXTerminal 0.20. with XFCE 4.12.2 on Linux Mint 18.2 (upgraded from 18.1).
When I copy text in some desktop app and paste it into an LXTerminal session, I get 0~
and 1~
prepended and appended, respectively, to the text. So,
Hello world
becomes
0~Hello World1~
This doesn't happen with XFCE4's "native" terminal app (xfce4-terminal
), so not the same issue as in this question - and not resolved by the answer there. It also doesn't happen if I copy the text to apps with GUI (i.e. the text itself, in the clipboard, is fine).
Why is this happening and what can I do to avoid it?
xfce clipboard xfce4-terminal lxterminal
I use LXTerminal 0.20. with XFCE 4.12.2 on Linux Mint 18.2 (upgraded from 18.1).
When I copy text in some desktop app and paste it into an LXTerminal session, I get 0~
and 1~
prepended and appended, respectively, to the text. So,
Hello world
becomes
0~Hello World1~
This doesn't happen with XFCE4's "native" terminal app (xfce4-terminal
), so not the same issue as in this question - and not resolved by the answer there. It also doesn't happen if I copy the text to apps with GUI (i.e. the text itself, in the clipboard, is fine).
Why is this happening and what can I do to avoid it?
xfce clipboard xfce4-terminal lxterminal
xfce clipboard xfce4-terminal lxterminal
edited Jul 10 '17 at 12:35
asked Jul 9 '17 at 20:21
einpoklum
2,05641952
2,05641952
Something's enabled bracketed paste, but the shell (or whatever you're pasting into) doesn't understand it.
– Thomas Dickey
Jul 9 '17 at 20:36
@ThomasDickey: So, how can I disable it, or perhaps - how can I make my shell understand it? (I'm guessing only the first option is actually relevant).
– einpoklum
Jul 9 '17 at 20:53
@JeffSchaller: Not a dupe, since I don't see that problem with xfce4-terminal. Please read more carefully before marking as a dupe...
– einpoklum
Jul 9 '17 at 21:14
What software (shell?) is running in the terminal when the pasting happens?
– thrig
Jul 9 '17 at 21:19
Thought the other answer showed how to turn off bracketed paste.
– Jeff Schaller
Jul 9 '17 at 21:25
|
show 4 more comments
Something's enabled bracketed paste, but the shell (or whatever you're pasting into) doesn't understand it.
– Thomas Dickey
Jul 9 '17 at 20:36
@ThomasDickey: So, how can I disable it, or perhaps - how can I make my shell understand it? (I'm guessing only the first option is actually relevant).
– einpoklum
Jul 9 '17 at 20:53
@JeffSchaller: Not a dupe, since I don't see that problem with xfce4-terminal. Please read more carefully before marking as a dupe...
– einpoklum
Jul 9 '17 at 21:14
What software (shell?) is running in the terminal when the pasting happens?
– thrig
Jul 9 '17 at 21:19
Thought the other answer showed how to turn off bracketed paste.
– Jeff Schaller
Jul 9 '17 at 21:25
Something's enabled bracketed paste, but the shell (or whatever you're pasting into) doesn't understand it.
– Thomas Dickey
Jul 9 '17 at 20:36
Something's enabled bracketed paste, but the shell (or whatever you're pasting into) doesn't understand it.
– Thomas Dickey
Jul 9 '17 at 20:36
@ThomasDickey: So, how can I disable it, or perhaps - how can I make my shell understand it? (I'm guessing only the first option is actually relevant).
– einpoklum
Jul 9 '17 at 20:53
@ThomasDickey: So, how can I disable it, or perhaps - how can I make my shell understand it? (I'm guessing only the first option is actually relevant).
– einpoklum
Jul 9 '17 at 20:53
@JeffSchaller: Not a dupe, since I don't see that problem with xfce4-terminal. Please read more carefully before marking as a dupe...
– einpoklum
Jul 9 '17 at 21:14
@JeffSchaller: Not a dupe, since I don't see that problem with xfce4-terminal. Please read more carefully before marking as a dupe...
– einpoklum
Jul 9 '17 at 21:14
What software (shell?) is running in the terminal when the pasting happens?
– thrig
Jul 9 '17 at 21:19
What software (shell?) is running in the terminal when the pasting happens?
– thrig
Jul 9 '17 at 21:19
Thought the other answer showed how to turn off bracketed paste.
– Jeff Schaller
Jul 9 '17 at 21:25
Thought the other answer showed how to turn off bracketed paste.
– Jeff Schaller
Jul 9 '17 at 21:25
|
show 4 more comments
3 Answers
3
active
oldest
votes
This helped, not sure why:
- In XFCE4, open Preferences | Input Method | Language.
- Change your region to something else.
- Press "Apply to entire system".
- Change it back.
- Press "Apply to entire system".
- Close LXTerminal and re-start it.
That made the problem go away for me. I'm sure there's a better answer, but if it works, it works.
1
I'm almost certain that 1-5 don't play any role here. Any newly opened terminal works correctly at the beginning, but due to a bug in older VTE versions, terminals "break" relatively easily during normal operation.
– egmont
Nov 25 '17 at 0:03
add a comment |
I've just had this issue, I'm using zsh as shell and for me it was something I had to fix in my .zshrc by adding:
unset zle_bracketed_paste
This made new terminal windows not enter bracketed paste mode by default.
add a comment |
Use "reset" command to reinitialize your terminal.
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your answer, please edit your post to include additional context. How does this answer the question at hand? Thank you!
– kemotep
Dec 18 at 13:16
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f377353%2fpasting-foo-into-lxterminal-in-xfce-produces-0foo1%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
This helped, not sure why:
- In XFCE4, open Preferences | Input Method | Language.
- Change your region to something else.
- Press "Apply to entire system".
- Change it back.
- Press "Apply to entire system".
- Close LXTerminal and re-start it.
That made the problem go away for me. I'm sure there's a better answer, but if it works, it works.
1
I'm almost certain that 1-5 don't play any role here. Any newly opened terminal works correctly at the beginning, but due to a bug in older VTE versions, terminals "break" relatively easily during normal operation.
– egmont
Nov 25 '17 at 0:03
add a comment |
This helped, not sure why:
- In XFCE4, open Preferences | Input Method | Language.
- Change your region to something else.
- Press "Apply to entire system".
- Change it back.
- Press "Apply to entire system".
- Close LXTerminal and re-start it.
That made the problem go away for me. I'm sure there's a better answer, but if it works, it works.
1
I'm almost certain that 1-5 don't play any role here. Any newly opened terminal works correctly at the beginning, but due to a bug in older VTE versions, terminals "break" relatively easily during normal operation.
– egmont
Nov 25 '17 at 0:03
add a comment |
This helped, not sure why:
- In XFCE4, open Preferences | Input Method | Language.
- Change your region to something else.
- Press "Apply to entire system".
- Change it back.
- Press "Apply to entire system".
- Close LXTerminal and re-start it.
That made the problem go away for me. I'm sure there's a better answer, but if it works, it works.
This helped, not sure why:
- In XFCE4, open Preferences | Input Method | Language.
- Change your region to something else.
- Press "Apply to entire system".
- Change it back.
- Press "Apply to entire system".
- Close LXTerminal and re-start it.
That made the problem go away for me. I'm sure there's a better answer, but if it works, it works.
answered Jul 9 '17 at 21:49
einpoklum
2,05641952
2,05641952
1
I'm almost certain that 1-5 don't play any role here. Any newly opened terminal works correctly at the beginning, but due to a bug in older VTE versions, terminals "break" relatively easily during normal operation.
– egmont
Nov 25 '17 at 0:03
add a comment |
1
I'm almost certain that 1-5 don't play any role here. Any newly opened terminal works correctly at the beginning, but due to a bug in older VTE versions, terminals "break" relatively easily during normal operation.
– egmont
Nov 25 '17 at 0:03
1
1
I'm almost certain that 1-5 don't play any role here. Any newly opened terminal works correctly at the beginning, but due to a bug in older VTE versions, terminals "break" relatively easily during normal operation.
– egmont
Nov 25 '17 at 0:03
I'm almost certain that 1-5 don't play any role here. Any newly opened terminal works correctly at the beginning, but due to a bug in older VTE versions, terminals "break" relatively easily during normal operation.
– egmont
Nov 25 '17 at 0:03
add a comment |
I've just had this issue, I'm using zsh as shell and for me it was something I had to fix in my .zshrc by adding:
unset zle_bracketed_paste
This made new terminal windows not enter bracketed paste mode by default.
add a comment |
I've just had this issue, I'm using zsh as shell and for me it was something I had to fix in my .zshrc by adding:
unset zle_bracketed_paste
This made new terminal windows not enter bracketed paste mode by default.
add a comment |
I've just had this issue, I'm using zsh as shell and for me it was something I had to fix in my .zshrc by adding:
unset zle_bracketed_paste
This made new terminal windows not enter bracketed paste mode by default.
I've just had this issue, I'm using zsh as shell and for me it was something I had to fix in my .zshrc by adding:
unset zle_bracketed_paste
This made new terminal windows not enter bracketed paste mode by default.
answered Jan 4 at 5:31
Kralian
11
11
add a comment |
add a comment |
Use "reset" command to reinitialize your terminal.
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your answer, please edit your post to include additional context. How does this answer the question at hand? Thank you!
– kemotep
Dec 18 at 13:16
add a comment |
Use "reset" command to reinitialize your terminal.
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your answer, please edit your post to include additional context. How does this answer the question at hand? Thank you!
– kemotep
Dec 18 at 13:16
add a comment |
Use "reset" command to reinitialize your terminal.
Use "reset" command to reinitialize your terminal.
answered Dec 18 at 12:38
Ram Kumar Vooda
1
1
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your answer, please edit your post to include additional context. How does this answer the question at hand? Thank you!
– kemotep
Dec 18 at 13:16
add a comment |
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your answer, please edit your post to include additional context. How does this answer the question at hand? Thank you!
– kemotep
Dec 18 at 13:16
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your answer, please edit your post to include additional context. How does this answer the question at hand? Thank you!
– kemotep
Dec 18 at 13:16
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your answer, please edit your post to include additional context. How does this answer the question at hand? Thank you!
– kemotep
Dec 18 at 13:16
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f377353%2fpasting-foo-into-lxterminal-in-xfce-produces-0foo1%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Something's enabled bracketed paste, but the shell (or whatever you're pasting into) doesn't understand it.
– Thomas Dickey
Jul 9 '17 at 20:36
@ThomasDickey: So, how can I disable it, or perhaps - how can I make my shell understand it? (I'm guessing only the first option is actually relevant).
– einpoklum
Jul 9 '17 at 20:53
@JeffSchaller: Not a dupe, since I don't see that problem with xfce4-terminal. Please read more carefully before marking as a dupe...
– einpoklum
Jul 9 '17 at 21:14
What software (shell?) is running in the terminal when the pasting happens?
– thrig
Jul 9 '17 at 21:19
Thought the other answer showed how to turn off bracketed paste.
– Jeff Schaller
Jul 9 '17 at 21:25