Globs site

Category : External Editor

How to use an X11 editor with MacOSX

Prerequisite: X11 must be installed and started when you want to use your editor.

Then, you need to have the DISPLAY environment variable defined at the begining of your mac session. For this, create or modify the file: ~/.MacOSX/environment.plist, where ~ is your start folder. You will probaby have to begin with creating the folder .MacOSX.

File content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">

If the file already exists, you just need to add these 2 values

You need to log out and log back in for the change to be taken in account.