<commit_before># makeSpanningBackground

Selects and sets the background wallpaper on multiple displays/monitors (and
single monitors also).

The makeSpanningBackground program runs on both Linux and Windows versions of
Python.  Most of the testing has been on one and two monitor systems with
Python 2.7 or 3.X, on Ubuntu and Windows 7, but Fedora, Vista, and Windows XP
have also had some testing.  Note that under KDE and Xfce on Linux the
generated image will not be automatically set to be the wallpaper (with the
"spanned" mode auto-set); you'll have to apply those settings by hand.

As of Oct 2014 this program works on Cinnamon and Unity, at least, but Gnome
and LXDE have been changing the way they handle background images so it may not
work.  There is now a Bash script in the bin directory which can be used as a
simplified frontend to the full program on Linux systems.

## Dependencies

The dependencies are as follows:
```
   Linux with Python 2.x (at least Python 2.6):
                   Ubuntu                               Fedora
      numpy       sudo apt-get install python-numpy    yum install numpy
      scipy       sudo apt-get install python-scipy    yum install scipy
      PIL         sudo apt-get install python-imaging  yum install python-imaging
      xrandr      pre-installed for most distributions 
      gsettings   pre-installed for most distributions

   Linux with Python 3.x:
      Same as for Python 2.x.  For numpy and scipy just apt-get the version
      that starts with python3, e.g., python3-numpy.

   Windows with Python 2.x or 3.x (at least Python 2.6):
      Needs numpy, scipy, and PIL.  Windows users who want binaries and are
      not using a package like Python(x,y) where the dependencies are
      pre-installed might try the following (get the version to match the
      installed Python):

      http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil
      http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
      http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

      Note that on Windows the background mode must be set to "tiled" in the
      standard wallpaper-selection dialog window.  The program will attempt
      to do this, but if that doesn't work it will need to be set by the user.
      On XP you may need to always choose the .bmp format for the saved image
      files.

   Windows Cygwin Python
      The dependencies are the same as in Windows.  Cygwin comes with 
      packages for python-argparse, python-imaging, and python-numpy.
      Unfortunately, scipy is apparently difficult to install in Cygwin.
```
For the general documentation, run
```<commit_msg>minor README mod<commit_after># makeSpanningBackground

Selects and sets the background wallpaper on multiple displays/monitors (and
single monitors also).

The makeSpanningBackground program runs on both Linux and Windows versions of
Python.  Most of the testing has been on one and two monitor systems with
Python 2.7 or 3.X, on Ubuntu and Windows 7, but Fedora, Vista, and Windows XP
have also had some testing.  Note that under KDE and Xfce on Linux the
generated image will not be automatically set to be the wallpaper (with the
"spanned" mode auto-set); you'll have to apply those settings by hand.

As of Oct 2014 this program works on Cinnamon and Unity, at least, but Gnome
and LXDE have been changing the way they handle background images so it may not
work.  There is now a Bash script in the bin directory which can be used as a
simplified frontend to the full program on Linux systems.

## Dependencies

The dependencies are as follows:
```
   Linux with Python 2.x (at least Python 2.6):
                   Ubuntu                               Fedora
      numpy       sudo apt-get install python-numpy    yum install numpy
      scipy       sudo apt-get install python-scipy    yum install scipy
      PIL         sudo apt-get install python-imaging  yum install python-imaging
      xrandr      pre-installed for most distributions 
      gsettings   pre-installed for most distributions

   Linux with Python 3.x:
      Same as for Python 2.x.  For numpy and scipy just apt-get the version
      that starts with python3, e.g., python3-numpy.

   Windows with Python 2.x or 3.x (at least Python 2.6):
      Needs numpy, scipy, and PIL.  Windows users who want binaries and are
      not using a package like Python(x,y) where the dependencies are
      pre-installed might try the following (get the version to match the
      installed Python):

      http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil
      http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
      http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

      Note that on Windows the background mode must be set to "tiled" in the
      standard wallpaper-selection dialog window.  The program will attempt
      to do this, but if that doesn't work it will need to be set by the user.
      On XP you may need to always choose the .bmp format for the saved image
      files.

   Windows Cygwin Python
      The dependencies are the same as in Windows.  Cygwin comes with 
      packages for python-argparse, python-imaging, and python-numpy.
      Unfortunately, scipy is apparently difficult to install in Cygwin.
      You can run the script with Windows Python from a Cygwin terminal.
```
For the general documentation, run
```
{'fraction_non_alphanumeric': 0.05003748125937031, 'fraction_numerical': 0.00712143928035982, 'mean_word_length': 2.8786337209302326, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3644300', 'n_tokens_mistral': 1532, 'n_tokens_neox': 1408, 'n_words': 732}