Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've read the help files, I've searched this forum, I've even googled it.
My Gnome Termnial doesn't act like my normal terminal does. It does not color code the fonts, the promt is "bash-2.05b$" instead of "username@hostname: current_path$".
What am I missing? Is there a easy way to fix this problem? I feel kindof stupid asking this as it should be straight forward ... guess im just dumb
i can give the solution to your second problem:
run gnome-terminal, go to edit -> current profile.
select the 'title and command' tab, and check the
'run command as login shell' box, and click close.
Greg21, here's an explanation for that strange behavior. bash can start in two modes, a login shell and a non-login shell. When you login at the CLI, bash starts a login shell. Normally, when you start up a gnome terminal, bash starts a non-login shell.
In a login shell, bash looks at /etc/profile and the first of ~/.bash_profile, ~/.bash_login, and ~/.profile
In a non-login shell, bash looks at ~/.bashrc
That's why your gnome terminal prompt, colors, and other stuff looked different from what you normally get when you log in at the CLI.
As neenee has pointed out, you can set gnome terminal to start up as a login shell, which you have found acts just as described above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.