shengyunHuang / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

Default Workspace set to Administrator "My Documents" folder #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When installing PythonXY as Administrator for all users the initial Eclipse
workspace for the other users is set to following path:
c:\documents and settings\Administrator\My Documents\My Documents

Of course this can be changed later withing Eclipse. But it affects also
the application link in the PythonXY Home Window. If I manually create a
new workspace the folder will not have a Python overlay and PyDev is not
selected as default perspective.
one would also need to change:
\pythonxy\startups\default.py

Maybe there could be a first run script which determines the users Home
directory or let him configure the desired path to the default workspace.

Original issue reported on code.google.com by tim.mich...@gmail.com on 4 Sep 2008 at 3:52

GoogleCodeExporter commented 9 years ago
This issue arises because the Workspace is set globally for all users in
HKEY_LOCAL_MACHINE\SOFTWARE\Python(x,y)
-> Workspace.

There should be a script which changes this path for each user on the first 
start of
the Python(x,y) Home application.
The os.
Furthermore the Eclipse configuration file 
c:\...\pythonxy\eclipse\configuration\.settings\org.eclipse.ui.ide.prefs
has to be adapted to refelct these changes.

A new tab could be added to the Home application where a user can change his
workspace and upon hitting apply the changes get added to the configuration 
files of
all applications:
* Python(X,Y) Home -> Workspace folder shortcut
* Eclipse (see above)
* startup scripts (c:\...\pythonxy\startups\default_with_mlab.py
c:\...\pythonxy\startups\default.py

Maybe use a registry setting on a per user basis and then let applications read 
that one.

This would be a very convenient way to adjust the user settings.

Original comment by tim.mich...@gmail.com on 5 Sep 2008 at 8:35

GoogleCodeExporter commented 9 years ago
I think this can be closed as the improvemnets in the installer hav now an 
option to
relocate the workspace. If I recall correctly...

Original comment by tim.mich...@gmail.com on 30 Sep 2009 at 9:07

GoogleCodeExporter commented 9 years ago

Original comment by pierre.raybaut on 29 Mar 2010 at 10:11