So if I want to let’s say paste a .xml file from home/documents/blender/customize to usr/share/blender/2.62/scripts/presets/interface_theme as there is no way to import .xml files directly from blender user preferences exactly what should I write in the terminal ?
I tried like this:
[email protected]:/# cp /home/msm/Documents/Blender/Customize/cycles.xml /usr/share/blender/2.62/scripts/presets/interface_theme/
it puts the .xml where I want it but in Blender/Themes/Presets it won’t load up it gives an error:
Traceback (most recent call last):
File “/usr/share/blender/2.62/scripts/startup/bl_operators/presets.py”, line 195, in execute
File “/usr/share/blender/2.62/scripts/modules/rna_xml.py”, line 337, in xml_file_run
xml_nodes = xml.dom.minidom.parse(filepath)
File “/usr/lib/python3.2/xml/dom/minidom.py”, line 1945, in parse
File “/usr/lib/python3.2/xml/dom/expatbuilder.py”, line 922, in parse
fp = open(file, ‘rb’)
IOError: [Errno 13] Permission denied: ‘/usr/share/blender/2.62/scripts/presets/interface_theme/cycles.xml’
I’m guessing that it’s not supposed to load it from there ? like in windows it has the /users/local/appdata/roaming/BlenderFoundation/Scripts/Addons/Presets/Interface_Theme/ or something like that. Maybe it should be in another location ?
This is what it says when I tried like you said:
[email protected]:/# chown -R /home/usr/share/blender/2.62/scripts/addons/
chown: missing operand after
/home/usr/share/blender/2.62/scripts/addons/' Trychown --help’ for more information.