Go Back   Scooter Forums > Beyond Compare 3 Discussion > General Discussion
Register FAQ Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 23-Mar-2013, 09:48 AM
zw963 zw963 is offline
Join Date: Apr 2012
Posts: 77
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.
Reply With Quote
Old 25-Mar-2013, 09:30 AM
Craig Craig is offline
Team Scooter
Join Date: Oct 2007
Location: Madison, WI
Posts: 2,326

$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
Reply With Quote
Old 01-Apr-2013, 06:16 AM
zw963 zw963 is offline
Join Date: Apr 2012
Posts: 77

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -6. The time now is 08:21 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.