Results 1 to 4 of 4

Thread: Ubuntu Save Path

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    4

    Default Ubuntu Save Path

    I use both Windows and Ubuntu. When I run Mafia in Ubuntu it creates a .kolmafia folder in my home directory and saves everything, but when I am on windows it creates all the folders in the subdirectory that I am running the Jar from.

    I am using dropbox to sync between computers and currently have to save the .kolmafia stuff to the dropbox after I am done to keep everything.

    Does any body know of a way to change where mafia saves everything or to pipe output to a different place in ubuntu?

  2. #2
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,860

    Default

    I *think* you can change the directory mafia "starts in" by passing a value in the user.dir property, like this:

    java -Duser.dir=/whatever/full/path/kolmafia -jar kolmafia-9999.jar


    Other than that, symlinks are your friends.

  3. #3

  4. #4
    Junior Member
    Join Date
    Oct 2009
    Posts
    4

    Default

    If I understand the 'useCWDasROOT' option correctly I would have to set that every time I update mafia.

    I went with a symbolic link instead. Easy way of doing that was to first copy the mafia data from the .kolmafia folder to the desired folder in Dropbox.
    Then select my dropbox/KOLMafia folder and go to Edit -> Make link. This creates a symbolic link in the directory.
    Then I dragged this my home folder and renamed it to .kolmafia. Now when every anything on my systems accesses the .kolmafia it is taken to my dropbox folder

Similar Threads

  1. Mafia, Dropbox and Ubuntu
    By Lxndr in forum Community Support
    Replies: 36
    Last Post: 10-21-2013, 03:02 PM
  2. Ubuntu/Java issues
    By neffoff in forum Community Support
    Replies: 2
    Last Post: 05-08-2011, 04:34 AM
  3. Installing mafia on Ubuntu
    By masterZ in forum Community Support
    Replies: 31
    Last Post: 02-07-2010, 03:18 PM
  4. KoLMafia-Ubuntu Help
    By Hypgnosis in forum Community Support
    Replies: 2
    Last Post: 12-26-2009, 09:25 PM
  5. .Jar in Ubuntu Problem..
    By codster62 in forum Unofficial Builds
    Replies: 14
    Last Post: 10-12-2009, 12:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •