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

Re: Gnome 2.4: .Xresources not applied over SSH?



Hi,

Jamie Norrish <jamie@artefact.org.nz> writes:

> After Gnome 2.4 packages came into unstable, emacs windows that I opened on
> a remote machine via ssh -X no longer used the settings in my local
> .Xresources (setting Emacs.Background and Emacs.Foreground). It still
> works as expected locally. Is this a bug, in which case which package
> should it be filed with, or just me?

New GNOME packages set Xresources for non-gnome applications to look
like GNOME applications. See the thread starting at

http://lists.debian.org/debian-gtk-gnome/2003/debian-gtk-gnome-200310/msg00273.html

Specifically see 
http://lists.debian.org/debian-gtk-gnome/2003/debian-gtk-gnome-200310/msg00305.html
for a partial solution, and 
http://lists.debian.org/debian-gtk-gnome/2003/debian-gtk-gnome-200310/msg00313.html
for why it not always works as one might expect.

The upshot is that the GNOME sets up some Xresources from files located
at 
/usr/share/control-center-2.0/xrdb/ 
and that a user can add (note: add or overwrite, not cancel) more
Xresources with files located at ~/.gnome2/xrdb/

But the discussion still goes on.

However, according to that discussion all instances of "Emacs" should
have the same behaviour. Check the Xproperties of the local and remote
Emacs windows (using "xprop" and clicking on the window). Specifically
check the property "WM_CLASS(STRING)" to see under which names the
Xserver recognices the windows. Note that the case is significant,
"Emacs" is not the same as "emacs". 

Hope this helps,

Jaume

-- 
Please answer to the group/list. Don't CC me.



Reply to: