简体   繁体   English

如何在 Octave GUI 中删除过去的工作目录?

[英]How to delete past working directories in Octave GUI?

Does anyone know how to delete those past working directories in Octave GUI?有谁知道如何在 Octave GUI 中删除那些过去的工作目录? They are very annoying and useless.它们非常烦人且无用。 在此处输入图像描述

I see from your image that you are on windows.我从您的图片中看到您在 windows 上。

I don't know the equivalent directory on windows, but on linux, this information seems to be stored under ~/.config/octave/octave-gui.ini, in a section called current_directory_list which you can edit and clear of all unwanted entries.我不知道 windows 上的等效目录,但在 linux 上,此信息似乎存储在 ~/.config/octave/octave-gui.ini 下的一个名为current_directory_list的部分中,您可以编辑和清除所有不需要的条目.

See if you can find the equivalent folder where this octave-gui.ini file is stored on windows;看看你是否能在 windows 上找到存储此 octave-gui.ini 文件的等效文件夹; it may be in an AppData/Local directory, or in the octave installation folder itself...它可能在 AppData/Local 目录中,或者在 octave 安装文件夹本身中......

PS: In the same directory I also had a qt_settings file which seems to mirror some of this information, but I think this may have been from an older octave installation. PS:在同一目录中,我还有一个qt_settings文件,它似乎反映了其中的一些信息,但我认为这可能来自较旧的 octave 安装。

In addition to deleting the file path from octave-gui.ini , try removing the path from .octaverc file as well.除了从octave-gui.ini中删除文件路径外,还尝试从.octaverc文件中删除路径。 This will remove the warning you see at launch if the path no longer exists.如果路径不再存在,这将删除您在启动时看到的警告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM