[arch-general] gnome-terminal configuration

C Anthony Risinger anthony at extof.me
Thu Jul 8 19:12:06 EDT 2010


2010/7/8 Ng Oon-Ee <ngoonee at gmail.com>:
> On Thu, 2010-07-08 at 13:00 -0300, Hilton Medeiros wrote:
>> On Thu, 8 Jul 2010 10:47:03 -0400
>> <aerospace1028 at hotmail.com> wrote:
>>
>> >
>> > greetings,
>> > I noticed the other day that some of the settings I configured in my
>> > ~/.bash_profile aren't implimented when using the gnome-termianl.
>> > For the most-part, it's not too big a deal; some of it just aliases
>> > system admin stuff that I do from the text consoles (tty1-6) anyhow.
>> >
>> > Just for curiousity, i poked around the wiki and the various settings
>> > areas on my computer (/etc, /usr/share and such) trying to find if
>> > the gnome-terminal had it's own set of configuration files.  Does
>> > anybody know where i should look to find howto customize the start-up
>> > behavior for gnome-terminal?  Also, is it normal for gnome-terminal
>> > to not read ~/.bash_profile, even if the default shell is bash?
>> >
>> > thank you:-)
>> > _________________________________________________________________
>> > The New Busy is not the old busy. Search, chat and e-mail from your
>> > inbox.
>> > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3
>>
>> Yeah, I had the same issue...
>> But it is easy to fix:
>>
>> Open terminal -> 'Edit' menu -> Profile Preferences -> Title and Command
>> tab -> Tick "Run command as a login shell" check box
>>
>> Cheers,
>> Hilton
>
> You could also set things in .profile instead? I've read before that
> this is the 'proper' way to put env stuff etc.

i could be wrong, as i've heavily customized these scripts, but i
believe by default the only thing .bashrc does (in arch) is source
.bash_aliases if it exists; so put aliases there.

take a look at:

/etc/profile*
/etc/bash*
~/.profile
~/.bash*

they contain everything you need to know.  for example, you can create
an /etc/bash.bashrc.local that will be sourced if it exists.  i use
this to add gentoo style colors and prompts, export stuff, and
increase the bash_history from 1,000 to 10,000 (i hate retyping stuff
:-)

C Anthony


More information about the arch-general mailing list