diff --git a/Cura/util/pluginInfo.py b/Cura/util/pluginInfo.py
index eba3770..5810312 100644
--- a/Cura/util/pluginInfo.py
+++ b/Cura/util/pluginInfo.py
@@ -80,14 +80,7 @@ def setPostProcessPluginConfig(config):
profile.putProfileSetting('plugin_config', pickle.dumps(config))
def getPluginBasePaths():
- ret = []
- if platform.system() != "Windows":
- ret.append(os.path.expanduser('~/.cura/plugins/'))
- if platform.system() == "Darwin" and hasattr(sys, 'frozen'):
- ret.append(os.path.normpath(os.path.join(resources.resourceBasePath, "plugins")))
- else:
- ret.append(os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', 'plugins')))
- return ret
+ return [os.path.expanduser('~/.cura-lulzbot/plugins/'), '/usr/share/cura-lulzbot/plugins']
def getPluginList(pluginType):
global _pluginList
diff --git a/Cura/util/profile.py b/Cura/util/profile.py
index ec84bb4..f645c9a 100644
--- a/Cura/util/profile.py
+++ b/Cura/util/profile.py
@@ -608,11 +608,11 @@ def getBasePath():
:return: The path in which the current configuration files are stored. This depends on the used OS.
"""
if platform.system() == "Windows":
- basePath = os.path.normpath(os.path.expanduser('~/.cura/%s' % version.getVersion(False)))
+ basePath = os.path.normpath(os.path.expanduser('~/.cura-lulzbot/%s' % version.getVersion(False)))
elif platform.system() == "Darwin":
basePath = os.path.expanduser('~/Library/Application Support/Cura/%s' % version.getVersion(False))
else:
- basePath = os.path.expanduser('~/.cura/%s' % version.getVersion(False))
+ basePath = os.path.expanduser('~/.cura-lulzbot/%s' % version.getVersion(False))
if not os.path.isdir(basePath):
try:
os.makedirs(basePath)
diff --git a/Cura/util/resources.py b/Cura/util/resources.py
index d92eb2a..64db336 100644
--- a/Cura/util/resources.py
+++ b/Cura/util/resources.py
@@ -27,7 +27,7 @@ if sys.platform.startswith('darwin'):
else:
resourceBasePath = os.path.join(os.path.dirname(__file__), "../../resources")
else:
- resourceBasePath = os.path.join(os.path.dirname(__file__), "../../resources")
+ resourceBasePath = "/usr/share/cura-lulzbot"
def getPathForResource(dir, subdir, resource_name):
assert os.path.isdir(dir), "{p} is not a directory".format(p=dir)
@@ -59,7 +59,7 @@ def setupLocalization(selectedLanguage = None):
languages = [item[0]]
locale_path = os.path.normpath(os.path.join(resourceBasePath, 'locale'))
- translation = gettext.translation('Cura', locale_path, languages, fallback=True)
+ translation = gettext.translation('CuraLulzbot', locale_path, languages, fallback=True)
#translation.ugettext = lambda message: u'#' + message
translation.install(unicode=True)