LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-26-2004, 10:26 AM   #1
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 385

Rep: Reputation: 33
How do I change the background color of xterm permanently?


How do I go about changing the background color of xterm permanently so that next time I run xterm, it'll have the bg' color I chose?

Thanks,
vxc
 
Old 10-26-2004, 10:49 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,747

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
man xtermset
 
Old 10-26-2004, 11:28 AM   #3
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 385

Original Poster
Rep: Reputation: 33
Thanks for the reply bigrigdriver!

xtermset allows me to change the bg color dynamically.

But, I would like to know if it is possible to change the bg color permanently so that I don't have to change it everytime I use xterm.


Thanks again,
vxc
 
Old 10-26-2004, 11:47 AM   #4
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 385

Original Poster
Rep: Reputation: 33
I tried what mrcheeks had said in this thread.

I can change the cursor color and the font size using mrcheeks method. The bg and foreground colors don't seem to change.

This is my XTerm file:
Code:
XTerm*background: black
XTerm*cursorColor: lightgrey
XTerm*foreground: white
XTerm*saveLines: 1024
XTerm*scrollBar: true
vxc

Last edited by vxc69; 10-26-2004 at 11:50 AM.
 
Old 10-26-2004, 11:48 AM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,747

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Please re-examine man xtermset. The -store option should store the options you want in .xtermsetrc in your home directory.
 
Old 10-26-2004, 11:56 AM   #6
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 385

Original Poster
Rep: Reputation: 33
Quote:
Originally posted by bigrigdriver
Please re-examine man xtermset. The -store option should store the options you want in .xtermsetrc in your home directory.
Yeah I did use the '-store' flag to store my settings to .xtermsetrc.

xtermset uses the .xtermsetrc file only when I use the '-default' flag. Unfortunately I cannot use it to change my xterm settings permanently.

vxc
 
Old 11-19-2004, 02:09 PM   #7
kenng
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora
Posts: 1

Rep: Reputation: 0
In case you don't have xtermset (ie: Fedora Core 3), you can edit the.Xdefaults file in your home directory. Look at /usr/lib/X11/app-defaults/XTerm for example settings.
 
Old 11-19-2004, 02:27 PM   #8
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
another simple way is to alias xterm with xterm -bg <something>....
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change background and fonts color in xterm? macondo Debian 12 03-07-2014 08:42 AM
Change font color xterm aeruzcar Linux - Software 3 01-04-2012 04:48 PM
Change background in solaris and Xterm background also EvilAngel Solaris / OpenSolaris 2 01-31-2005 11:25 AM
Change background color chingyenccy Linux - Newbie 6 01-23-2005 03:17 AM
Is there a way to change background color out of X? purpleburple Linux - General 1 01-23-2003 08:32 AM


All times are GMT -5. The time now is 04:14 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