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;








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



















  • 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











  • 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

















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



















  • 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











  • 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













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 52 mins ago







John Doe

















asked 4 hours ago









John DoeJohn Doe

1351213




1351213







  • 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











  • 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












  • 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











  • 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







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










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

Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap

Where else does the Shulchan Aruch quote an authority by name?Parashat Metzora+HagadolPesach/PassoverShulchan Aruch UTF-8Anonymous glosses in the Shulchan AruchWhy is the Shulchan Aruch definitive?Siman 32, Kitzur Shulchan Aruch: UntranslatedLitvaks/Yeshivish and Shulchan AruchBuying a Shulchan AruchEnglish version of SHULCHAN ARUCHIs there any place where Shulchan Aruch rules with the Rosh against the Rif and Rambam?Are there practices where Sepharadim do not hold by Shulchan Aruch?5th part of the shulchan aruch