Solarized Linux

Solarized SmallI like very much Ethan Schoonover Solarized color palette. So I decided write a guide, howto get Solarized colors to most commonly used Linux terminals (Gnome-Terminal, Konsole, XFCE Terminal, Mate-Terminal), Text editors (Gedit, Vim) and IDEs (Eclipse, NetBeans). These are not my projects, so the greatest honor belongs, of course, these projects owners and Ethan Schoonover.

1. Install Needed Tools (git, mercurial, 7-zip)

This is normally easiest do with you package management system, like:


## Fedora, CentOS, Red Hat (RHEL), Scientific Linux (SL) ##
yum install git
## needed only with Eclipse ##
yum install mercurial
## needed only with NetBeans ## 
yum install p7zip 

## Debian, Ubuntu, Linux Mint ##
aptitude install git
## needed only with Eclipse ##
aptitude install mercurial
## needed only with NetBeans ##
aptitide install p7zip 

## Gentoo ##
emerge --ask --verbose dev-vcs/git
## needed only with Eclipse ##
emerge --ask --verbose dev-vcs/mercurial
## needed only with NetBeans ##
emerge --ask --verbose app-arch/p7zip

2. Create and Change to Solarized Directory (as normal user)


mkdir ~/solarized

cd ~/solarized

3. Solarized Terminals

3.1 Solarized Gnome-Terminal

1. Get Solarized Gnome-Terminal

Run following command on ~/solarized directory.


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

2. Set Solarized Dark or Light Theme


## Set dark or light Solarized theme ##
gnome-terminal-colors-solarized/install.sh

## Then select dark or light and profile ##

3. Screenshots

Solarized Gnome-Terminal DarkSolarized Gnome-Terminal Light

Check GitHub repo page.

3.2 Solarized Konsole (KDE terminal)

1. Get Solarized Konsole (KDE terminal)

Run following command on ~/solarized directory.


git clone https://github.com/phiggins/konsole-colors-solarized.git

2. Copy Solarized Dark or Light Theme


cp konsole-colors-solarized/*.colorscheme ~/.kde/share/apps/konsole/

## OR ##

cp konsole-colors-solarized/*.colorscheme ~/.kde4/share/apps/konsole/

3. Select Solarized Dark or Light Theme

Open Konsole and select Settings -> Manage Profiles -> Edit Profile -> Appearance

4. Screenshots

Solarized Konsole DarkSolarized Konsole Light

Check GitHub repo page.

3.3 Solarized Terminal (XFCE Terminal)

1. Get Solarized Terminal (XFCE Terminal)

Run following command on ~/solarized directory.


git clone https://github.com/sgerrand/xfce4-terminal-colors-solarized.git

2. Create ~/.config/Terminal Directory

Just make sure that Terminal directory exists.


mkdir ~/.config/Terminal

3. Copy Solarized Dark or Light Theme


## Copy Solarized Dark Theme ##
cp xfce4-terminal-colors-solarized/dark/terminalrc ~/.config/Terminal/

## Copy Solarized Light Theme ##
cp xfce4-terminal-colors-solarized/light/terminalrc ~/.config/Terminal/

4. Screenshots

XFCE Terminal Solarized DarkXFCE Terminal Solarized Light

Check GitHub repo page.

3.3 Solarized Mate-Terminal

1. Get Solarized Mate-Terminal

Run following command on ~/solarized directory.


git clone https://github.com/oz123/solarized-mate-terminal.git

2. Change solarized-mate-terminal Directory


cd solarized-mate-terminal/

3. Set Solarized Dark or Light Theme

You can create new profile(s) or use existing profile(s). I use here default profile as example.


## Set Mate Terminal Solarized Dark Theme ##
./solarized-mate.sh dark default

## Set Mate Terminal Solarized Light Theme ##
./solarized-mate.sh light default

Restart your terminal.

4. Screenshots

Solarized Dark Mate TerminalSolarized Light Mate Terminal

Check GitHub repo page.

4. Solarized Editors

4.1 Solarized Gedit

1. Get Solarized Gedit

Run following commands on ~/solarized directory.


git clone https://github.com/craig552uk/solarized-gedit.git

2. Install Globally (all users)


cp solarized-gedit/*.xml /usr/share/gtksourceview-3.0/styles/

Select your dark or light Solarized theme in Gedit Edit > Preferences > Font & Colors

3. Install Locally (one user)

  1. In Gedit Go to Edit > Preferences > Font & Colors
  2. Browse to Solarized Directory
  3. Click Add (+ sign)
  4. Select Dark or Light Solarized Theme xml File

4. Screenshots

Solarized Gedit PHP DarkSolarized Gedit PHP Light

Check GitHub repo page.

4.2 Solarized Vim

1. Get Solarized Vim

Run following command on ~/solarized directory.


git clone https://github.com/altercation/vim-colors-solarized.git

2. Copy Vim Solarized Color Theme

First make sure you have ~/.vim/colors/ directory


mkdir -p ~/.vim/colors

cp vim-colors-solarized/colors/solarized.vim ~/.vim/colors/

3. Add following to ~/.vimrc

Dark


syntax enable
set background=dark
colorscheme solarized

Light


syntax enable
set background=light
colorscheme solarized

4. Solarized Vim Screenshots

Solarized Vim DarkSolarized Vim Light

Check GitHub repo page.

5. Solarized IDEs

5.1 Solarized Eclipse

1. Get Solarized Eclipse

Run following command on ~/solarized directory.


hg clone https://bitbucket.org/LukeHoersten/eclipse-solarized-color-theme

2. Install Eclipse Color Theme plugin

Use Eclipse Market Place or download it from Eclipse Color Theme Plugin site.

3. Import Solarized theme XML files

Go to Preferences > General > Appearance > Color Theme.

Select Import and browse xml files.

4. Solarized Eclipse Screenshots

Solarized Eclipse IDE DarkSolarized Eclipse IDE Light

Check Bitbucket repo page.

5.2 Solarized NetBeans

1. Get Solarized NetBeans

Run following command on ~/solarized directory.


git clone https://github.com/fentie/netbeans-colors-solarized.git

2. Create Solarized zip file

Make sure that you have 7zip installed, then run following commands:


cd netbeans-colors-solarized/

7z a solarized.zip config/

3. Import solarized.zip file

Open NetBeans and select Tools > Options and select Import from lower left.

Browse your solarized.zip file from ~/solarized/netbeans-colors-solarized/ directory.

Restart NetBeans.

4. Select Solarized theme

Open NetBeans and go to Tools > Options > Fonts & Colors and select profile.

5. NetBeans Solarized Screenshots

Solarized NetBeans IDE DarkSolarized NetBeans IDE Light

Check GitHub repo page.

55 comments on “Solarized Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close