SWAT /

Emacs Colors

Reading

Outdoors

Games

Hobbies

LEGO

Food

Code

Events

Nook

sidebar

Emacs Colors

Emacs Colors

color-theme

This is how I'm currently setting my colors and fonts in Emacs 23 on Ubuntu Maverick, in my .emacs:

(add-to-list 'load-path
             "/usr/share/emacs23/site-lisp/emacs-goodies-el")
(require 'color-theme)
(color-theme-initialize)
(eval-after-load "color-theme"
  (if (not (eq (symbol-value 'window-system) nil))
    (color-theme-gnome2)
    (color-theme-arjen)
))

To get the color-theme and other useful packages on ubuntu, install the emacs-goodies-el package.

Default Colors

This is how I was setting my colors and fonts in Emacs 23 on Ubuntu Lucid:

Emacs*.pointerColor:Orchid
Emacs*.cursorColor:Orchid
Emacs*.bitmapIcon:on
Emacs*.background: DarkSlateGray
Emacs*.foreground: Wheat
Emacs*font: -unknown-Inconsolata-normal-normal-normal-*-11-*-*-*-m-0-iso10646-1

To get the Inconsolata font, you have to install the ttf-inconsolata package. After adding the above to your .Xdefaults file, you have to trigger the change in X by running:

xrdb -merge .Xdefaults
Recent Changes (All) | Edit SideBar Page last modified on October 19, 2010, at 02:14 PM Edit Page | Page History