0%

Set Solarized Color Scheme in Ubuntu

I always want to find a fancy color scheme for my terminal. Then I settled down with Solarized.

Install Solarized Colorscheme

To install solarized in Ubuntu, first make sure you have git installed.

1
sudo apt-get install git

Then clone the Solarized repository from github:

1
git clone https://github.com/sigurdga/gnome-terminal-colors-solarized.git

And install it:

1
2
cd gnome-terminal-colors-solarized
./install

Fix ls dircolor

The output of ls set by this colorscheme looks terrible. We need to fix this issue:

1
2
3
wget --no-check-certificate https://raw.github.com/seebi/dircolors-solarized/master/dircolors.ansi-dark
mv dircolors.ansi-dark ~/.dircolors
eval dircolors ~/.dircolors

eval dircolors ~/.dircolors may need to be added to your bashrc or zshrc file.