开发者

Are they any specific standards to keep the settings of an application for linux?

I'm planning on develop a java application to be cross platform. I find out that the settings of a mac application are usually kept in a file named info.plist. By looking for a similar file in my Ubuntu box I found that my applications create hidden folders in the home di开发者_如何学Pythonrectory. Is that the only standard?


Thats what they usually do (Dot.NameOfYourApplication).

In case your application uses a certain toolkit/desktop/framework, there maybe some specific location where such information is usually stored.


There is an effort by the (largely ignored, unfortunately) freedesktop.org group to standardize this across Linux desktops:

http://www.freedesktop.org/wiki/Specifications/config-spec

The references on that page, especially at the bottom, should give you some idea of the mess of this landscape.

Also that page is several years old, I believe. Don't hold your breath.


Basically, yes. Desktop environments have their own systems (gconf, Kconfig) and then there are various libraries for managing configuration. Elektra tries to be the ultimate solution, though I have not seen it to be used in practice.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜