In linux, if you set the HOME environment variable, it'll change where it looks 
for the .nuke folder (and the prefs file inside it). 
Be careful about that variable as other applications might be looking for it 
too (like your window manager). 

----- Original Message -----

| From: "Bruno-Pierre Jobin" <bpjo...@gmail.com>
| To: "Nuke Python discussion" <nuke-python@support.thefoundry.co.uk>
| Sent: Thursday, January 26, 2017 4:47:28 PM
| Subject: Re: [Nuke-python] preferences file

| It’s only for myself. I want the workspace to be set in scripting
| mode when I launch nuke from the dev environment. Else I want my
| default workspace to comp.

| If anyone know how to achieve this, it’d be awesome.

| | On Jan 26, 2017, at 2:37 PM, Frank Rueter|OHUfx < fr...@ohufx.com >
| | wrote:
| 

| | I don't think this is possible out of the box, so some suctom
| | python
| | code may be required to parse an arbitrary preference file.
| 

| | Out of interest, why do you want to do this, seeing the workspace
| | should be an artist's choice rather than an enforced setting?
| 

| | Cheers,
| 
| | frank
| 

| | On 27/01/17 4:25 AM, Bruno-Pierre Jobin wrote:
| 

| | | Hi,
| | 
| 

| | | Is there a way to make Nuke point to a “preferences10.0.nk” file
| | | based on ENV variables? I’m trying to change the startup
| | | workspace
| | | based on these variables but it doesn’t work when specified in
| | | the
| | | menu.p y file nor the init.py.
| | 
| 

| | | Thank you
| | 
| 

| | | _______________________________________________
| | 
| 
| | | Nuke-python mailing list Nuke-python@support.thefoundry.co.uk ,
| | | http://forums.thefoundry.co.uk/
| | | http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
| | 
| 
| | _______________________________________________
| 
| | Nuke-python mailing list
| 
| | Nuke-python@support.thefoundry.co.uk ,
| | http://forums.thefoundry.co.uk/
| 
| | http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
| 

| _______________________________________________
| Nuke-python mailing list
| Nuke-python@support.thefoundry.co.uk,
| 
https://urldefense.proofpoint.com/v2/url?u=http-3A__forums.thefoundry.co.uk_&d=DwICAg&c=hHkK43hKb5uKUGaYMJ-p252cFdfVBHtyegDvswk59fU&r=hdh6ldFziktt1N0wAi7bK3Mjov-6LjULd6ZgRd44U6s&m=s35E-GscCfSp5FyAUx6iCEsFPA5HzZVZhOlZ7HShu0I&s=Dd4qjJkLcLBHn1myg9Mv4hBS5woUfYK9fJduWeBCIkE&e=
| 
https://urldefense.proofpoint.com/v2/url?u=http-3A__support.thefoundry.co.uk_cgi-2Dbin_mailman_listinfo_nuke-2Dpython&d=DwICAg&c=hHkK43hKb5uKUGaYMJ-p252cFdfVBHtyegDvswk59fU&r=hdh6ldFziktt1N0wAi7bK3Mjov-6LjULd6ZgRd44U6s&m=s35E-GscCfSp5FyAUx6iCEsFPA5HzZVZhOlZ7HShu0I&s=SUjxOz9aaA7J0Ay7xlLj1bBh71-az34u_NuUiJSTbpI&e=
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to