SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-02-07 20:03:56

roguebuck
Member
Registered: 2011-01-29
Posts: 20

i played with my .xdefaults, now all windows have messed up fonts...

tN2J2Mw

the fonts all look terrible. the xdefaults i loaded must have had an issue. any thoughts?

here is my .xdefaults: (as you can see, i was mostly trying to play with the xterm colors)

xterm*faceName:           terminus:pixelsize=12
 !xterm*font:             -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1
 !xterm*boldFont:         -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1
 xterm*termName:         roguebuck@megatron: ~
 xterm*background:       #262729
 xterm*foreground:       #848484
 xterm*scrollBar:        false
 xterm*matcher.button:   1
 xterm*cursorBlink:      true
 xterm*cursorUnderline:  true
 xterm*cursorColor:      #b4b6b8
 xterm*colorBD:          #a6856c
 xterm*internalBorder:   3
 
 xterm.transparent:      true
 xterm*allow_bold:       true
 
 Xft*dpi:                96
 Xft*antialias:          false
 Xft*hinting:            full
 
 xterm*urgentOnBell:     true
 xterm*inheritPixmap:    true
 xterm*tintColor:        #000000
 xterm*shading:          50
 
 
 !black:
 xterm*color0:           #4a4a4b
 xterm*color8:           #5c5c5f
 !red:
 xterm*color1:           #945762
 xterm*color9:           #b58b8a
 !green:
 xterm*color2:           #749457
 xterm*color10:          #94b58a
 !yellow:
 xterm*color3:           #927d56
 xterm*color11:          #b5ab8a
 !blue:
 xterm*color4:           #576494
 xterm*color12:          #8a98b5
 !magenta:
 xterm*color5:           #815794
 xterm*color13:          #a78ab5
 !cyan:
 xterm*color6:           #579490
 xterm*color14:          #8aaeb5
 !white:
 xterm*color7:           #9e9f9e
 xterm*color15:          #c1c3c2

i used

xrdb -merge .xdefaults

to load

Offline

Help fund CrunchBang, donate to the project!

#2 2011-02-07 22:39:04

gutterslob
#! Resident Bum
Registered: 2009-11-03
Posts: 3,137

Re: i played with my .xdefaults, now all windows have messed up fonts...

^I'm not sure I understand what going on here.

Your .Xdefaults affect your terminal emulator, but the image you're showing is that of a GTK app/theme. O_o?
For what it's worth, I've never applied the "xrdb -merge .xdefaults" command before, so I'm not exactly sure what it does (never had to since Urxvt and Xterm always read my .Xdefaults just fine)

You say this problem only started after you created an .Xdefaults file?... weird.

Just to narrow things down a bit, did you try changing your GTK fonts via lxappearance (I assume you're on Statler Openbox)? Does it still show the same "scrunched up" look for all typefaces?

Last edited by gutterslob (2011-02-07 22:39:19)


Point & Squirt

Offline

#3 2011-02-08 06:24:14

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,282

Re: i played with my .xdefaults, now all windows have messed up fonts...

Possibly important:  Are your Conky and the right-click menu also affected?  If not, lxappearance may be able to fix this.

There is one thing in your .xdefaults that screams at me:

Xft*antialias:          false

In a perfect world, all operating systems would look as pretty as this when displaying fonts without antialiasing; unfortunately, the days of System 6 are long gone.  Try changing that line to 'true'.

Offline

#4 2011-02-08 07:41:58

roguebuck
Member
Registered: 2011-01-29
Posts: 20

Re: i played with my .xdefaults, now all windows have messed up fonts...

wow. ok. i misunderstood. i had made the connection between .xdefaults and the rest of my windows because there was an instantaneous change in all windows when i loaded the xdefaults. i gathered the merged xdefaults affected the other windows. it does not? excuse my ignorance.

@pvsage - neither right click menu nor conky affected

Offline

#5 2011-02-08 07:46:41

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,282

Re: i played with my .xdefaults, now all windows have messed up fonts...

OK, so we know at least Openbox is not affected.  Have you tried changing antialiasing to 'true' and restarting X?

Offline

#6 2011-02-08 07:47:54

roguebuck
Member
Registered: 2011-01-29
Posts: 20

Re: i played with my .xdefaults, now all windows have messed up fonts...

pvsage wrote:

Possibly important:  Are your Conky and the right-click menu also affected?  If not, lxappearance may be able to fix this.

There is one thing in your .xdefaults that screams at me:

Xft*antialias:          false

In a perfect world, all operating systems would look as pretty as this when displaying fonts without antialiasing; unfortunately, the days of System 6 are long gone.  Try changing that line to 'true'.

you sir, are a winner.

worked like a charm.

so, now im trying to understand this: when i -merge'd the xdefaults the first time, my 'false' argument over-rode (what must have been)  the default setting of 'true'?

Offline

#7 2011-02-08 07:49:22

roguebuck
Member
Registered: 2011-01-29
Posts: 20

Re: i played with my .xdefaults, now all windows have messed up fonts...

didnt even have to restart X.  editing my .xdefault and -merging it worked. just closed and re-opened applications

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo