Concerning the default directories... I think you should use the XDG_ variables to determine the actual directories, these are usually specified in user-dirs.dirs:
pim@chaos ~ $ cat .config/user-dirs.dirs
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME"
XDG_DOWNLOAD_DIR="$HOME/downloads"
XDG_TEMPLATES_DIR="$HOME"
XDG_PUBLICSHARE_DIR="$HOME"
XDG_DOCUMENTS_DIR="$HOME"
XDG_MUSIC_DIR="$HOME/audio"
XDG_PICTURES_DIR="$HOME/pictures"
XDG_VIDEOS_DIR="$HOME/videos"
To test I add the files listed by pantheon-files. I now get the following output:
pim@chaos ~ $ pantheon-files
[_LOG_LEVEL_INFO 22:58:31.275010] Application.vala:153: Files version: 0.2.0
[_LOG_LEVEL_INFO 22:58:31.275099] Application.vala:155: Kernel version: 3.18.0-gentoo
[_LOG_LEVEL_INFO 22:58:31.475058] Application.vala:84: Report any issues/bugs you might find to http://bugs.launchpad.net/pantheon-files
[_LOG_LEVEL_INFO 22:58:31.874597] gof-callwhenready.vala:79: call when ready OK - empty list
[_LOG_LEVEL_FATAL 22:58:31.953428] [GLib] g_variant_ref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 22:58:31.953585] Files will not function properly.
[_LOG_LEVEL_FATAL 22:58:31.958485] [GLib] g_variant_unref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 22:58:31.958549] Files will not function properly.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Terminated
Concerning the default directories... I think you should use the XDG_ variables to determine the actual directories, these are usually specified in user-dirs.dirs: user-dirs. dirs dirs-update DIR="$HOME/ yyy", where yyy is a shell-escaped DIR="$HOME" DIR="$HOME/ downloads" DIR="$HOME" _DIR="$ HOME" DIR="$HOME" DIR="$HOME/ audio" DIR="$HOME/ pictures" DIR="$HOME/ videos"
pim@chaos ~ $ cat .config/
# This file is written by xdg-user-
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_
XDG_DOWNLOAD_
XDG_TEMPLATES_
XDG_PUBLICSHARE
XDG_DOCUMENTS_
XDG_MUSIC_
XDG_PICTURES_
XDG_VIDEOS_
To test I add the files listed by pantheon-files. I now get the following output:
pim@chaos ~ $ pantheon-files vala:153: Files version: 0.2.0 vala:155: Kernel version: 3.18.0-gentoo vala:84: Report any issues/bugs you might find to http:// bugs.launchpad. net/pantheon- files dy.vala: 79: call when ready OK - empty list connection_ real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
[_LOG_LEVEL_INFO 22:58:31.275010] Application.
[_LOG_LEVEL_INFO 22:58:31.275099] Application.
[_LOG_LEVEL_INFO 22:58:31.475058] Application.
[_LOG_LEVEL_INFO 22:58:31.874597] gof-callwhenrea
[_LOG_LEVEL_FATAL 22:58:31.953428] [GLib] g_variant_ref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 22:58:31.953585] Files will not function properly.
[_LOG_LEVEL_FATAL 22:58:31.958485] [GLib] g_variant_unref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 22:58:31.958549] Files will not function properly.
g_dbus_
Terminated