LX0-104 · Question #474
One of your users has installed a commercial publishing program that works under X on a variety of UNIX and Linux platforms. The user made a series of configuration changes regarding the initial windo
The correct answer is A. ~/.Xdefaults. User-specific configuration settings for X applications, such as window geometry, colors, and fonts, are commonly stored in a user's home directory within a file named .Xdefaults or .Xresources. This allows users to customize their X environment without affecting other users or s
Question
Options
- A~/.Xdefaults
- B~/.xinitrc
- C~/.xconfig
- D/etc/X11/XF86Config
How the community answered
(29 responses)- A79% (23)
- B10% (3)
- C3% (1)
- D7% (2)
Why each option
User-specific configuration settings for X applications, such as window geometry, colors, and fonts, are commonly stored in a user's home directory within a file named .Xdefaults or .Xresources. This allows users to customize their X environment without affecting other users or system-wide settings.
The ~/.Xdefaults (or ~/.Xresources) file is a common location for X applications to store user-specific resource settings, including preferences for window size, position, and colors. These settings typically override system-wide defaults and are loaded when an X application starts.
~/.xinitrc is a shell script executed by xinit or startx when starting an X session; it typically launches window managers and other initial X applications, but it does not store application-specific graphical settings.
~/.xconfig is not a standard or widely recognized file for storing X application configuration settings in Unix-like systems.
/etc/X11/XF86Config (or similar files like xorg.conf) is the system-wide configuration file for the X server itself, controlling hardware settings like monitor resolutions, keyboard layouts, and graphics card drivers, not individual application settings.
Concept tested: X Window System user configuration
Source: https://www.x.org/releases/X11R7.6/doc/libX11/libX11.html
Topics
Community Discussion
No community discussion yet for this question.