Gnome terminal hides the last two characters of the first row (when the path takes more than a line) The 2019 Stack Overflow Developer Survey Results Are InWhat is the maximum length of command line arguments in gnome-terminal?How do you set the title of the active gnome-terminal from the command line?Dynamic line wrapping in the GNOME TerminalHow to change default browser AND the command line parameters used to open a link from gnome-terminalConvenient Terminal GNOME Extension which hides and unhides when key is pressedToggle format of gnome terminal prompt string by command?Tail the last 5 lines, over-writing the last 5 displayed lines when more are added?gnome-terminal is secretive with the runing process in its titlebar (a bug or ?)In gnome-terminal, can I assign more than one shortcut to the same function?Can gnome-terminal search find the second match on a line?
What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?
Does a dangling wire really electrocute me if I'm standing in water?
"as much details as you can remember"
Can someone be penalized for an "unlawful" act if no penalty is specified?
What do the Banks children have against barley water?
Statement true because not provable
How to manage monthly salary
How are circuits which use complex ICs normally simulated?
Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?
Identify boardgame from Big movie
The difference between dialogue marks
One word riddle: Vowel in the middle
Is there any way to tell whether the shot is going to hit you or not?
Origin of "cooter" meaning "vagina"
How to answer pointed "are you quitting" questioning when I don't want them to suspect
Is three citations per paragraph excessive for undergraduate research paper?
Shouldn't "much" here be used instead of "more"?
Landlord wants to switch my lease to a "Land contract" to "get back at the city"
Why did Acorn's A3000 have red function keys?
Multiply Two Integer Polynomials
Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?
What is the closest word meaning "respect for time / mindful"
Have you ever entered Singapore using a different passport or name?
Are there any other methods to apply to solving simultaneous equations?
Gnome terminal hides the last two characters of the first row (when the path takes more than a line)
The 2019 Stack Overflow Developer Survey Results Are InWhat is the maximum length of command line arguments in gnome-terminal?How do you set the title of the active gnome-terminal from the command line?Dynamic line wrapping in the GNOME TerminalHow to change default browser AND the command line parameters used to open a link from gnome-terminalConvenient Terminal GNOME Extension which hides and unhides when key is pressedToggle format of gnome terminal prompt string by command?Tail the last 5 lines, over-writing the last 5 displayed lines when more are added?gnome-terminal is secretive with the runing process in its titlebar (a bug or ?)In gnome-terminal, can I assign more than one shortcut to the same function?Can gnome-terminal search find the second match on a line?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'll give you an example (I use the character " | " to indicate the right border of the terminal window):
username@hostname:/directory/directory/directory/dire |
ory/directory/directory/directory/directory/directory |
/directory/directory/directory/directory/directory/di |
rectory/directory/directory$ |
As you can see, at the first row, Ubuntu terminal hides the string "ct" of the word "directory"; the other rows are fine.
I said the string "ct" is hidden because, if I resize the terminal window, that reappears but other two characters are hidden. For example:
username@hostname:/directory/directory/directory/di |
ctory/directory/directory/directory/directory/direc |
tory/directory/directory/directory/directory/direct |
ory/directory/directory$ |
This time the string "re" is hidden. The problem occurs always at the first row!
I hope I made myself clear. Thank you in advance.
P.S. I'm using Ubuntu 18.04.
EDIT:
I use the gnome terminal that you get when install Ubuntu 18.04 and you can find among pre-installed applications.
Output of "grep PS1 ~/.bashrc":
PS1='$debian_chroot:+($debian_chroot)[33[01;32m]u@h[33[00m]:[33[01;34m]w[33[00m]$ '
PS1='$debian_chroot:+($debian_chroot)u@h:w$ '
PS1="[e]0;$debian_chroot:+($debian_chroot)u@h: wa]$PS1"
command-line 18.04 gnome bash gnome-terminal
add a comment |
I'll give you an example (I use the character " | " to indicate the right border of the terminal window):
username@hostname:/directory/directory/directory/dire |
ory/directory/directory/directory/directory/directory |
/directory/directory/directory/directory/directory/di |
rectory/directory/directory$ |
As you can see, at the first row, Ubuntu terminal hides the string "ct" of the word "directory"; the other rows are fine.
I said the string "ct" is hidden because, if I resize the terminal window, that reappears but other two characters are hidden. For example:
username@hostname:/directory/directory/directory/di |
ctory/directory/directory/directory/directory/direc |
tory/directory/directory/directory/directory/direct |
ory/directory/directory$ |
This time the string "re" is hidden. The problem occurs always at the first row!
I hope I made myself clear. Thank you in advance.
P.S. I'm using Ubuntu 18.04.
EDIT:
I use the gnome terminal that you get when install Ubuntu 18.04 and you can find among pre-installed applications.
Output of "grep PS1 ~/.bashrc":
PS1='$debian_chroot:+($debian_chroot)[33[01;32m]u@h[33[00m]:[33[01;34m]w[33[00m]$ '
PS1='$debian_chroot:+($debian_chroot)u@h:w$ '
PS1="[e]0;$debian_chroot:+($debian_chroot)u@h: wa]$PS1"
command-line 18.04 gnome bash gnome-terminal
1
Do you use Ubuntu’s standard terminal emulatorgnome-terminal? Please edit and add this information as well as the output ofgrep PS1 ~/.bashrcin a code block (button).
– dessert
1 hour ago
Hmm, the bashrc looks fine, but the prompt might be changed elsewhere. Could you add the output ofdeclare -p PS1 PROMPT_COMMAND?
– wjandrea
37 mins ago
Oops, just noticeddeclare -pcan hide some things. Please add the output ofprintf '%qn' "$PS1" "$PROMPT_COMMAND"
– wjandrea
30 mins ago
add a comment |
I'll give you an example (I use the character " | " to indicate the right border of the terminal window):
username@hostname:/directory/directory/directory/dire |
ory/directory/directory/directory/directory/directory |
/directory/directory/directory/directory/directory/di |
rectory/directory/directory$ |
As you can see, at the first row, Ubuntu terminal hides the string "ct" of the word "directory"; the other rows are fine.
I said the string "ct" is hidden because, if I resize the terminal window, that reappears but other two characters are hidden. For example:
username@hostname:/directory/directory/directory/di |
ctory/directory/directory/directory/directory/direc |
tory/directory/directory/directory/directory/direct |
ory/directory/directory$ |
This time the string "re" is hidden. The problem occurs always at the first row!
I hope I made myself clear. Thank you in advance.
P.S. I'm using Ubuntu 18.04.
EDIT:
I use the gnome terminal that you get when install Ubuntu 18.04 and you can find among pre-installed applications.
Output of "grep PS1 ~/.bashrc":
PS1='$debian_chroot:+($debian_chroot)[33[01;32m]u@h[33[00m]:[33[01;34m]w[33[00m]$ '
PS1='$debian_chroot:+($debian_chroot)u@h:w$ '
PS1="[e]0;$debian_chroot:+($debian_chroot)u@h: wa]$PS1"
command-line 18.04 gnome bash gnome-terminal
I'll give you an example (I use the character " | " to indicate the right border of the terminal window):
username@hostname:/directory/directory/directory/dire |
ory/directory/directory/directory/directory/directory |
/directory/directory/directory/directory/directory/di |
rectory/directory/directory$ |
As you can see, at the first row, Ubuntu terminal hides the string "ct" of the word "directory"; the other rows are fine.
I said the string "ct" is hidden because, if I resize the terminal window, that reappears but other two characters are hidden. For example:
username@hostname:/directory/directory/directory/di |
ctory/directory/directory/directory/directory/direc |
tory/directory/directory/directory/directory/direct |
ory/directory/directory$ |
This time the string "re" is hidden. The problem occurs always at the first row!
I hope I made myself clear. Thank you in advance.
P.S. I'm using Ubuntu 18.04.
EDIT:
I use the gnome terminal that you get when install Ubuntu 18.04 and you can find among pre-installed applications.
Output of "grep PS1 ~/.bashrc":
PS1='$debian_chroot:+($debian_chroot)[33[01;32m]u@h[33[00m]:[33[01;34m]w[33[00m]$ '
PS1='$debian_chroot:+($debian_chroot)u@h:w$ '
PS1="[e]0;$debian_chroot:+($debian_chroot)u@h: wa]$PS1"
command-line 18.04 gnome bash gnome-terminal
command-line 18.04 gnome bash gnome-terminal
edited 52 mins ago
John Doe
asked 4 hours ago
John DoeJohn Doe
1351213
1351213
1
Do you use Ubuntu’s standard terminal emulatorgnome-terminal? Please edit and add this information as well as the output ofgrep PS1 ~/.bashrcin a code block (button).
– dessert
1 hour ago
Hmm, the bashrc looks fine, but the prompt might be changed elsewhere. Could you add the output ofdeclare -p PS1 PROMPT_COMMAND?
– wjandrea
37 mins ago
Oops, just noticeddeclare -pcan hide some things. Please add the output ofprintf '%qn' "$PS1" "$PROMPT_COMMAND"
– wjandrea
30 mins ago
add a comment |
1
Do you use Ubuntu’s standard terminal emulatorgnome-terminal? Please edit and add this information as well as the output ofgrep PS1 ~/.bashrcin a code block (button).
– dessert
1 hour ago
Hmm, the bashrc looks fine, but the prompt might be changed elsewhere. Could you add the output ofdeclare -p PS1 PROMPT_COMMAND?
– wjandrea
37 mins ago
Oops, just noticeddeclare -pcan hide some things. Please add the output ofprintf '%qn' "$PS1" "$PROMPT_COMMAND"
– wjandrea
30 mins ago
1
1
Do you use Ubuntu’s standard terminal emulator
gnome-terminal? Please edit and add this information as well as the output of grep PS1 ~/.bashrc in a code block ( button).– dessert
1 hour ago
Do you use Ubuntu’s standard terminal emulator
gnome-terminal? Please edit and add this information as well as the output of grep PS1 ~/.bashrc in a code block ( button).– dessert
1 hour ago
Hmm, the bashrc looks fine, but the prompt might be changed elsewhere. Could you add the output of
declare -p PS1 PROMPT_COMMAND?– wjandrea
37 mins ago
Hmm, the bashrc looks fine, but the prompt might be changed elsewhere. Could you add the output of
declare -p PS1 PROMPT_COMMAND?– wjandrea
37 mins ago
Oops, just noticed
declare -p can hide some things. Please add the output of printf '%qn' "$PS1" "$PROMPT_COMMAND"– wjandrea
30 mins ago
Oops, just noticed
declare -p can hide some things. Please add the output of printf '%qn' "$PS1" "$PROMPT_COMMAND"– wjandrea
30 mins ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f1132809%2fgnome-terminal-hides-the-last-two-characters-of-the-first-row-when-the-path-tak%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f1132809%2fgnome-terminal-hides-the-last-two-characters-of-the-first-row-when-the-path-tak%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
1
Do you use Ubuntu’s standard terminal emulator
gnome-terminal? Please edit and add this information as well as the output ofgrep PS1 ~/.bashrcin a code block (button).– dessert
1 hour ago
Hmm, the bashrc looks fine, but the prompt might be changed elsewhere. Could you add the output of
declare -p PS1 PROMPT_COMMAND?– wjandrea
37 mins ago
Oops, just noticed
declare -pcan hide some things. Please add the output ofprintf '%qn' "$PS1" "$PROMPT_COMMAND"– wjandrea
30 mins ago