LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-28-2006, 02:24 AM   #1
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Rep: Reputation: 30
xterm background color


Hi
I want to see xterm background color black. so I created a file in my home/dir

.Xresources

$ cat .Xresources
XTerm*bg: black

but that did not do it.

what do I need to do?

thanks
 
Old 09-28-2006, 02:57 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
$HOME/.Xdefaults
if you don't want a color then
XTerm*colorMode: off

or you can start xterm -cm then it's mono

you can choose between 16 RGB color types all explained in man pages.
to test it you can issue the command:
xrdb -merge $HOME/.Xdefaults

for e.g. color 3 as darkred would be
XTerm*color3: darkred

you also can use the xtermset-Homepage from here
then you could for e.g. set a blinking red coursor like this
xtermset tc Red
and also use another title like this
xtermset title "Linux rocks"
and with xtermset bg you would change the backgroud.

hope you'll be happy then :-)
 
Old 09-28-2006, 05:08 AM   #3
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
thanks,
I am not sure whats wrong with this, I created a file $HOME/.Xdefaults and in it I placed the lines;
xtermset bg: Black
xtermset tc: Red
xtermset title: "Linux rocks"

I tried without the colon and it complained it wants it, I tried with "*" between xterm and bg it did not change any thing when I issued either of the commands
[fred@localhost ~]$ xrdb -merge .Xdefaults
[fred@localhost ~]$ xrdb -load .Xdefaults
 
Old 09-28-2006, 05:12 AM   #4
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
xtermset is a tool
you'll have to download and do this make install stuff ;-)
 
Old 09-28-2006, 05:29 AM   #5
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
is there a known good repository to get the .rpm file or google and get what ever comes first in the list?
 
Old 09-28-2006, 05:51 AM   #6
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
Here you can download it
http://freshmeat.net/projects/xtermset/
and then tar xzvf xtermset-0.5.2.tar.gz
cd xtermset-0.5.2
./configure
make install

then you can use the xtermset functions
 
Old 09-30-2006, 06:48 AM   #7
danimal87
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 18

Rep: Reputation: 0
You should also note that whenever you change your .Xdefaults you must restart x before it takes effect. That threw me for a loop when I first tried messing with colors in xterm.
 
  


Reply



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 do I change the background color of xterm permanently? vxc69 Linux - Software 9 01-22-2018 01:30 PM
How to change background and fonts color in xterm? macondo Debian 17 04-30-2016 04:46 AM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 03:51 AM
Change background in solaris and Xterm background also EvilAngel Solaris / OpenSolaris 2 01-31-2005 11:25 AM
Background and Xterm transparent background EvilAngel Linux - General 1 01-31-2005 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:26 AM.

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