LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Messed up my gnome-terminal, need to reset the profile (https://www.linuxquestions.org/questions/linux-software-2/messed-up-my-gnome-terminal-need-to-reset-the-profile-720156/)

Heru-kun 04-19-2009 02:26 AM

Messed up my gnome-terminal, need to reset the profile
 
Halow, my name is Hermes, changing stuff in my profile while pimping my gnome-terminal, i messed up when i wrote something i shouldn't in the profile command startup, so now the terminal does not start. I'm looking for a way to reset the terminal profile to default without having to actually use it, cuz as i said before, does not start.

I know, i know, weird stuff, but any help is appreciated. thnx in advance.

r3sistance 04-19-2009 03:13 AM

Well if it's just a misconfigured file you could open it in most text-editors and undo the changes, or if you can not access the file then your answer will probably lay in single user mode. I don't know your distribution so can not really tell you how to get into it. If you wish to try single user mode just google it with your distribution.

Heru-kun 04-19-2009 09:21 AM

oh, sry, forgot that, i'm using ubuntu.
The thing is, i don't know what i need to edit to reset it, tried .bashrc, but dunno what to change...

repo 04-19-2009 09:28 AM

press CTRL_ALT_F1
login
edit .bash_profile

Code:

vi .bash_profile

Heru-kun 04-19-2009 03:54 PM

There's a little issue, should that file be in hidden in the home folder? bcs there's no file clld that way. The only ones that are there are .bash_history, .bash_logout and .bashrc
Is it in another location or sumthin?

repo 04-19-2009 04:51 PM

are you logged in as user ?

Heru-kun 04-19-2009 11:15 PM

yes, i am, the home folder does not display that file, should i log in as root?


All times are GMT -5. The time now is 07:43 AM.