Wednesday, September 2, 2009

Good Ubuntu Terminal color scheme

After a lot of trial and error below are the color combinations for the Ubuntu Terminal that I found very pleasant to the eyes and having good visual cues.

STEP 1:
=====
Change the ubuntu prompt to

export PS1= ${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$

If you want to make this change permanent after trying it on a terminal, copy the line(without the export part :) into your .bashrc file located in your home folder. The changes will be retained next time you reboot your computer.

STEP 2:
=====
Open the Profile Preferences by going to Edit-->Profile Preferences and then click the Colors Tab. In that window, in the Foreground and Background color section choose Gray on Black from the Built-in Schemes dropdown. In the Palette section choose Tango from the Built-in Schemes dropdown.

This combined with the vim editor will make you prefer the terminal over any other IDE.

Sanjay.

No comments:

Post a Comment