./Xdefaults

Does SuSE 11.3 hava a problem reading Xdefaults? I can’t get any term (aterm/xterm/etc) to read from the file. I would post my Xdefaults but it’s so missed up at this point…

If this is an issue with suse please comment. If not, ignore me and I’ll figure it out.

TTFN
John

ogbi-web kenobi wrote:

>
> Does SuSE 11.3 hava a problem reading Xdefaults? I can’t get any term
> (aterm/xterm/etc) to read from the file. I would post my Xdefaults but
> it’s so missed up at this point…
>
> If this is an issue with suse please comment. If not, ignore me and
> I’ll figure it out.
>
>

AFAIK none of the ?term programs read ~/.Xdefaults or ~/.Xresources
directly, but use the resources that were set up by xrdb at login/startx
time.

What have you tried to get xterm to do your bidding?

I’m trying to do what I “thought” .Xdefaults/.Xresources were for; customize font color, background, etc. All I get with xterm is the default white on black. Aterm, I was simply seeing if it would work. I don’t know where it is getting a green background from.

As far as use, aterm|xterm, I could care less which I use, the thing I normally have and am use to is a borderless/transparent term on my desktop (for quick use). For some reason SuSE 11.3 wont cooperate!

This isn’t a big deal, but after tinkering with this issue on and off for a few weeks, I thought… maybe it’s not me and started blaming it on the computer :wink:

Here’s my .Xdefaults: It’s a mess.
! If changing things in this file doesnt result in changes in your term
! you should run ‘xrdb -load ~/.Xdefaults’

!-------------------------------------------------------------
xtermeightBitInput: false
xterm
scrollTtyOutput: false
xtermscrollKey: true
xterm
saveLines: 2048

xtermScrollbarthickness: 5
xtermScrollbarbackground: #000000
xtermScrollbarforeground: #4e71ad

xtermbackground: black
xterm
foreground: black
!xtermreverseVideo: true
xterm
reverseVideo: false

!-------------------------------------------------------------
*VT100.eightBitInput: false
*VT100.scrollTtyOutput: false
*VT100.scrollKey: true
*VT100.saveLines: 1000

*VT100.Scrollbar.thickness: 5
*VT100.Scrollbar.background: #c6c6c6
*VT100.Scrollbar.foreground: #4e71ad

!black
*color0: #000000
!red
*color1: #880000
!green
*color2: #008800
!yellow
*color3: #888800
!blue
*color4: #0808ff
!purple
*color5: #880088
!cyan
*color6: #008888
!white
*color7: #aaaaaa

!bright-black
*color8: #666666
!bright-red
*color9: #ff0000
!bright-green
*color10: #00ff00
!bright-yellow
*color11: #ffff00
!bright-blue
*color12: #5555ff
!bright-purple
*color13: #ff00ff
!bright-cyan
*color14: #00ffff
!bright-white
*color15: #ffffff

! Color section

!xtermbackground: #000000
!xterm
foreground: #cfcfcf
!xterm*cursorColor: #cdc092

! Nice for manpages
!xtermunderLine: on
!xterm
colorMode: on
xtermcolorBD: lightyellow
!xterm
colorBDMode: off
xtermcolorUL: blue
!xterm
colorULMode: on

xtermdynamicColors: on
xterm
highlightSelection: true

!xtermeightBitInput: false
xterm
metaSendsEscape: true
!xtermoldXtermFKeys: true
xterm
charClass: 33:48,35-38:48,39:43,42-47:48,58-59:48,61:48,63-64:48,126:48
!xterm*charClass: 46-47:48,58:48,64:48,63:48,95:48,126:48,61:48,37:48,35:48,43:48,36:48

! Other settings

xtermVT100.Translations: #override
<Key>BackSpace: string(0x7F)
!

! <Key>Delete: string("\033[3~")

! <Key>Home: string("\033OH")

! <Key>End: string("\033[4~")
! <Key>Home: string("\033[1~")

xterm
ttyModes: erase ^?

! Suggested by denek
! VT100backarrowKey: false

!xtermbackarrowKeyIsErase: true
!xterm
backarrowKey: true
!xtermborderWidth: 0 doesnt do anything
xterm
internalBorder: 0
!xtermmodifier: alt
!xterm
saveLines: 2048
xtermscrollBar: false
!xterm
titeInhibit: true

xtermrenderFont: false
!xterm
faceName: terminus
!xtermfaceName: fixed
!xterm
faceSize: 8
xtermfont: -xos4-terminus-medium-r-normal--12-------*
!xtermfont: -xos4-terminus-medium-r-normal--24-------*
!xtermfont1: -xos4-terminus-medium-r-normal--24-------*
xtermfont2: -misc-fixed-medium-r-normal-sans-9-90-75-75-m-50-iso8859-1
!xterm
font3: -xos4-terminus-medium-r-normal--24-------
!xtermfont4: -xos4-terminus-medium-r-normal--24-------*
!xtermfont5: -xos4-terminus-medium-r-normal--24-------*
!xtermfont6: -xos4-terminus-medium-r-normal--24-------*
!xtermfont7: -xos4-terminus-medium-r-normal--24-------*
!xtermfont8: -xos4-terminus-medium-r-normal--24-------*
xterm*termName: xterm

!xtermrenderFont: true
!xterm
faceName: fixed
!xtermfaceSize: 8
!xterm
termName: Monotone

!xtermfaceName: Vera sans mono
!xterm
faceSize: 15
!xterm*termName: xterm-xfree86

!
! These are aterm specific
!

! <lizr> atermfont: -xos4-terminus-medium-r-normal–16-160-72-72-c-80-iso8859-1
! <lizr> aterm
transparent: true
! <lizr> atermshading: 50
! <lizr> aterm
fading: 25
! <lizr> atermcursorColor: white
! <lizr> aterm
scrollBar: off
! <lizr> atermforeground: darkgray
! <lizr> aterm
background: black

!AtermpointerColor: black
!Aterm
transparent: false
!Atermshading: 70
!Aterm
fading: 80

!AtermtextType: or
!Aterm
tintingType: invert
!Atermtinting: magenta
!Aterm
tinting: grey40

Atermcutchars: !""$%’’()+,;<>[]^`{|}
Atermfont: fixed\ 8
!Aterm
font: -xos4-terminus-medium-r-normal–16-160-72-72-c-80-iso8859-1
!Atermfont: ter-124b
Aterm
loginShell:true
Atermtransparent:true
Aterm
shading:40
Atermbackground:Black
Aterm
backgroundPixmap : ~/Pictures/goth.jpg
Atermforeground:White
Aterm
scrollBar:true
AtermscrollBar_right:true
Aterm
transpscrollbar:true
AtermsaveLines:32767
!Aterm
font:--fixed-medium-r-normal–-110-----iso8859-1
Aterm
boldFont:--fixed-bold-r-normal–--110-----iso8859-1

rxvt*font: ter-124b
rxvt.termName: rxvt

! These are for a tranparent mouse in XFree86 4.3 and later
Xcursor.size: 16
Xcursor.theme: whiteglass

! XDvi
XDvimfMode: ljfour
XDvi
pixelsPerInch: 1200
XDvishrinkFactor: 8
!XDvi
paper: a5
XDviwwwBrowser: x-www-browser
XDvi
thorough: true
XDviforeground: #202020
XDvi
background: #eeeeee
XDviunderLink: true
XDvi
font: ter-120b

TTFN
John

With KDE installed,

I made all those “appearance” customizations from within the Konsole GUI, clicking on “Edit Profile”

Yes, I found the default black lettering on white background strange…

Looks like those edits only apply to BASH, not xterm if it makes a diff to you…

HTH,
Tony

Not openSUSE has the problem but KDE. Create the file xresources.rc.sh (the name is up to you) in ~/.kde4/Autostart (create this directory if needed) with the following or a similar content (depending on the file you’re using in your system):

#!/bin/bash
xrdb /etc/X11/xinit/.Xresources

It works most of the time but not always. However Xresources settings don’t survive a new session. You’ll have to close aterm an open it again.

  • I forgot to say that you have to make this file executable.

Such settings apply to kde konsole, not to other (older) terminals like aterm, xterm, rxvt, wterm, etc, all using Xresources.

ogbi-web kenobi wrote:
> I’m trying to do what I “thought” .Xdefaults/.Xresources were for;
> customize font color, background, etc.

there are about a thousand instances of “color” in man xterm, follow
them to find jillion of ways to specify your color choices as command
line options:

xterm [options]

or, you could make an alias…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

Did you try that? Then exit and restart aterm.

Don’t mean to dig up an old post, but I just wanted to update how this turned out and the lessons I’ve learned.

Let’s start with the simple: Xterm. The reason I couldn’t get Xterm to read(and yes it does indeed read) from .Xdefaults is Xterm was taking on KDE colors because I had “Use KDE fonts and colors” checked in the Fonts configuration of “Configure Desktop”. Once I unchecked that everything was fine. Simple!

Aterm was a different story. It boils down to this. If you want pixmap support or anything a configuration option you have to install the AfterStep libs. Which means installing the AfterStep WM. Something I decided wasn’t worth the eye candy. Yakuake is better, simplier, and is an F12 away.

Sumed up Xterm configured. Aterm, not worth installing another WM I wouldn’t ever use.

Lessons learned: Sometimes you have to weigh the worth of the eye candy by the amount of trouble and performance it’s going to cost. “Free as in Freedom of Speach”. But it all comes with a cost.