Results 1 to 5 of 5

Thread: can I share AMSN profile between Ubuntu and Windows?

  1. #1
    Join Date
    Apr 2006
    Beans
    271

    can I share AMSN profile between Ubuntu and Windows?

    I'd like to have AMSN profile in the same place for both Windows XP and Ubuntu, like it's possible with mozilla apps. I already have the FAT32 partition for those.
    On Windows, I couldn't find the conf file to change the profile's location.

  2. #2
    Join Date
    Jul 2006
    Location
    Karuna OS User
    Beans
    373
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: can I share AMSN profile between Ubuntu and Windows?

    yep, that should work fine.

    /home/you/.amsn or /usr/share/amsn on linux
    /program files/amsn on windows
    My Website

    Download my new album for free here:
    http://www.mininova.org/tor/2966690

  3. #3
    Join Date
    Apr 2006
    Beans
    271

    Re: can I share AMSN profile between Ubuntu and Windows?

    Quote Originally Posted by jclmusic View Post
    yep, that should work fine.

    /home/you/.amsn or /usr/share/amsn on linux
    /program files/amsn on windows
    "

    OK, thank you. I guess I can take my profile and copy it where I want to?
    But where is the place where I tell AMSN that "the profile is now on /media/fat32 ... (Ubuntu)
    or on G:/.... (Windows)

  4. #4
    Join Date
    Sep 2006
    Location
    Portugal
    Beans
    68
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: can I share AMSN profile between Ubuntu and Windows?

    I would also like to know how to do that.
    Acer 5101 - AMD Turion64 MK36 2.0GHz - ATI Radeon Xpress 1100 128MB - 1.36GB DDR2 - 60 GB HDD - Atheros AR5BMB5 802.11b/g wireless LAN
    Xubuntu 11.10 64-bit - kernel 3.0.0-12-generic - Xfce 4.8 - Firefox 7.0.1

  5. #5
    Join Date
    Sep 2006
    Location
    Cornwall, UK
    Beans
    33
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: can I share AMSN profile between Ubuntu and Windows?

    I have discovered how to do it!

    Basically, open the file "C:\Program Files\aMSN\scripts\amsn" and copy what has been done below:

    Replace "Z:" with the name of the drive containing your ubuntu msn profiles, and replace "daniel" with your own username.
    ################################################## ##########
    ### Setup other important directory paths
    ### depending on the platform
    ################################################## ##########

    if { [OnDarwin] } {
    set HOME "[file join $env(HOME) Library/Application\ Support/amsn]"
    } elseif { [OnUnix] } {
    set HOME "[file join $env(HOME) .amsn]"
    } elseif { [OnWin] } {
    if {[info exists env(USERPROFILE)]} {
    set HOME "[file join Z: daniel .amsn]"
    } else {
    set HOME "[file join [pwd] amsn_config]"
    }
    } else {
    set HOME "[file join [pwd] amsn_config]"
    }
    set HOME2 $HOME
    At this stage, if you try and run amsn in windows, it wont log on due to missing tls.

    to overcome this problem, in the same file, change it to:

    ################################################## ##########
    ### And setup where to find optional packages
    ################################################## ##########

    proc lprepend {varName args} {
    upvar $varName var
    set var [eval [list linsert $var 0] $args]
    }

    lprepend auto_path [file join C: "Program Files" aMSN lib]
    #Specific folder to check for package on platforms
    if { [OnDarwin] } {
    lprepend auto_path [file join utils macosx]
    } elseif { [OnWin] } {
    lprepend auto_path [file join utils windows]
    } elseif { [OnLinux] } {
    lprepend auto_path [file join utils linux]
    } elseif { [OnBSD] } {
    lprepend auto_path [file join utils linux]
    }
    lprepend auto_path [file join utils]

    set libtls ""

    catch { source [file join $HOME tlsconfig.tcl] }

    if { $libtls != "" && [lsearch $auto_path $libtls] == -1 } {
    lprepend auto_path $libtls
    }
    Hope this helps!
    Last edited by Kwunman; January 27th, 2008 at 04:38 PM. Reason: Answer found!

Bookmarks

Posting Permissions

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