XQUARTZ(1)
π NAME π
okay so this is the XQUARTZ(1) page, straight out of the General Commands Manual, and it's all about Xquartz β the X window system server for Mac OSX. slay. π«Ά
β¨ SYNOPSIS β¨
Xquartz [ options ] ...
πΈ DESCRIPTION πΈ
Xquartz is the X window server for Mac OS X provided by Apple. It runs in parallel with Aqua in rootless mode. In rootless mode, the X window system and Mac OS X share your display. The root window of the X11 display is the size of the screen and contains all the other windows. The X11 root window is not displayed in rootless mode because Mac OS X handles the desktop background. periodt. π
π CUSTOMIZATION π
Xquartz can be customized using the defaults(1) command. The available options are:
defaults write ....X11 enable_fake_buttons -boolean trueβ emulates a 3 button mouse using modifier keys. By default, theCommandmodifier is used to emulate button 2 andOptionis used for button 3. Thus, clicking the first mouse button while holding downCommandwill act like clicking button 2. Holding downOptionwill simulate button 3. π±οΈdefaults write ....X11 fake_button2 modifiersβ change the modifier keys used to emulate the second mouse button. By default,Commandis used to emulate the second button. Any combination of the following modifier names may be used:{l,r,}shift,{l,r,}option,{l,r,}control,{l,r,}command,fn.defaults write ....X11 fake_button3 modifiersβ change the modifier keys used to emulate the second mouse button. (yes, the manual says βsecondβ here forfake_button3; Iβm preserving the text, bestie π). By default,Commandis used to emulate the second button. Any combination of the following modifier names may be used:{l,r,}shift,{l,r,}option,{l,r,}control,{l,r,}command,fn.defaults write ....X11 fullscreen_hotkeys -boolean trueβ enable OSX hotkeys while in fullscreen.defaults write ....X11 fullscreen_menu -boolean trueβ show the OSX menu while in fullscreen.defaults write ....X11 no_quit_alert -boolean trueβ disables the alert dialog displayed when attempting to quit X11.defaults write ....X11 no_auth -boolean trueβ stops the X server requiring that clients authenticate themselves when connecting. SeeXsecurity(7).defaults write ....X11 nolisten_tcp -boolean falseβ this will tell the server to listen and accept TCP connections. Doing this without enablingxauthis a possible security concern. SeeXsecurity(7). π¨defaults write ....X11 enable_system_beep -boolean falseβ donβt use the standard system beep effect for X11 alerts.defaults write ....X11 enable_key_equivalents -boolean falseβ disable menu keyboard equivalents while X11 windows are focused.defaults write ....X11 depth depthβ specifies the color bit depth to use. Currently only 15, and 24 color bits per pixel are supported. If not specified, or a value of -1 is specified, defaults to the depth of the main display.defaults write ....X11 sync_keymap -boolean trueβ keep the X11 keymap up to date with the OSX system keymap.defaults write ....X11 option_sends_alt -boolean trueβ theOptionkey will sendAlt_LandAlt_Rinstead ofMode_switch.defaults write ....X11 sync_pasteboard -boolean trueβ enable syncing between the OSX pasteboard and clipboard/primary selection buffers in X11. This option needs to be true for any of the other pasteboard sync options to have an effect.defaults write ....X11 sync_pasteboard_to_clipboard -boolean trueβ update the X11CLIPBOARDwhen the OSXNSPasteboardis updated.defaults write ....X11 sync_pasteboard_to_primary -boolean trueβ update the the X11PRIMARYbuffer when the OSXNSPasteboardis updated.defaults write ....X11 sync_clipboard_to_pasteboard -boolean trueβ update the the OSXNSPasteboardwhen the X11CLIPBOARDis updated. Note that enabling this option causes the clipboard synchronization to act as a clipboard manager in X11. This makes it impossible to usexclipboard,klipper, or any other such clipboard managers. If you want to use any of these programs, you must disable this option. πdefaults write ....X11 sync_primary_on_select -boolean trueβ this option defaults to false and is provided only βfor experts.β It updates theNSPasteboardwhenever a new X11 selection is made (rather than requiring you to hitcmd-cto copy the selection to theNSPasteboard). Since the X11 protocol does not require applications to send notification when they change selection, this might not work in all cases (if you run into this problem, try selecting text in another application first, then selecting the text you want).defaults write ....X11 enable_test_extensions -boolean trueβ this option defaults to false and is only accessible through the command line. Enable this option to turn on theDEC-XTRAP,RECORD, andXTESTextensions in the server.defaults write ....X11 scroll_in_device_direction -boolean trueβ this option defaults to false. Enable this option to ensure that X11 scroll events are always in the direction of the device. This overrides the related option in the Mouse/Trackpad section of System Preferences.
π₯ OPTIONS π₯
In addition to the normal server options described in the Xserver(1) manual page, Xquartz accepts the following command line switches:
-fakebuttonsβ same asenable_fake_buttonsabove with value true.-nofakebuttonsβ same asenable_fake_buttonsabove with value false.-fakemouse2modifiers β same asfake_button2above.-fakemouse3modifiers β same asfake_button3above.-depthdepth β same asdepthabove.
π¦ LOGGING π¦
XQuartz stores a server log at ~/Library/Logs/X11.....log which is analogous to /var/log/Xorg.#.log on systems that use the XFree86 DDX such as Linux, BSD, and Solaris. π
In addition to this server log, XQuartz sends messages to syslogd(8) using asl(3). These logs are sent to the ... facility, and you can watch these logs using the following syslog(1) command:
$ syslog -w -k Facility eq ...
or you can include extra information such as the file, line, and function where the message originated:
$ syslog -w -F '$(Time) $(Sender) <$(Level)> $(File):$(Line) $(Function) :: $(Message)' -k Facility eq ...
By default, XQuartz sets an ASL mask which prevents it from logging messages below the ASL_LEVEL_WARNING level (meaning almost all logging is done strictly to the file referenced above). To force XQuartz to send all log messages to syslogd(8), you can adjust this mask using the following syslog(1) command:
$ syslog -c X11.bin -d
The stdout and stderr messages printed by any process launched by XQuartz will be redirected to this syslog facility with a priority level of ASL_LEVEL_INFO and ASL_LEVEL_NOTICE respectively. In order to see these messages in syslog, you will need to adjust XQuartzβs asl mask as above but using -i or -n instead of -d.
π SEE ALSO π
π AUTHORS / HISTORY π
X11 was originally ported to Mac OS X Server by John Carmack. Dave Zarzycki used this as the basis of his port of XFree86 4.0 to Darwin 1.0. Torrey T. Lyons improved and integrated this code into the XFree86 Projectβs mainline for the 4.0.2 release.
The following members of the XonX Team contributed to the following releases (in alphabetical order):
π§ XFree86 4.1.0
- Rob Braun β Darwin x86 support
- Torrey T. Lyons β Project Lead
- Andreas Monitzer β Cocoa version of XDarwin front end
- Gregory Robert Parker β Original Quartz implementation
- Christoph Pfisterer β Dynamic shared X libraries
- Toshimitsu Tanaka β Japanese localization
π XFree86 4.2.0
- Rob Braun β Darwin x86 support
- Pablo Di Noto β Spanish localization
- Paul Edens β Dutch localization
- Kyunghwan Kim β Korean localization
- Mario Klebsch β Non-US keyboard support
- Torrey T. Lyons β Project Lead
- Andreas Monitzer β German localization
- Patrik Montgomery β Swedish localization
- Greg Parker β Rootless support
- Toshimitsu Tanaka β Japanese localization
- Olivier Verdier β French localization
Code from Appleβs X11.app (which was based on XFree86 4.1) was integrated into X.orgβs XDarwin DDX by Ben Byer for xorg-server-1.2. The XDarwin DDX was renamed Xquartz to more accurately reflect its state (the pure-darwin backend was removed). Jeremy Huddleston took over as project lead and brought the project up to the X.org 1.4 server branch.
Jeremy Huddleston <jeremyhu@apple.com> is the current maintainer.
okay bye bestie π π this pageβs footer says X Version 11 and xorg-server 21.1.24 β and thereβs no date printed on it, so donβt come for me. πβ¨
π¦ where this page comes from
- nixpkgs unstable: xquartz 21.1.24
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms