Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old May 22nd, 2008   #1
saaz
5 Cups of Ubuntu
 
saaz's Avatar
 
Join Date: Mar 2006
Location: Tempe, AZ
Beans: 18
Ubuntu 8.04 Hardy Heron
HOWTO: Beautiful Emacs

The standard emacs package for Hardy looks incredibly horrible. The main reason for this is the ugly font it uses. The ugliness is exacerbated on large monitors. Anti-Aliased fonts improve the look tremendously. Unfortunately, the standard package doesn't support this...but the 'emacs-snapshot' package does. You'll need the universe repository enabled and then from a terminal:

Code:
apt-get install emacs-snapshot
Edit the file: ~/.Xdefaults (which probably doesn't exist yet)
Add the following line to this file:
Code:
Emacs.font: Monospace-10
Monospace-10 is one of the AA fonts.

Either restart X or just type the following form the terminal:

Code:
xrdb -merge ~/.Xdefaults
When you start emacs make sure you run "emacs-snapshot-gtk" and not the standard package, "emacs" in case you also have that installed.

I'd also recommend setting up a color theme with the color-theme library. Get it by typing this in a terminal:

Code:
apt-get install emacs-goodies-el
Start emacs and do (M-x = hit the esc key and then the x key, RET = the Enter key):
Code:
M-x load-library RET
color-theme
Then do:
Code:
M-x color-theme-select
Hit RET on each theme name to see it, 'd' to get a description including the real name of the theme.

Once you have a theme you like, you can put it in your ~/.emacs so it'll load every time. If I want the "Gnome 2" theme, I'd put:

Code:
(require 'color-theme)
(color-theme-gnome2)
ColorTheme site:
http://www.emacswiki.org/cgi-bin/wiki/ColorTheme
saaz is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:48 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry