Home folder: Difference between revisions

From FreeMind
Jump to navigationJump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
>==User home folder==
FreeMind home folder is the folder to which user settings, user icons, automatic backups and other FreeMind related files are stored.


Finding out about the user's home folder, in which the folder ".freemind" typically resides:
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.


In Windows: Run DOS console (Windows + R, followed by "cmd"), and type "echo %homepath%". To see the usual path to FreeMind home folder, type "echo %HOMEPATH%\.freemind". A related system variable is %userprofile%. However, Java may determine the value of "user.home" without the use of %homepath% and %userprofile%, relying instead on the location of user desktop as stated in Windows registry. Nevertheless, user desktop is usually located at the path "%homepath%\Desktop", so "echo %HOMEPATH%\.freemind" usually gives the correct location of FreeMind home folder. This is to be researched.
Some cases of paths of FreeMind home folder, depending on the operating system:
{| {{Table style}}
! FreeMind version
! Operating system
! Folder path
|-
| [[Release 0.8.1|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
|-
| [[Release 0.7.1|0.7.1]] || Windows 2000 and XP || C:\Documents and Settings\(your user name)\freemind\
|-
| 0.7.1 || Windows 98 || C:\WINDOWS\freemind\
|}


In Linux: Run a console and type "echo $HOME".
==User home folder==


----
Finding out about the user's home folder, in which the folder ".freemind" typically resides:
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
''In Windows'': Run DOS console (Windows + R, followed by "cmd"), and enter this:
=[http://irutubaj.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
: 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: [http://bugs.sun.com/view_bug.do?bug_id=4787931 Java bug 4787931].
=[http://irutubaj.co.cc CLICK HERE]=
 
----
''In Linux'': Run a console and type "echo $HOME".
</div>
 
==Implementation==
Method [http://freemind.git.sourceforge.net/git/gitweb.cgi?p=freemind/freemind;a=blob;f=freemind/freemind/main/FreeMind.java;hb=HEAD FreeMind].getFreemindDirectory: return System.getProperty("user.home") + File.separator + getProperty("properties_folder");
 
==Tracker items==
* Bug: [http://sourceforge.net/tracker/index.php?func=detail&aid=3304466&group_id=7118&atid=107118 Settings in Windows network with shared desktops], 2011-05-19
 
==Links==
* [http://en.wikipedia.org/wiki/Home_directory Wikipedia: Home directory]
 
[[Category:Development]]

Latest revision as of 14:19, 4 March 2023

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

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

In Windows: Run DOS 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