bugGNU Octave - Bugs: bug #43781, Change directory

 
 

bug #43781: Change directory

Submitter:  None
Submitted:  Mon 08 Dec 2014 07:28:10 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.2
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 10 Dec 2014 08:44:06 PM UTC, comment #6: 

Ah, I didn't see that option in 3.8.x but obviously it's only in 3.9.0+ & up.

Sorry for the noise,

Philip Nienhuis <philipnienhuis>
Group Member
Tue 09 Dec 2014 08:33:00 PM UTC, comment #5: 

Philip, the options you mention are the ones for the file browser (tab "File Browser") and are only related to the file browser's startup directory. When synchronized with the Octave directory, the latter has priority and no startup directory for the browser can be selected.

The initial Octave directory at startup is determined by the options in the tab "General".

Torsten Lilge <ttl>
Group Member
Tue 09 Dec 2014 12:55:05 PM UTC, comment #4: 

@Torsten:
The way that option works (as it is implemented in 3.9.0+) is a bit hazy to me.

As it is now one has to unselect "Synchronize Octave working directory with file browser" to be able to set a startup directory.

To me it looks like the selection boxes have been mixed up; I suppose it's the other selection box in the frame "Restore last directory of previous session" that should disable the startup path, rather than "Sync file browser.......".

Should I file a separate bug report or can this be tackled (if my analysis makes sense) within this bug report's scope?

Philip Nienhuis <philipnienhuis>
Group Member
Tue 09 Dec 2014 05:55:27 AM UTC, comment #3: 

A preference for the desired startup directory was added to the settings dialog in the gui-release branch some time ago and will be included in the next major release
(http://hg.savannah.gnu.org/hgweb/octave/rev/024940bd5b77)

I am closing this bug.

Torsten Lilge <ttl>
Group Member
Mon 08 Dec 2014 09:52:10 PM UTC, comment #2: 

In the properties of the shortcut to (the batch file that starts) Octave (right-click on the shortcut, select "Properties") you can also enter a startup directory.
AFAICS this works reliably on my Windows systems.

I've think it may be handy to adapt the nsis script in Octave to create an "octave" subdirectory in the user profile (or user profiles if installing as admin) and point the Octave startup dir to it in the shortcut, e.g. to %USERPROFILE%\octave.

Philip Nienhuis <philipnienhuis>
Group Member
Mon 08 Dec 2014 08:51:25 PM UTC, comment #1: 

It's not a bug nor a feature request, just lack of knowledge! 

Just put something like that into your octaverc


cd C:/bla/



https://www.gnu.org/software/octave/doc/interpreter/Startup-Files.html

Markus Bergholz <markuman>
Mon 08 Dec 2014 07:28:10 PM UTC, original submission:  

It would be good to change the starter directory to other we want.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by markuman (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-12-09 ttl StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code