Gnome terminal hides the last two characters of the first row (when the path takes more than a line) ...

Why is the maximum length of OpenWrt’s root password 8 characters?

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

How to obtain Confidence Intervals for a LASSO regression?

Right tool to dig six foot holes?

Sci-fi book where a human is taken from Earth to help man an alien ship in a fight against other aliens and rises through the ranks to command

Why is my custom API endpoint not working?

Do these rules for Critical Successes and Critical Failures seem Fair?

What did it mean to "align" a radio?

Identify This Plant (Flower)

How to save as into a customized destination on macOS?

Is bread bad for ducks?

Return to UK after being refused entry years previously

What is the meaning of Triage in Cybersec world?

Did Section 31 appear in Star Trek: The Next Generation?

Why can Shazam fly?

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

Why isn't the circumferential light around the M87 black hole's event horizon symmetric?

"as much details as you can remember"

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

Are there any other methods to apply to solving simultaneous equations?

Can a flute soloist sit?

FPGA - DIY Programming

Loose spokes after only a few rides

Is this app Icon Browser Safe/Legit?



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 a quick way to connect two or more pdfs together using the command-line?Print “hello” if number of files in a directory is bigger than the number in first line of a fileToggle format of gnome terminal prompt string by command?Tail the last 5 lines, over-writing the last 5 displayed lines when more are added?Understanding sed expression to replace the last word from each line with the first oneSet environment variable UBUNTU 18.04 (bionic) - Crontabgnome-terminal is secretive with the runing process in its titlebar (a bug or ?)HP LaserJet P1102w & Ubuntu 18.04 LTSIn gnome-terminal, can I assign more than one shortcut to the same function?Spazzy video corruption on 18.04





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















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"









share|improve this question

























  • 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


















1















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"









share|improve this question

























  • 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














1












1








1








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"









share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 9 mins ago







John Doe

















asked 3 hours ago









John DoeJohn Doe

1351213




1351213













  • 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

















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










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
});


}
});














draft saved

draft discarded


















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
















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

List of shipwrecks in 1808...

Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...