Re: [Mono-list] Right application data folder
Thank you very much. Here I'll do. Jose Salvador. Michael Hutchinson escribió: 2010/9/14 José A. Salvador Vanaclocha joans...@gmail.com: Hi all, I am wondering what is the right place (folder) to store the application data The goal is to use the Environment.GetFolderPath(... facility in order to get good crossplatform behavior, however, if I use Environment.SpecialDolder.ApplicationData, in my Debian system, the folder is .config. I dont know if it is the best place when the most linux's applications store their application data files in a folder begining with .application_name. What is the best way to choose the right application data folder? ~/.config is the correct folder for modern apps that follow the XDG spec. You should use a subdirectory in that folder for your app's data, e.g. var appDataDir = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData), applicationName); ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Right application data folder
Thank you very much for your detailed response. I think I have all the info I need to get a right implementation. PS - Be quiet, your english is much better than mine. ;-) Greats. Jose Salvador. LordPhoenix escribió: according to freedesktop.org specification you must use $HOME/.config/applicatio_name folder to save option and user configuration files. and $HOME/.local/share/application_name folder to save data files. To get .config dir use specialfolder.ApplicationData and for .local/share use specialfolder.LocalApplicationData. PS : Sorry for my bad English I don't speak it very often. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Right application data folder
Hi all, I am wondering what is the right place (folder) to store the application data The goal is to use the Environment.GetFolderPath(... facility in order to get good crossplatform behavior, however, if I use Environment.SpecialDolder.ApplicationData, in my Debian system, the folder is .config. I dont know if it is the best place when the most linux's applications store their application data files in a folder begining with .application_name. What is the best way to choose the right application data folder? Greats. Jose Salvador. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Right application data folder
2010/9/14 José A. Salvador Vanaclocha joans...@gmail.com: Hi all, I am wondering what is the right place (folder) to store the application data The goal is to use the Environment.GetFolderPath(... facility in order to get good crossplatform behavior, however, if I use Environment.SpecialDolder.ApplicationData, in my Debian system, the folder is .config. I dont know if it is the best place when the most linux's applications store their application data files in a folder begining with .application_name. What is the best way to choose the right application data folder? ~/.config is the correct folder for modern apps that follow the XDG spec. You should use a subdirectory in that folder for your app's data, e.g. var appDataDir = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData), applicationName); -- Michael Hutchinson http://mjhutchinson.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list