LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-23-2003, 04:08 AM   #1
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Rep: Reputation: 30
Is there a way to change background color out of X?


Hi. I use just the plain ol' black screen (without being in X) most of the time for programming in vim etc. Was just wondering if there's a way to change the background from black to another color while OUT OF x-windows. I know the text can display in color but wasn't sure if the black background was just unlit area of the screen.


thanks
 
Old 01-23-2003, 08:32 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
There are several ways to do it. You can do it by echoing Esc codes to the terminal. But the easiest way is probably to use tput. You could do something like:

tput setb 1 && clear

If that doesn't work then you could try something like:

echo "^[[0;34;43m" && clear

The ^[ should be one character not two. You should type it in by keeping the CTRL key pressed and the pressing v and then [.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change background color of helpwindow m.harshavardhan Linux - Software 0 10-04-2005 01:05 AM
Change Background Color/Image tonyfreeman Programming 1 03-11-2005 02:32 PM
Change background color chingyenccy Linux - Newbie 6 01-23-2005 03:17 AM
how to change the background color behind splash screen ? coolamit78 Linux - Software 3 03-16-2004 04:49 AM
How can i change the background color of kghostview? TheoZhang Linux - Software 0 09-03-2003 05:09 AM


All times are GMT -5. The time now is 04:23 AM.

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