ejeschke / ginga

The Ginga astronomical FITS file viewer
BSD 3-Clause "New" or "Revised" License
122 stars 77 forks source link

Image path preference for FBrowser #100

Closed pllim closed 9 years ago

pllim commented 9 years ago

It would be more convenient if FBrowser plugin can read in user preference on what root path to display, instead of starting out at HOME every time; Something like imdir in IRAF's login.cl.

ejeschke commented 9 years ago

@pllim, could you try out commit 8a524549eafabe5872175913ce8a2f59813dcbbf?

Before using, please examine the possible settings preferences in the file examples/configs/plugin_FBrowser.cfg.

pllim commented 9 years ago

I changed the config to point to my desired working directory, but FBrowser did not pick it up. It is not clear to me why it is not working by looking at your diff.

ejeschke commented 9 years ago

Did you copy the file to your $HOME/.ginga ?

pllim commented 9 years ago

Ah, okay. It turns out I need to do

home_path = '/my/local/path'

and not

home_path = /my/local/path

Okay. This works fine now. Thanks!