GNU Emacs in X Window or Xorg

By | March 25, 2006

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”.


Leave Your Comment

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

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>