LinuxQuestions.org
Review your favorite Linux distribution.
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, 01: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, 02:43 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

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

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

Original Poster
Rep: Reputation: 15
Yes. Thanks
 
Old 03-12-2011, 01:32 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
No problem!

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

Rep: Reputation: Disabled
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 10: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 02:50 AM
How to Change Console Text Colour flamesrock Linux - Software 3 05-10-2005 07:49 PM
emacs background colour karan101 Linux - Software 2 11-19-2004 10:23 PM
change video mode on console jlinkels Linux - Software 4 10-20-2004 07:42 PM
16 colors background console mode bretzeltux Programming 3 05-11-2004 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration