Navigation


RSS: 2.0



GNU Emacs in X Window or Xorg

You can change some visual characteristics of Emacs creating ~/.Xresources file (in your home directory). For example:

!Change default window size
Emacs.geometry: 80x60+0+0
!Change font type and size
Emacs*Font: -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1
!Disable the toolbar
Emacs*toolBar: 0
!Colors
Emacs.background: white
Emacs.foreground: black

If you want to know all the font types available in your system use xlsfonts. To enable this configuration you have two options: restart the X Window/Xorg or execute this

$ cd
$ xrdb .Xresources

Any other customization on Emacs goes in ~/.emacs configuration file. You can write your own configuration by hand or using M-x customize-variable. An example?,... take a look to my own "dot emacs".

Last Updated ( Tuesday, 14 August 2007 )

< Prev   Next >
Creative Commons License
Except where otherwise noted, this site is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.