LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   emacs console mode : change background colour (https://www.linuxquestions.org/questions/linux-hardware-18/emacs-console-mode-change-background-colour-867992/)

ravi.xolve 03-11-2011 01:55 PM

emacs console mode : change background colour
 
I am using GNU Emcas 23.2.1 in console mode on Konsole. It has white background colour. I want to change it to black. How can I do this?

corp769 03-11-2011 02:43 PM

http://homepages.inf.ed.ac.uk/s0243221/emacs/

Does this help?

ravi.xolve 03-12-2011 01:15 AM

Yes. Thanks :)

corp769 03-12-2011 01:32 AM

No problem!

Josh

faizlo 11-09-2011 10:54 PM

It didn't work for me :(
I added these few lines
Code:

;; ========= Set colours ==========

;; Set cursor and mouse-pointer colours
(set-cursor-color "red")
(set-mouse-color "goldenrod")

;; Set region background colour
(set-face-background 'region "blue")

;; Set emacs background colour
(set-background-color "black")

I am also using emacs on console in Konsole.

===== Edit ====
I added these lines instead of the above ones and I had my emacs running on the terminal fine:
Code:

(set-background-color "black")
(set-face-background 'default "black")
(set-face-background 'region "black")
(set-face-foreground 'default "white")
(set-face-foreground 'region "gray60")
(set-foreground-color "white")
(set-cursor-color "red")

I hope this may help others.

faizlo

~faizlo


All times are GMT -5. The time now is 07:43 AM.