LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-11-2011, 02:55 PM   #1
ravi.xolve
Member
 
Registered: Jul 2006
Posts: 89

Rep: Reputation: 15
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?
 
Old 03-11-2011, 03:43 PM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
http://homepages.inf.ed.ac.uk/s0243221/emacs/

Does this help?
 
Old 03-12-2011, 02:15 AM   #3
ravi.xolve
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Yes. Thanks
 
Old 03-12-2011, 02:32 AM   #4
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
No problem!

Josh
 
Old 11-09-2011, 11:54 PM   #5
faizlo
Member
 
Registered: Sep 2008
Location: USA
Distribution: Linux Mint Qiana
Posts: 188

Rep: Reputation: 15
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

Last edited by faizlo; 11-09-2011 at 11:59 PM.
 
  


Reply

Tags
console, emacs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change the background color of mc on edit mode? rlee923 Linux - Software 1 09-05-2007 03:50 AM
How to Change Console Text Colour flamesrock Linux - Software 3 05-10-2005 08:49 PM
emacs background colour karan101 Linux - Software 2 11-19-2004 11:23 PM
change video mode on console jlinkels Linux - Software 4 10-20-2004 08:42 PM
16 colors background console mode bretzeltux Programming 3 05-11-2004 09:46 PM


All times are GMT -5. The time now is 01:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration