Topic: miniHOWTO: Solarize your terminal emulator and editor!
Knowing absolutely nothing about X colors, I came across this very Applesque advertisement for recoloring your text environments, http://ethanschoonover.com/solarized, and decided to give it a shot.
Terminal emulator: For using the colors in rxvt-unicode and the like, all you have to do is copy https://github.com/altercation/solarize
Xresources and paste it into a file called ~/.Xresources, which won't exist unless you make it. Alternatively, download this file, decompress it, and rename it as your ~/.Xresources. Then (re)load this file:
xrdb -merge ~/.Xresourcesand you're ready to go.
Editor: I use Emacs. The files for Emacs live in https://github.com/sellout/emacs-color-theme-solarized and can be downloaded as a tarball here https://github.com/sellout/emacs-color- all/master.
But first be sure you have color-theme mode in your Emacs. You can get it from the Debian and Ubuntu repo's in emacs-goodies-el which you should always install with Emacs anyway.
Now decompress the tarball linked to above, and copy the files to your ~/.emacs.d folder
cd ~/Downloads/
tar -xvzf sellout-emacs-color-theme-solarized-cfa6d87.tar.gz
cd sellout-emacs-color-theme-solarized-cfa6d87
cp * ~/.emacs.dNow configure your ~/.emacs to load color-theme and the new colors.
(add-to-list 'load-path "~/.emacs.d/") ; tells Emacs to load files in this directory
(require 'color-theme) ; tells Emacs to always enable color-theme mode
(color-theme-initialize) ; not necessary for the Solarized colors, but this tells Emacs to load all the color-themes at startup so that you can immediately switch between them if you wish
(require 'color-theme-solarized) ; tells Emacs to enable Solarized colorsLastly, to load the colors, do
M-x color-theme-solarizedand pick light or dark. What's great here is that 1) like all Emacs colors, they're a minor-mode, so you can load them interactively; 2) according to their author, they're the inverse of each other so you retain some consistency between light and dark setups, which I strongly recommend you switch between according to lighting conditions.
Last edited by dmhdlr (2011-11-16 21:34:29)