While typing the command "gedit" or "cd" or any word which assosicates with the letter "d", it wont come on the screen. Same issue raises while doing a copy paste to the terminal.

E.G.: If I copy the following : cd Desktop and paste it in the terminal, it becomes c Desktop. This happens only in the terminal window but I'm able to type on other windows such as notepad, documents.. etc. How can I solve it?

  • 1
    I'm no too sure but I suspect that the letter may be using some sort of shortcuts. Just to double check go to EDIT > Keyboard shortcuts whilst terminal window is active and see whether "D" is been assigned to any. – AzkerM Jan 28 '14 at 5:30
  • no Azer i checked there is no short cuts are assigned – suriyan Jan 28 '14 at 5:46
  • What terminal are you using? Have you tried some alternative, like xfce4-terminal? – landroni Jan 28 '14 at 5:47
  • no i am not having any privileges to use alternate terminals – suriyan Jan 28 '14 at 5:50
  • May I ask what happens when you try to type d? any changes happening on the terminal or the pointer? also see whether D in caps works? – AzkerM Jan 28 '14 at 6:01

I think I've seen something like this and it was caused by an incorrect readline config. Remove ~/.inputrc, reopen your shell and try again.

  • It's not the same reason then :( Uhm, this is bizarre. Have you messed with your .bashrc (.zshrc, etc) recently? – Delyan Jan 28 '14 at 6:42
  • oh ya i just add a single alias into bashrc. is the reason for the problem. i added the following line "export HISTCONTROL=ignoreboth:erasedups" and add a single alias after this – suriyan Jan 28 '14 at 6:43
  • The HISTCONTROL looks fine. Is the syntax for your alias okay? Try commenting out your changes and see if you still have your problem. – Delyan Jan 28 '14 at 6:49
  • HISTCONTROL is not my alias.. i refereed a site that has this line before a alias assignment. if this line is not present the alias not working. – suriyan Jan 28 '14 at 6:52
  • I know the HISTCONTROL is not your alias. What's the alias? Paste it here, please (from the file, not the website where you found it). – Delyan Jan 28 '14 at 6:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.