* Change background color?
@ 2004-02-04 22:14 Jonas Andersson
2004-02-05 0:20 ` Kevin Rodgers
2004-02-09 17:55 ` nospam55
0 siblings, 2 replies; 4+ messages in thread
From: Jonas Andersson @ 2004-02-04 22:14 UTC (permalink / raw)
Hi,
I just installed RedHat 9 and I run what seems Emacs 21.2. I'd like to
change the background color of Emacs into something else that white. I
looked at Google but I can't seem to work it out.
>emacs -bg gainsboro &
still gives me a white background. And how would I specify that
'gainsboro' should be the default background color when emacs is not
started from a shell?
Thanks a lot,
JA
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Change background color?
2004-02-04 22:14 Change background color? Jonas Andersson
@ 2004-02-05 0:20 ` Kevin Rodgers
2004-02-05 9:19 ` Gian Uberto Lauri
2004-02-09 17:55 ` nospam55
1 sibling, 1 reply; 4+ messages in thread
From: Kevin Rodgers @ 2004-02-05 0:20 UTC (permalink / raw)
Jonas Andersson wrote:
> I just installed RedHat 9 and I run what seems Emacs 21.2. I'd like to
> change the background color of Emacs into something else that white. I
> looked at Google but I can't seem to work it out.
>
> emacs -bg gainsboro &
>
> still gives me a white background.
Try specifying the -q and --no-site-file options before -bg COLOR.
> And how would I specify that
> 'gainsboro' should be the default background color when emacs is not
> started from a shell?
Put this in your ~/.Xdefaults file:
Emacs*Background: gainsboro
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Change background color?
2004-02-05 0:20 ` Kevin Rodgers
@ 2004-02-05 9:19 ` Gian Uberto Lauri
0 siblings, 0 replies; 4+ messages in thread
From: Gian Uberto Lauri @ 2004-02-05 9:19 UTC (permalink / raw)
Cc: help-gnu-emacs
>>>>> "KR" == Kevin Rodgers <ihs_4664@yahoo.com> writes:
>> I just installed RedHat 9 and I run what seems Emacs 21.2. I'd like
>> to change the background color of Emacs into something else that
>> white. I looked at Google but I can't seem to work it out.
>>
>> emacs -bg gainsboro &
>>
>> still gives me a white background.
KR> Try specifying the -q and --no-site-file options before -bg COLOR.
There are Elisp specific solutions for the problem.
Putting something like this in the .emacs file
(setq default-frame-alist '((cursor-color . "gold")
(background-color . "black")
(foreground-color . "#feffD9")
(height . 40)
(width . 80)
))
sets the default cursor color, background color, foreground color,
height and width of any other frame you create.
for the current frame
(set-background-color "gold")
(set-cursor-color "black")
(set-foreground-color "#feffD9")
do the job for colors :)
/\ ___
/___/\__|_|\_|__|___Gian Uberto Lauri_____________________
//--\ | | \| | Integralista GNUslamico e fancazzista
\/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Change background color?
2004-02-04 22:14 Change background color? Jonas Andersson
2004-02-05 0:20 ` Kevin Rodgers
@ 2004-02-09 17:55 ` nospam55
1 sibling, 0 replies; 4+ messages in thread
From: nospam55 @ 2004-02-09 17:55 UTC (permalink / raw)
For more general color settings, toy with
M-x list-colors-display RET
; for a display of all the color names and how they look like
, choose your favorite color names and see with
M-x list-faces-display
where to put them . It will need struggling but the health of your eyes
is more important ;-)
nospam55 .it
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-02-09 17:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-04 22:14 Change background color? Jonas Andersson
2004-02-05 0:20 ` Kevin Rodgers
2004-02-05 9:19 ` Gian Uberto Lauri
2004-02-09 17:55 ` nospam55
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).