Change hypens to minus signs and section to 1x

The following patch changes some hypens to minus signs and changes the
section to 1x (to comply with the filename).

Signed-off-by: jim-rees <jim.rees@rees.org>
Do not assume that the environment contains a DISPLAY variable

Previously, the code unconditionally tried to copy it to a variable.  This
segfaults when that variable does not exist.

Signed-off-by: jim-rees <jim.rees@rees.org>