[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#399789: marked as done (xterm: does not honor ~/.Xdefaults)



Your message dated Wed, 18 Apr 2007 00:18:26 +0200
with message-id <462547B2.2040902@ens-lyon.org>
and subject line Bug#399789: xterm: does not honor ~/.Xdefaults
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xterm
Version: 222-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I upgraded from xterm-210-3.1 today and was disappointed to see that
uxterm no longer honors the settings I've saved in ~/.Xdefaults.
Specifically, I expect when starting up a uxterm that the backgronud
will be light, the foreground text will be black, and the font will be
large.  Instead, I see what appears to be the default uxterm with a
small font and white text on a black background.

When I replace 'UXTerm' with 'XTerm' in my ~/.Xdefaults and run xterm,
I also do not see the expected behavior.

$ cat ~/.Xdefaults 
XBoard*clockMode: false
UXTerm*faceName: DejaVu Sans Mono
UXTerm*faceSize: 13
UXTerm*saveLines: 20000
UXTerm*background: AntiqueWhite
UXTerm*foreground: black

$ xprop 
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STATE(ATOM) = 
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
_NET_WM_PID(CARDINAL) = 7160
WM_CLIENT_LEADER(WINDOW): window id # 0x1a0000f
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLASS(STRING) = "xterm", "UXTerm"
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified size: 484 by 316
                program specified minimum size: 10 by 17
                program specified resize increment: 6 by 13
                program specified base size: 4 by 4
WM_CLIENT_MACHINE(STRING) = "diana"
WM_COMMAND(STRING) = { "xterm", "-class", "UXTerm", "-title", "uxterm", "-u8" }
WM_ICON_NAME(STRING) = "xterm"
WM_NAME(STRING) = "uxterm"

$ which-pkg-broke xterm
[...]
libselinux1                                            Fri Nov 10 10:34:13 2006
libx11-data                                            Tue Nov 21 11:56:12 2006
libx11-6                                               Tue Nov 21 11:56:13 2006
x11-common                                             Tue Nov 21 11:56:20 2006
msttcorefonts                                          Tue Nov 21 11:57:58 2006
xterm                                                  Tue Nov 21 11:59:09 2006


- -- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xterm depends on:
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  libfontconfig1               2.4.1-2     generic font configuration library
ii  libice6                      1:1.0.1-2   X11 Inter-Client Exchange library
ii  libncurses5                  5.5-5       Shared libraries for terminal hand
ii  libsm6                       1:1.0.1-3   X11 Session Management library
ii  libx11-6                     2:1.0.3-3   X11 client-side library
ii  libxaw7                      1:1.0.2-4   X11 Athena Widget library
ii  libxext6                     1:1.0.1-2   X11 miscellaneous extension librar
ii  libxft2                      2.1.8.2-8   FreeType-based font drawing librar
ii  libxmu6                      1:1.0.2-2   X11 miscellaneous utility library
ii  libxt6                       1:1.0.2-2   X11 toolkit intrinsics library
ii  xbitmaps                     1.0.1-2     Base X bitmaps

Versions of packages xterm recommends:
ii  xutils                      1:7.1.ds.3-1 X Window System utility programs

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFY5/BAud/2YgchcQRAgd9AKDSacXbjEOaXOwwUZCLSEazI9VTMACg1jhL
VvqPaWDQq+Zcc9zTAVG71Pc=
=3LJ7
-----END PGP SIGNATURE-----


--- End Message ---
--- Begin Message ---
Hi Alec,

After discussing with upstream, it appears that this behavior is
expected. From what I understood:

The X client reads .Xdefaults only if no resources have been loaded
previously in your session. There are actually several resources files
that could have been loaded earlier, especially your ~/.Xresources (in
the Debian-specific Xsession), and also some WM-related resources files
(at least Gnome seems to load one). In this case, only
.Xdefaults-$(hostname) is read.

So, you should probably just stop using .Xdefaults and use .Xresources
instead.

I am closing this bug.

Brice


--- End Message ---

Reply to: