ThinkingRock Forum

To go back to http://www.trgtd.com.au
It is currently Wed May 22, 2013 12:29 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Oct 31, 2008 5:22 pm 
Offline

Joined: Fri Oct 31, 2008 3:59 pm
Posts: 3
I have recently started to work with TR. It's a great application. So I decided to carry it everywhere. I have installed TR in a USB memory and it runs very well.

But I discover that TR writes a hidden .thinkingrock directory on the HOME directory in every computer I use. I dislikes very much that behaviour. I think that a portable application have to run in a more clean way. No traces, please.

Nevertheless, I have found a trick to avoid this.

    1. You must open the ThinkingRock.app package. CTRL+Click on ThinkingRock.app file on Finder and choose "Show package contents" (or whatever appears on English contextual menu; I use a Spanish Mac OS X)

    2. Go to /ThinkingRock.app/Contents/Resources/tr/etc/. You should find a tr.conf file there.

    3. Make a backup copy of tr.conf, please. A copy&paste operation it's enough.

    4. Open the original tr.conf file. You can use any text editor, such as TextEdit.app.

    You can see these (or similar) lines:
    Code:
    ### TR user directory, ${HOME} will be replaced by user home directory ###
    default_mac_userdir="${HOME}/.thinkingrock/tr-2.0.1"

    ### Live options ###
    default_options="-J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Xms64m -J-Xmx256m -J-XX:PermSize=64m -J-XX:MaxPermSize=256m -J-Dsun.java2d.noddraw=true -J-client"
    ### Test options ###
    #default_options="-J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Xms64m -J-Xmx256m -J-XX:PermSize=64m -J-XX:MaxPermSize=256m -J-Dsun.java2d.noddraw=true -J-client"

    ### location of Java JDK/JRE ###
    #jdkhome="/path/to/jdk"

    ### cluster paths ###
    #extra_clusters=



    5. Change the 2nd line (in the default configuration file):

    Code:
    default_mac_userdir="${HOME}/.thinkingrock/tr-2.0.1"


    You should change ${HOME} for the ABSOLUTE PATH where you want the application writes the .thinkingrock directory. I suppose that it only works with the absolute path.

    For example, in my case, I have a USB key that is called "USBJV" and I have installed TR application on "THINKING ROCK" directory. I suggest that you should put ".thinkingrock" directory on the same directory as TR app. Just for convenience.

    So, you should write:

    Code:
    default_mac_userdir="/Volumes/USBJV/THINKING ROCK/.thinkingrock/tr-2.0.1"


    Notice that I have changed "${HOME}" for "/Volumes/USBJV/THINKING ROCK".


Now, I have discovered that TR doesn't preserve my preferences. They change in every computer I use. So I'm trying to carry my TR preferences with me on my useful USB. Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 31, 2008 11:09 pm 
Offline

Joined: Sun Jan 13, 2008 1:39 pm
Posts: 274
The preferences are stored in the file named ReviewActions.xml and this is stored in the same folder as your data-file. Your data-file can be found via the FileAs menu.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group