Blob Blame History Raw
From 09361cf057a3df214c69fcf513ff32b46062a4a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Tue, 23 Jun 2015 13:52:06 -0400
Subject: [PATCH] Use sensible default on *nix

---
 music21/environment.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/music21/environment.py b/music21/environment.py
index 5afd454a91..bf9416a3d5 100644
--- a/music21/environment.py
+++ b/music21/environment.py
@@ -307,7 +307,12 @@ class _EnvironmentCore(object):
                 ]:
                 self.__setitem__(name, value)  # use for key checking
         elif platform == 'nix':
-            for name, value in [('lilypondPath', 'lilypond')]:
+            for name, value in [('lilypondPath', 'lilypond'),
+                                ('musicxmlPath', 'mscore'),
+                                ('graphicsPath', 'xdg-open'),
+                                ('vectorPath', 'xdg-open'),
+                                ('pdfPath', 'xdg-open'),
+                                ('braillePath', 'xdg-open')]:
                 self.__setitem__(name, value)  # use for key checking
         elif platform == 'darwin':
             for name, value in [
-- 
2.5.0