![]() This is different behavior than you will be used to if you have already been using X on your Mac, but it’s more in line with a typical x windows environment this way Investigating the XQuartz startup file situation Note: When you enable full-screen mode, your x windows will appear on a separate desktop. Click Pasteboard and enable any helpful settings you like.Check Full-screen mode and Auto-show menu bar in full-screen mode.If you need 3 button mouse emulation (trackpad), Check the box. ![]() Start XQuartz (it’s in /Applications/Utilities) Open terminal and type sudo port install imake to install it. Install MacPortsīrowse to and grab an installer for your version of MacOS. Logout as advised when install is complete and log back in. Head over to and download the install package. Install MacPorts (to satisfy any dependencies and fill tool gaps like imake).There are only a few small steps to take to prepare MacOS for doing X Windows development: Some code to run in X - I’m using xeyes from X itself and basicwin from Volume One of The Definitive Guides to the X Window System: Xlib Programming Manual for Version 11 R4/R5 by Adrian Nye.MacOS - I’m running this on Mojave, but have tested it on Monterrey as well.Xeyes source code - last updated a year or so ago.Xlib Programming Manual R5 3rd Edition Example Files.I did this because I have developed an interest in how graphical interfaces work and X, for all its quirks, is not self-limiting, crippled, partially proprietary or any of that nonsense and it is widely used.Īfter setting up, downloading some source, building and deploying, here’s what we’re looking at… on a Mac: This is enough setup to build applications in X Windows using Xlib - the lowest level of programming in X… other than the X Protocol :). The notes do apply to other environments… with minor tweaks (I tried the same basic setup on Debian Linux, DragonFly BSD, and FreeBSD with no major issues). This note describes setting up a development environment for doing X Windows Development on Mac OS from the ground up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |