Home folder: Difference between revisions

From FreeMind
Jump to navigationJump to search
(→‎User home folder: improve instructions for finding the folder)
 
Line 24: Line 24:
==User home folder==
==User home folder==
To find out about the user's home folder, in which the folder ".freemind" typically resides:
To find out about the user's home folder, in which the folder ".freemind" typically resides:
* You can '''inspect the log''' and search for "pattern". Menu: Help > Log File Viewer (FreeMind 1.0.1). You can copy and paste the log into a plain text editor.
* You can '''inspect the log''' and search for "pattern", but this only works if the file "patterns.xml" is not in the user home folder. Menu: Help > Log File Viewer (FreeMind 1.0.1). You can copy and paste the log into a plain text editor.
* You can use the following '''command-line approach''':
* You can use the following '''command-line approach''':
** ''In Windows'':
** ''In Windows'':

Latest revision as of 08:32, 10 September 2026

FreeMind home folder is the folder to which user settings, user icons, automatic backups and other FreeMind related files are stored.

In general and by default and in FreeMind version 0.8.1 and later, FreeMind home folder is the subfolder ".freemind" of the home folder of the user. The path of the home folder of the user, also known as home directory, depends on the operating system.

Some cases of paths of FreeMind home folder, depending on the operating system:

FreeMind version Operating system Folder path
0.8.1 Windows Vista C:\Users\(your user name)\.freemind\
0.8.1 Windows 2000 and XP C:\Documents and Settings\(your user name)\.freemind\
0.8.1 Windows 98 C:\WINDOWS\.freemind\
0.8.1 Mac OS X /Users/(your user name)/.freemind
0.7.1 Windows 2000 and XP C:\Documents and Settings\(your user name)\freemind\
0.7.1 Windows 98 C:\WINDOWS\freemind\

User home folder

To find out about the user's home folder, in which the folder ".freemind" typically resides:

  • You can inspect the log and search for "pattern", but this only works if the file "patterns.xml" is not in the user home folder. Menu: Help > Log File Viewer (FreeMind 1.0.1). You can copy and paste the log into a plain text editor.
  • You can use the following command-line approach:
    • In Windows:
      • Run the command line console (Windows + R, followed by "cmd"), and enter this:
        REG QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Desktop
      • Strip off the last part of the resulting path, to get what Java considers to be your home folder. Another method, one that often leads to an incorrect result, is to enter "echo %homepath%". Sources: Java bug 4787931.
    • In Linux:
      • Run a console and type "echo $HOME".

Implementation

Method FreeMind.getFreemindDirectory: return System.getProperty("user.home") + File.separator + getProperty("properties_folder");

Tracker items

Links