> I know this is not a very very important question but I would like to know
> how to change the background of my emacs.
> I use the command :
>> (set-background-color "gray")
>> and when I launch emacs, I see the correct color during 1 or 2 sec and the
> default background comes. Does somebody can help me ?
Try something like this in your .emacs:
'((menu-bar-lines . 1)
(top . 105)
(left . 265) (width . 80) (height . 40)
(background-color . "gray")
(modeline-foreground-color . "white")))
Look at the docs for default-frame-alist (in Emacs, put the cursor
on the variable name, and do C-h v RET) to see what's going on.
Elements in the list are optional -- i.e. you don't have to set the
X-window geometry, for instance.
Also look at initial-frame-alist if you want the first frame to be
different from the subsequent ones.
Brendan Halpin, Dept of Government and Society, Limerick University, Ireland
Tel: w +353-61-213147; f +353-61-202569; h +353-61-385276; Room S1-03 x 3147
<mailto:brendan.halpin at ul.ie> <http://wivenhoe.staff8.ul.ie/~brendan>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!