Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22ce5abaff877be

Jump to content

Talk:X resources

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 11 months ago by Guy Harris in topic Use of files to specify X resources?

Missing items

[edit]

Missing (add to this list):

  • how Xt uses the resources
  • other libraries? (Qt, etc.)

- Liberatore(T) 21:28, 26 January 2006 (UTC)Reply

* What's the applicability on a modern GNOME or KDE desktop? --TuukkaH 08:32, 21 April 2006 (UTC)Reply
As far as I know, Qt and GTK+ make little, if any, use of the traditional X resource mechanism, and the desktops based on them also make little use of them. They're mainly an Xt thing. Guy Harris (talk) 21:32, 7 August 2025 (UTC)Reply

Use of files to specify X resources?

[edit]

The tone of this page also suggests that the use of files to specify the X resources should be avoided. However, it's not completely true -- while ~/.Xdefautlts shouldn't be used, the files belonging to, e. g., /etc/X11/app-defaults are fine. —Preceding unsigned comment added by 82.179.20.34 (talk) 14:35, 6 July 2008 (UTC)Reply

The page says

X resources are stored in the server rather than in a configuration file to allow programs started from other computers to use them. Indeed, a program connecting to an X display server from another computer can access the resources via the X protocol. Using the old system of storing program parameters in the .Xdefaults file creates the need of copying this file to all other computers where a program can be started.

but it also says

Resources are manipulated by the xrdb program. In particular, many X display server configurations run xrdb at start up, instructing it to read the resources from the .Xresources file in the user's home directory. From this point on, every other program finds the resources in the two standard locations. You can view the current resources from a console with xrdb -query.

which appears a bit self-contradictory.
Resources are not persistently stored in the server, they're persistently stored in a file whose contents are uploaded to the server when a session is started, allowing programs running on machines that don't have access to the user's preference file to get the preferences from the resources on the server. Guy Harris (talk) 21:37, 7 August 2025 (UTC)Reply