On Tue, Jan 6, 2009 at 11:51 PM, Jeff <web.kiddo@free.fr> wrote:

Yep, but default is ~/.config . It's in the doc you linked to -> http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
But the doc explicitely mentions variables, such as $XDG_CONFIG_HOME, from what I understood (correct me if I'm mistaken?). When they are present, it would be better to use them, I think.

You may want to look at http://bazaar.launchpad.net/%7Ekiddo/specto/specto-jeff/annotate/head%3A/spectlib/util.py between lines 68 and line 88 for an example of exactly that; it uses the XDG environment variables if they are available, otherwise fallback to hardcoded .config or .cache paths.


Yeah you're right, we should check it. There's also the pyxdg lib which might come in hande here. In the mean time if you wanna set the startup size you can do it yourself on line 239 in mainwindow.py, or use the following sed command:
sed -i 's|min_height=480)|min_height=480)\n        self.set_default_size(1680, 1000)|' /usr/lib/pitivi/python/pitivi/ui/mainwindow.py

It only works once! After that you have to open up the file and change it manually.

Greets Jens