Public bug reported: In theory I should be able to set xdg-user-dirs DESKTOP=Documents/Desktop which happens to be how Windows stores it's desktop files. Then mount (I use pam_mount) Documents as a smb share. This works about half of the time, assumably a race condition between mounting the share and setting xgd user dirs. Half the time Desktop defaults to Home instead of where it was set to.
I've come up with a terrible work around on my blog. http://davidmburke.com/2012/05/10/settings-desktop-to-be- documentsdesktop/ The work around involves running xdg-user-dirs and restarting nautilus a few seconds after the user logs in. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: xdg-user-dirs 0.14-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14 Uname: Linux 3.2.0-24-generic-pae i686 NonfreeKernelModules: wl ApportVersion: 2.0.1-0ubuntu7 Architecture: i386 Date: Thu May 10 17:06:16 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423) ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: xdg-user-dirs UpgradeStatus: No upgrade log present (probably fresh install) mtime.conffile..etc.xdg.user.dirs.defaults: 2012-05-10T15:43:31.187085 ** Affects: xdg-user-dirs (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997804 Title: xdg-user-dirs doesn't work reliably with mount points To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xdg-user-dirs/+bug/997804/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
