Talk:X resources
Add topic| This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
| |||||||||||
Missing items
[edit]Missing (add to this list):
- Liberatore(T) 21:28, 26 January 2006 (UTC)
- * What's the applicability on a modern GNOME or KDE desktop? --TuukkaH 08:32, 21 April 2006 (UTC)
- 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)
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)
- 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
.Xdefaultsfile 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
.Xresourcesfile 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 withxrdb -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)