Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-23-2003, 08:04 AM   #1
Registered: Jun 2003
Distribution: Mandrake 10.1 Official
Posts: 157

Rep: Reputation: 30

How do I change the foreground (text) colour in xterm *permanantly*?
I have a black background and when I start xterm up I cant see the text so I issue the command "xterm -fg white" which works fine but I have to to that everytime I start xterm up

Also, I would like a transparent background and ive added the line "xterm*inheritPixmap: True" in my /home/.xresources file but that doesnt seem to wrok either.

Old 10-23-2003, 10:43 AM   #2
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Rep: Reputation: 30
You can do man things to do that
You can edit your .bashrc profile and add a line with an alias
for example:

newxterm='xterm -fg white'

With that every time you run newxterm it should start like that.
Anoyther thing you can do, I do this in KDE I added a button in the task bar, and in the properties of the special button I added the option I need in your case it would be -fg white
Old 10-23-2003, 10:44 AM   #3
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
Well, depending on which desktop environment/window manager you're using, you could create a link (shortcut) on your desktop, or in your launch menu.

Regarding transparency, I'm not sure if xterm supports that (anybody know?), but I really like aterm, which supports all kinds of transparency, tinting, and whatnot.
Old 10-23-2003, 04:55 PM   #4
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Yeah, afaik, xterm has no support for transparency.


xterm*foreground: white
xterm*background: black

in .Xdefaults works and there's all the other options mentioned and other ways too. aterm and eterm are nice, with transparency. rxvt's nice, but it doesn't (or didn't) do transparency either.

Last edited by slakmagik; 10-23-2003 at 04:58 PM.


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
xterm - howto lauch an xterm into a specific directory jobano Linux - Software 8 02-26-2008 04:18 PM
xterm peter1 Linux - General 1 02-26-2005 08:47 AM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 04:51 AM
xterm wogga Linux - Software 7 06-02-2004 08:27 AM
xterm basiaco Linux - Software 4 02-25-2004 12:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:21 AM.

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