Announcement

Collapse
No announcement yet.

Help! Terminal programs auto-enter a command

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help! Terminal programs auto-enter a command

    I have no idea what I have done, but every time I start a terminal program (doesn't matter which one) it automatically enters and begins to carry out a command. Its always the same command, which is one I had used just before this started happening.

    I guess I have activated a useful feature of my shell How do I stop it?

    #2
    Re: Help! Terminal programs auto-enter a command

    I guess you are using "Terminal Sessions"?

    Then try to power one up.. it could be Shell.

    Then Settings -> Configure Konsole... -> Session tab

    Execute: What do you have there?


    Does this happen when you just run xterm?
    Check out my Ⓥegan youtube channel PlantSugar
    CV and gallery at grn.dk
    Please add [SOLVED] to topic subject when topic is solved.

    Comment


      #3
      Re: Help! Terminal programs auto-enter a command

      Hi, thanks for answereing.

      I have no idea what xterm is.  But this happens with any graphical terminal I have tried, e.g. konsole or konquerer's terminal emulator.

      I can't work out how to show a screenshot here of the Konsole session tab you asked about, but when I go there I see:

      Linux Console is highlighted under session
      Under general it says:
      Name: Linux Console
      Execute: bash
      Directory:

      Under properties it says:
      Font: default
      $TERM: linux
      Keytab: XTerm (XFree 4.x.x)
      Schema: Linux Colours

      If I click on the other session types
      $TERM: changes to 'xterm', but Keytab entry remains the same

      And by the way, FYI, Ihave no idea what any of this means.

      Comment


        #4
        Re: Help! Terminal programs auto-enter a command

        I thought you maybe would have something else under "Execute:" but it was bash. In this case I don't know.. sorry.
        Check out my Ⓥegan youtube channel PlantSugar
        CV and gallery at grn.dk
        Please add [SOLVED] to topic subject when topic is solved.

        Comment


          #5
          Re: Help! Terminal programs auto-enter a command

          OK.

          By the way, there are 2 users of this computer and it only happens to one of them.

          Any ideas anyone?

          Comment


            #6
            Re: Help! Terminal programs auto-enter a command

            Has the person it happens to modified their .bashrc? Look in ~/.bashrc for that user, see if anything would happen that either takes a long time to complete or goes into an infinite loop.
            For external use only.

            Comment


              #7
              Re: Help! Terminal programs auto-enter a command

              Well, there was no problem with the .bashrc file, but you set me on the right path, and its now solved:

              The .bashrc files for both users were identical, but the user with the problem had a .bash_aliases file. I couldn't see anything in there that would cause a problem, but I deleted all the contents of this file anyway, and that stopped the problem!
              I still don't know what part of the .bash_aliases file caused the problem, but I'll just re-introduce my aliases as I need them and see what it was.
              I do have a suspect, based on what the terminal was trying to do everytime I opened it. This alias was called 'autounison' (becaue it automated some syncs). Is it a problem beginning an alias with the word 'auto' as I have done?

              Thanks for your help. I'm glad this annoyance is over!

              Comment

              Working...
              X