bugGNU Octave - Bugs: bug #45652, Octave should *not* hardcode...


bug #45652: Octave should *not* hardcode "~/.octaverc" file as the startupfiledir isn't

Submitter:  Hernawan Fa'iz Abdillah <abdillah>
Submitted:  Thu 30 Jul 2015 12:31:24 AM UTC
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Duplicate Assigned to:  None
Originator Name:  Hernawan Fa'iz Abdillah Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Thu 30 Jul 2015 11:10:32 AM UTC, comment #1: 

This is duplicate of bug #36477

Carnë Draug <carandraug>
Group Member
Thu 30 Jul 2015 12:31:24 AM UTC, original submission:  

# Background
Based on the latest dir spec, freedesktop stating that any config file reside in $HOME dir should be moved to new $XDG_CONFIG_DIR:

>  $XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.

# Problem
In contrast to Octave, it is hardcode it's rc file, which I found on
+ /usr/share/octave/3.8.2/m/path/pathdef.m
+ /usr/share/octave/3.8.2/m/path/savepath.m

I'm not yet search on the main code itself. Please anyone know where other harcoded path-to-rc-file reside.

# Expected
I propose octaverc file specified with OCTAVE_SET_DEFAULT in configure.ac.

I can send ChangeSet, but first I should hear responses.

Hernawan Fa'iz Abdillah <abdillah>


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

Attach Files:

No files currently attached


Depends on the following items

   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by abdillah (Submitted the item)

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-30 mtmiller Open/ClosedOpen Closed
    2015-07-30 carandraug StatusNone Duplicate
    2015-07-30 carandraug Dependencies- Depends on bugs #36477

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code