Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I am new to linux(have been using it for half a year now) and thought about how I could make my gnome-terminal appear by startup. I am not sure ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Location
    Denmark, Løgstør
    Posts
    42

    Bash. Open gnome-terminal by login

    Hi, I am new to linux(have been using it for half a year now) and thought about how I could make my gnome-terminal appear by startup. I am not sure how to do it so I will just ask you and hope I will get a not too complex answer.

  2. #2
    Just Joined!
    Join Date
    Jun 2007
    Location
    India
    Posts
    16
    just a simple thing to do!!!
    if you are working on bash then this works...
    go to ur home folder.
    there'll b a file by the name .bashrc
    this is the file which the OS checks for and runs the commands in it at the startup.
    so at the end of the file just append the following command:
    gnome-terminal

    you are done.
    now reboot and check to see that gnome-terminal appears on the startup.

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Location
    Denmark, Løgstør
    Posts
    42
    Heh, it is funny because I already knew that there was a file that would run by startup, I just thought it was .bash_profile so I added "gnome-terminal" at the end of it, but nothing happened. Now I just added it to .bashrc, but it still does not work when I reboot the system. I just added it at the very end of the file.

  4. #4
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    But if you open gnome-terminal through .bashrc - surely everytime gnome terminal opens it will start bash and spawn another gnome-terminal. Bit of a forkbomb there?!

    The best way to do it is to open gnome-session-properties and add it into your startup programs. If you only ever run command line programs I would suggest just booting to init3 instead.

  5. #5
    Just Joined!
    Join Date
    Oct 2006
    Location
    Denmark, Løgstør
    Posts
    42
    yeah..that is what it did.. I will try what you said.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...