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

Re: Big dummy at work again



Le quintidi 25 prairial, an CCXXIV, Curt a écrit :
> I believe ~/.Xdefaults is what they call deprecated and ~/.Xresources
> should be used.
> 
> https://wiki.archlinux.org/index.php/x_resources

It is a bit more complicated than that.

~/.Xresources is loaded into the resources database of the X11 server by
/etc/X11/Xsession.d/30x11-common_xresources. The resource database is a
property of the root window, you can observe it roughly with "xprop -root",
see the RESOURCE_MANAGER entry; "xrdb -query" is the dedicated tool to
observe it.

~/.Xdefaults and ~/.Xdefaults-$HOSTNAME are read by the X11 libraries
directly.

It makes a big difference for remote applications, since they will see the
.Xresources from the server but the .Xdefaults from the client.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature


Reply to: