Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2012
    Posts
    79

    Default Why XDG_CONFIG_HOME can not suppoted in Windows...

    it seem not worked in windows.

    when I setting this environment variable, it still create config
    file in my windows home.

    But I hope it can setting in D:\Dropbox\.xdg, So I can sync my config
    with my linux system.
    Last edited by zw963; 23-Mar-2013 at 09:51 AM.

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    2,348

    Default

    $XDG_CONFIG_HOME is a Linux standard. We don't have any plans to support it on other platforms.

    It is possible to configure where BC for Windows stores its settings files with a registry key, but the settings files are not designed to be cross platform. None of your sessions will work: the paths will have to be different, and the path delimiters ('\' vs '/') are different, which BC for Windows handles automatically, but BC for Linux does not. We also ship different file formats for the two platforms, and file formats for the "wrong" platform will be stripped out automatically.

    If you still want to do it, you can create a string value named "SettingsPath" at "HKEY_CURRENT_USER\Software\Scooter Software". The most compatible way would probably be to have them sync to different locations, and modify BC for Linux's launcher script to copy the subset of the settings files that you need between the two locations.
    Craig P Scooter Software

  3. #3
    Join Date
    Apr 2012
    Posts
    79

    Default

    Thanks.

Posting Permissions

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