Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#210 .Xdefaults ignored in Red Hat Linux 8.0

release
closed-fixed
nobody
Program (402)
3
2003-06-21
2002-10-04
Alejandro Mota
No

I upgraded from RH 7.3 to RH 8.0. I had customized
Nedit's text foreground and background colors, among
other things, using .Xdefaults, as indicated in Nedit's
documentation. When upgrading to RH 8.0, however, these
settings are ignored.

Here is my .Xdefaults:

nedit*text.background: black
nedit*text.foreground: #AAF
nedit*text.selectForeground: black
nedit*text.selectBackground: #AAF
nedit*text.highlightBackground: white
nedit*text.cursorForeground: white

My machine is an IBM thinkpad A30p with an ATI Mobility
Radeon graphics card.

Discussion

  • Scott Tringali
    Scott Tringali
    2002-10-04

    Logged In: YES
    user_id=11321

    This might be a KDE "feature". Some versions decide to push
    resources onto us in a way we can't "defend" against it.
    Last I remember, there is a "Make non-KDE apps looks like
    KDE". It sounds like you want to disable that.

    Try "appres nedit" and "appres NEdit" to see if KDE is
    indeed doing this.

     
  • Scott Tringali
    Scott Tringali
    2002-10-04

    • priority: 5 --> 3
     
  • Alejandro Mota
    Alejandro Mota
    2002-10-04

    Logged In: YES
    user_id=622887

    Thanks for replying Scott.

    The problem is not unique to KDE, because I tried running
    Nedit in GNOME and WindowMaker and the problem still persists.

    Trying "appres nedit" and "appres NEdit" returns nothing on
    my machine.

     
  • Scott Tringali
    Scott Tringali
    2002-10-04

    Logged In: YES
    user_id=11321

    If that command is returning nothing, then it appears your
    system is not loading the X resources. Different systems
    have different ways of entering X resources. Consult your
    system documentation to see how.

    E.g., can you make .Xdefaults effect any other program?

    If you run "xrdb ~/.Xdefaults" and then nedit (or appres
    nedit) does it work?

     
  • Alejandro Mota
    Alejandro Mota
    2002-10-04

    Logged In: YES
    user_id=622887

    You are right. Once I use xrdb ~/.Xdefaults the colors get
    back to the previous configuration and appres returns the
    resources. Thanks.

     
  • Eddy De Greef
    Eddy De Greef
    2002-10-07

    Logged In: YES
    user_id=73597

    Chris Walker posted this at the develop mailing list; it may
    help:
    > I use .Xresources instead of .Xdefaults so that Redhat 8.0
    > automatically loads it when I log in (at least using gnome).

     
  • Alejandro Mota
    Alejandro Mota
    2002-10-07

    Logged In: YES
    user_id=622887

    I moved the settings in .Xdefaults to .Xresources and it
    works on KDE for me. Thanks.

     
  • Scott Tringali
    Scott Tringali
    2002-10-18

    Logged In: YES
    user_id=11321

    Okay, we probably need to release note this before closing.

     
  • Scott Tringali
    Scott Tringali
    2002-10-18

    • status: open --> open-remind
     
  • Scott Tringali
    Scott Tringali
    2003-06-21

    Logged In: YES
    user_id=11321

    Documented in the README file.

     
  • Scott Tringali
    Scott Tringali
    2003-06-21

    • status: open-remind --> closed-fixed