LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-17-2006, 11:36 AM   #1
x-angelos
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
color fonts on xterm


I have just istalled the latest version of slackware.
i want to have my fonts colored on xterm and i want it permanently.
I also want if it is possible to be my xterm window transparent when i open it.

How do i do all that staff?
Does anybody know how i set some variables like the colors or the transparency or even the time?

PLEASE HELP ME BEGIN!!!
 
Old 02-17-2006, 03:07 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
xterm does not support transparency that I know of but you are in luck, aterm does.
http://www.linuxpackages.net/search_...aterm&ver=10.2
I think you will need imlib2
http://www.linuxpackages.net/search_...mlib2&ver=10.2
Do something like this in your /home/yourname
Code:
touch .Xdefaults
Add this to it, you can use pico or nano
http://www.gentoo.org/doc/en/nano-basics-guide.xml
Code:
aterm*cursorColor: green
aterm*colorMode: true
aterm*borderwidth: 0
aterm*pointerColor: yellow
aterm*transparent: true
aterm*shading: 60
aterm*background: black
aterm*foreground: white
aterm*scrollBar: false
aterm*fading: 60
aterm*saveLines:4500
aterm*geometry: 90x25+20+5
aterm*loginShell: True
aterm*font: -*-terminus-medium-*-*-*-16-*-*-*-*-*-iso8859-1
use xfontsel to find a font and change the forground color for the fonts
or use xedit and copy and paste to save typing -

Last edited by comprookie2000; 02-17-2006 at 03:15 PM.
 
Old 02-17-2006, 09:11 PM   #3
johndoe0028
Member
 
Registered: Jun 2005
Location: CA, USA
Distribution: Gentoo
Posts: 165

Rep: Reputation: 30
xterm doesn't support transparency as far as I know. Howeer, you can run an xterm with the desired font color and background color.

xterm -fg [color] -bg [color]

-fg sets the foregorund (text) color. This can be an rgb value, or a named color.

ex. -fg green
or -fg rgb:00/ff/00

Same applies to -bg


If you wan't transparency, I'd go with aterm, as comprookie2000 suggested.
 
Old 02-17-2006, 09:37 PM   #4
mbreith
Member
 
Registered: Feb 2006
Location: oregon
Distribution: PIII fedora2 | P4 fedora2 | Thinkpad fedora2
Posts: 54

Rep: Reputation: 15
Quote:
i want to have my fonts colored on xterm and i want it permanently.
Do you mean the different colors for the different file types and directories? I remember on suse there were two or three different terminal emulators and one of them was not colored. I didn't use that one for very long.
 
  


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 17 04-30-2016 04:46 AM
[xterm] no color Warder Linux - Software 1 11-20-2005 04:05 PM
xterm color scheme chunlee Linux - Software 1 12-20-2004 06:49 PM
How to get xterm color. dejavu_01 Linux - Newbie 1 05-24-2004 11:31 AM
Xterm font color aeruzcar Linux - Software 7 10-11-2003 10:15 PM


All times are GMT -5. The time now is 07:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration