LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-13-2007, 02:09 PM   #1
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
Border Around Xterm Windows


I created my own .Xresources to customize the xterm a little bit. Here is the content of ~/.Xresources:

Code:
xterm*Title: xterm
xterm*ToolBar: true
xterm*BorderWidth: 5
xterm*FreeBoldBox: true
xterm*LoginShell: true
xterm*ScrollBar: true
xterm*RightScrollBar: true
xterm*Thickness: 10
xterm*SaveLines: 1000
xterm*VisualBell: true
xterm*font: -*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*
After creating the file, I ran 'xrdb ~/.Xresources' and accidentally left out the '-merge' flag from the command. After I restarted, X got all of my xterm windows looking like this one: http://alkos333.net/ss.jpg

I tried looking in 'man xterm' for an attribute that would turn the border back on, but was unable to find it.

Could somebody please make a suggestion as to you i can restore the borders?
 
Old 01-13-2007, 04:40 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Try looking at "man X". Many of the attributes are common to many X windows so aren't in the man pages for the individual things like xterm. Such attributes are usually detailed in the X man page itself.
 
Old 01-13-2007, 05:54 PM   #3
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by jlightner
Try looking at "man X". Many of the attributes are common to many X windows so aren't in the man pages for the individual things like xterm. Such attributes are usually detailed in the X man page itself.
Well the border is only off for xterm windows and it's on for any other x app like xclock, or xcalc. I looked in 'man X' and couldn't find anything helpful.
 
Old 01-13-2007, 11:28 PM   #4
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
i created an .Xdefaults file, and loaded this into it...
Quote:
aterm*cursorColor:blue
aterm*colorMode:true
aterm*pointerColor:yellow
aterm*pointerColor2:yellow
aterm*borderWidth:0
aterm*tinting:#ffffff
aterm*loginShell:true
aterm*transparent:true
aterm*shading:50
aterm*background:white
aterm*foreground:light blue
aterm*scrollBar:false
aterm*fade: 60
!aterm*font: 9x15
aterm*font: 8x13
aterm*saveLines:4500
aterm*geometry:85x30
aterm*truetintingType:True
!
! colors
!
aterm*color0:rgb:00/00/00
aterm*color1:rgb:cc/66/66
aterm*color2:rgb:66/cc/66
aterm*color3:rgb:cc/cc/66
aterm*color4:rgb:66/66/cc
aterm*color5:rgb:cc/66/cc
aterm*color6:rgb:66/cc/cc
aterm*color7:rgb:cc/cc/cc
aterm*color8:rgb:63/33/33
aterm*color9:rgb:ff/99/99
aterm*color10:rgb:99/ff/99
aterm*color11:rgb:ff/ff/99
aterm*color12:rgb:99/99/ff
aterm*color13:rgb:ff/99/ff

xterm*cursorColor:blue
xterm*colorMode:true
xterm*pointerColor:red
xterm*pointerColor2:yellow
xterm*borderWidth:0
xterm*tinting:#ffffff
xterm*loginShell:true
xterm*transparent:true
xterm*shading:80
xterm*background:#dcdcdc
xterm*foreground:#800000
xterm*scrollBar:false
xterm*fade: 60
!xterm*font: 9x15
xterm*font: 8x13
xterm*saveLines:4500
xterm*geometry:85x30
xterm*truetintingType:True
!
! colors
!
xterm*color0:rgb:00/00/00
xterm*color1:rgb:cc/66/66
xterm*color2:rgb:66/cc/66
xterm*color3:rgb:cc/cc/66
xterm*color4:rgb:66/66/cc
xterm*color5:rgb:cc/66/cc
xterm*color6:rgb:66/cc/cc
xterm*color7:rgb:cc/cc/cc
xterm*color8:rgb:63/33/33
xterm*color9:rgb:ff/99/99
xterm*color10:rgb:99/ff/99
xterm*color11:rgb:ff/ff/99
xterm*color12:rgb:99/99/ff
xterm*color13:rgb:ff/99/ff
xterm*color14:rgb:99/ff/ff
xterm*color15:rgb:ff/ff/ff

mrxvt*cursorColor:blue
mrxvt*colorMode:true
mrxvt*pointerColor:yellow
mrxvt*pointerColor2:yellow
mrxvt*borderWidth:0
mrxvt*tinting:#ffffff
mrxvt*loginShell:true
mrxvt*transparent:true
mrxvt*shading:50
mrxvt*background:white
mrxvt*foreground:light blue
mrxvt*scrollBar:false
mrxvt*fade: 60
!mrxvt*font: 9x15
mrxvt*font: 8x13
mrxvt*saveLines:4500
mrxvt*geometry:85x30
mrxvt*truetintingType:True
!
! colors
!
mrxvt*color0:rgb:00/00/00
mrxvt*color1:rgb:cc/66/66
mrxvt*color2:rgb:66/cc/66
mrxvt*color3:rgb:cc/cc/66
mrxvt*color4:rgb:66/66/cc
mrxvt*color5:rgb:cc/66/cc
mrxvt*color6:rgb:66/cc/cc
mrxvt*color7:rgb:cc/cc/cc
mrxvt*color8:rgb:63/33/33
mrxvt*color9:rgb:ff/99/99
mrxvt*color10:rgb:99/ff/99
mrxvt*color11:rgb:ff/ff/99
mrxvt*color12:rgb:99/99/ff
mrxvt*color13:rgb:ff/99/ff
it's easily customized...play with it, make it your own.
 
  


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
xterm - howto lauch an xterm into a specific directory jobano Linux - Software 11 01-30-2023 04:45 AM
Is there a good free version of xterm for windows? ginda Linux - Software 1 03-23-2005 06:25 PM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 03:51 AM
Getting Xterm instead of GUI like windows DipeshKhakhkhar Linux - Software 1 10-27-2004 12:13 PM
xterm in windows shyam_d_sundar Linux - Software 2 07-20-2004 01:38 AM

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

All times are GMT -5. The time now is 07:52 PM.

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