[14:35] ello folks, is there any tutorial how to integrate my c++/qt app into unity/gnome? (Desktop application) [17:09] hallo [17:11] so my app needs to create a database, say using sqlite, therefore it has to create a folder somewhere, like .appname inside the current user's home directory. Is there a canonical way of achieving this target (at least in python)? [18:04] Phoenix87: http://ubuntuforums.org/showthread.php?t=1692936&s=cec8ebd4901be0135d2bbfefc4b92bac&p=10483071#post10483071 works for Ubuntu. [18:04] cross platform, there isn't anything as far as I know. [18:05] commandoline, cheers! I presume the database should be stored in the data diractory? [18:06] config I'd say. Data is for, say, some image icons as far as I know. [18:06] hmm [18:06] even if the db is not intended for app configuration? [18:07] in my case the db is to hold data about some documents in local folders [18:08] Seems like you're right. Based on: http://ploum.net/post/207-modify-your-application-to-use-xdg-folders [18:10] commandoline, thank you very much! :D [20:36] Phoenix87: I suggest you use a subdirectory under XDG_DATA_HOME [20:38] also, use an existing (and preferably often-used) library/module to find that directory, to make sure your application follows the spec correctly [20:41] Phoenix87: also, does that database contain information that is also included in those documents (so that it can be regenerated from the documents) or is it additional information? [22:08] JanC, thank you! I think I managed to solve this by following commandoline suggestion of using the xdg python library. And of course I'm using xdg_data_home :). As for the info in the database, it is extra info coming from the internet, so I really need to store that for future use. [22:12] if your application is based on a framework like Gtk or Qt, those probable also have some functions to find those dirs, but I assume the framework-independent Python library should work as well [22:14] hey, do you know if commercial applications submitted to the ubuntu software center can have their price changed at will? and description… and if the updates need to be validated by canonical? [22:15] (just wondering if I’ll be able to submit an update + price change and this be taken into account quickly) [22:15] good question... (I don't know the answer) [22:17] I think changes to the description would require re-packaging? [22:18] hm I don’t know [22:18] depends on where the USC pulls its descriptions from [22:19] I’ll be submitting as a .tar.gz, so someone will indeed have to convert it to .deb anyway… [22:20] I suppose it's something that could be done to make things easier for app developers [22:21] certainly, changing the price shouldn't hurt [22:22] I thought of something crazy like starting at $1 and increasing the price every day … ;) [22:22] not sure of which price to choose for my game. [22:22] allowing to change the description might have certain security implications [22:23] (ok, $2.99 is the minimum price) [22:25] well, it could be useful to have a Christmas sale (or more appropriate this time of year: an Easter sale) or something like that too [22:25] yeah