[Sugar-devel] Documents folder in sugar-build

2013-03-26 Thread Gonzalo Odiard
After install sugar-build, I can't see my Documents folder in the journal, and this issue produce other problems in palettes and different places. While some issues are solved, not having access to Documents folder difficult tests, and is a important regression. The first time I saw that, was when

Re: [Sugar-devel] Documents folder in sugar-build

2013-03-26 Thread Gonzalo Odiard
Replying to my own mail: if I do outside of sugar-build: [gonzalo@localhost sugar-build]$ xdg-user-dir DOCUMENTS /home/gonzalo/Documentos but if I run sughar-buildd make run, and in the sugar terminal do the same [gonzalo@localhost]$ xdg-user-dir DOCUMENTS /home/gonzalo The solution is copy:

Re: [Sugar-devel] Documents folder in sugar-build

2013-03-26 Thread Daniel Narvaez
On 26 March 2013 16:33, Gonzalo Odiard gonz...@laptop.org wrote: Daniel, If you can solve this issue in sugar-build better, if not should be good have this documented. Hi, it's a sugar bug and I think it should be fixed in sugar. See http://bugs.sugarlabs.org/ticket/4396

Re: [Sugar-devel] Documents folder in sugar-build

2013-03-26 Thread Gonzalo Odiard
I don't think so. The problem is sugar-build is looking at the file user-dirs.dirs in $HOME/ sugar-build/state/home/default/config/ instead of using the file from $HOME/.config/ Gonzalo On Tue, Mar 26, 2013 at 12:40 PM, Daniel Narvaez dwnarv...@gmail.comwrote: On 26 March 2013 16:33, Gonzalo

Re: [Sugar-devel] Documents folder in sugar-build

2013-03-26 Thread Daniel Narvaez
It's looking inside the path pointed by the XDG_CONFIG_HOME environement variable, which can be set to any path. Running xdg-user-dirs-update at startup is necessary to ensure that user-dirs.dirs is created inside XDG_CONFIG_HOME, whatever that is. See the spec

Re: [Sugar-devel] Documents folder in sugar-build

2013-03-26 Thread Gonzalo Odiard
Then you say we should run xdg-user-dirs-update at start up of every sugar session, right? Can be a solution, but if possible, I prefer avoid it, sugar start up is already slow, adding more stuff, not needed in the 99% of the cases is not a good idea. Can we run xdg-users-dirs in sugar-build?

Re: [Sugar-devel] Documents folder in sugar-build

2013-03-26 Thread Daniel Narvaez
On 26 March 2013 18:51, Gonzalo Odiard gonz...@laptop.org wrote: Then you say we should run xdg-user-dirs-update at start up of every sugar session, right? Can be a solution, but if possible, I prefer avoid it, sugar start up is already slow, adding more stuff, not needed in the 99% of the

Re: [Sugar-devel] Documents folder in sugar-build

2013-03-26 Thread Daniel Narvaez
Pushed a fix in sugar-runner. On 26 March 2013 20:32, Daniel Narvaez dwnarv...@gmail.com wrote: On 26 March 2013 18:51, Gonzalo Odiard gonz...@laptop.org wrote: Then you say we should run xdg-user-dirs-update at start up of every sugar session, right? Can be a solution, but if possible, I

Re: [Sugar-devel] Documents folder in sugar-build

2013-03-26 Thread Gonzalo Odiard
Thanks! Gonzalo On Tue, Mar 26, 2013 at 4:41 PM, Daniel Narvaez dwnarv...@gmail.com wrote: Pushed a fix in sugar-runner. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel